Example #1
0
elif action == 'shows_imdb_watchlist':
    from modules.v4 import shows
    shows().imdb_watchlist()

elif action == 'shows_search':
    from modules.v4 import shows
    shows().search(query)

elif action == 'shows_favourites':
    from modules.v4 import shows
    shows().favourites()

elif action == 'seasons':
    from modules.v4 import seasons
    seasons().get(show, year, imdb, tvdb)

elif action == 'episodes':
    from modules.v4 import episodes
    episodes().get(show, year, imdb, tvdb, season)

elif action == 'episodes2':
    from modules.v4 import episodes
    episodes().get2(show, year, imdb, tvdb, season, episode)

elif action == 'episodes_calendar_1':
    from modules.v4 import episodes
    episodes().calendar(1)

elif action == 'episodes_calendar_2':
    from modules.v4 import episodes
def getSeasons(show):
    return seasons().get(show['title'], show['year'], show['imdb'], show['tvdb'])
Example #3
0
elif action == 'shows_imdb_watchlist':
    from modules.v4 import shows
    shows().imdb_watchlist()

elif action == 'shows_search':
    from modules.v4 import shows
    shows().search(query)

elif action == 'shows_favourites':
    from modules.v4 import shows
    shows().favourites()

elif action == 'seasons':
    from modules.v4 import seasons
    seasons().get(show, year, imdb, tvdb)

elif action == 'episodes':
    from modules.v4 import episodes
    episodes().get(show, year, imdb, tvdb, season)

elif action == 'episodes2':
    from modules.v4 import episodes
    episodes().get2(show, year, imdb, tvdb, season, episode)

elif action == 'episodes_calendar_1':
    from modules.v4 import episodes
    episodes().calendar(1)

elif action == 'episodes_calendar_2':
    from modules.v4 import episodes