Beispiel #1
0
def seasons(series_name, series_id, thumb):
    xbmcplugin.setContent(plugin_handle, 'seasons')
    seasons = get.seasons_data(series_id)
    for season in seasons:
        add.season(season)
    xbmcplugin.addSortMethod(plugin_handle, xbmcplugin.SORT_METHOD_LABEL)
    xbmcplugin.endOfDirectory(plugin_handle)
Beispiel #2
0
def seasons(series_name, series_id, thumb):
    xbmcplugin.setContent(plugin_handle, 'seasons')
    seasons = get.seasons_data(series_id)
    for season in seasons:
        add.season(season)
    xbmcplugin.addSortMethod(plugin_handle, xbmcplugin.SORT_METHOD_LABEL)
    xbmcplugin.endOfDirectory(plugin_handle)
Beispiel #3
0
def seasons(series_name, series_id, thumb):
    seasons = []
    content = get.series_info(series_id)
    content = json.loads(content)['video']['seasons']
    for item in content:
        seasons.append((item['title'], item['seq']))
    for season in seasons:
        add.season(season[0], season[1], 'list_episodes', thumb, series_name, series_id)
    xbmcplugin.endOfDirectory(plugin_handle)
Beispiel #4
0
def seasons(series_name, series_id, thumb):
    seasons = []
    content = get.series_info(series_id)
    content = json.loads(content)['video']['seasons']
    for item in content:
        seasons.append((item['title'], item['seq']))
    for season in seasons:
        add.season(season[0], season[1], 'list_episodes', thumb, series_name,
                   series_id)
    xbmcplugin.endOfDirectory(plugin_handle)
def seasons(series_name, series_id, thumb):
    seasons = get.seasons_data(series_id)
    for season in seasons:
        title, sequence = season
        add.season(title, sequence, thumb, series_name, series_id)
    xbmcplugin.endOfDirectory(plugin_handle)
Beispiel #6
0
def seasons(series_name, series_id, thumb):
    seasons = get.seasons_data(series_id)
    for season in seasons:
        title, sequence = season
        add.season(title, sequence, thumb, series_name, series_id)
    xbmcplugin.endOfDirectory(plugin_handle)