mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
Add art on Videos
Add videos support to Subsonic and UPnP APIs Update Tmdb module
This commit is contained in:
parent
3fc08b17d4
commit
d842ebbb00
246 changed files with 5530 additions and 2127 deletions
|
@ -20,7 +20,8 @@ use Tmdb\Model\Network;
|
|||
* @package Tmdb\Repository
|
||||
* @see http://docs.themoviedb.apiary.io/#networks
|
||||
*/
|
||||
class NetworkRepository extends AbstractRepository {
|
||||
class NetworkRepository extends AbstractRepository
|
||||
{
|
||||
/**
|
||||
* This method is used to retrieve the basic information about a TV network.
|
||||
*
|
||||
|
@ -28,11 +29,12 @@ class NetworkRepository extends AbstractRepository {
|
|||
* At this time we don't have much but this will be fleshed out over time.
|
||||
*
|
||||
* @param $id
|
||||
* @param array $parameters
|
||||
* @param array $headers
|
||||
* @param array $parameters
|
||||
* @param array $headers
|
||||
* @return Network
|
||||
*/
|
||||
public function load($id, array $parameters = array(), array $headers = array()) {
|
||||
public function load($id, array $parameters = array(), array $headers = array())
|
||||
{
|
||||
return $this->getFactory()->create(
|
||||
$this->getApi()->getNetwork($id, $parameters, $headers)
|
||||
);
|
||||
|
@ -55,4 +57,4 @@ class NetworkRepository extends AbstractRepository {
|
|||
{
|
||||
return new NetworkFactory();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue