mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
69 lines
1.8 KiB
PHP
69 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program (see LICENSE.txt in the base directory. If
|
|
* not, see:
|
|
*
|
|
* @link <http://www.gnu.org/licenses/>.
|
|
* @author niel
|
|
* @copyright 2015 nZEDb
|
|
*/
|
|
require_once '../../newznab/processing/tv/TV.php';
|
|
|
|
use newznab\processing\tv\TV;
|
|
|
|
class smartyTV extends TV
|
|
{
|
|
protected function getBanner($videoID, $siteId)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Retrieve info of TV episode from site using its API.
|
|
*
|
|
* @param integer $siteId
|
|
* @param integer $series
|
|
* @param integer $episode
|
|
*
|
|
* @return array|false False on failure, an array of information fields otherwise.
|
|
*/
|
|
protected function getEpisodeInfo($siteId, $series, $episode)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Retrieve poster image for TV episode from site using its API.
|
|
*
|
|
* @param integer $videoId ID from videos table.
|
|
* @param integer $siteId ID that this site uses for the programme.
|
|
*
|
|
* @return null
|
|
*/
|
|
protected function getPoster($videoId, $siteId)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Retrieve info of TV programme from site using it's API.
|
|
*
|
|
* @param string $name Title of programme to look up. Usually a cleaned up version from releases table.
|
|
*
|
|
* @return array|false False on failure, an array of information fields otherwise.
|
|
*/
|
|
protected function getShowInfo($name)
|
|
{
|
|
}
|
|
}
|
|
|
|
?>
|