elif action == 'trailer' : trailer.trailer().play(name, url) elif action == 'traktManager': from resources.lib.modules import trakt trakt.manager(name, imdb, tvdb, content) elif action == 'authTrakt': from resources.lib.modules import trakt trakt.authTrakt() elif action == 'tvCertificates' : tvshows.tvshows().certifications() elif action == 'tvFavourites' : tvshows.tvshows().favourites() elif action == 'tvGenres' : tvshows.tvshows().genres() elif action == 'tvlist' : navigator.navigator().mytv() elif action == 'tvliteNavigator' : navigator.navigator().tvshows(lite=True) elif action == 'tvNavigator' : navigator.navigator().tvshows() elif action == 'tvNetworks' : tvshows.tvshows().networks() elif action == 'tvPerson' : tvshows.tvshows().person() elif action == 'tvPersons' : tvshows.tvshows().persons(url) elif action == 'tvPlaycount' : playcount.tvshows(name, imdb, tvdb, season, query) elif action == 'tvPlaycountShow' : playcount.marktvshows(name, imdb, tvdb, query) elif action == 'tvSearch' : tvshows.tvshows().search() elif action == 'tvshowPage' : tvshows.tvshows().get(url) elif action == 'tvshows' : tvshows.tvshows().get(url) elif action == 'tvshowstliteNavigator' : navigator.navigator().tvshowst(lite=True) elif action == 'tvshowstNavigator' : navigator.navigator().tvshowst() elif action == 'tvCollections' : navigator.navigator().tvCollections() elif action == 'kidstvCollections' : navigator.navigator().kidstvCollections() elif action == 'tvUserlists' : tvshows.tvshows().userlists() elif action == 'tvWidget' : episodes.episodes().widget() elif action == 'resolveurlsettings' : control.openSettings(query, id="script.module.resolveurl") elif action == 'universalscrapersettings' : control.openSettings(query, id="script.module.universalscrapers") elif action == 'viewsNavigator' : navigator.navigator().views()
elif action == 'tvlist': navigator.navigator().mytv() elif action == 'tvliteNavigator': navigator.navigator().tvshows(lite=True) elif action == 'tvNavigator': navigator.navigator().tvshows() elif action == 'tvNetworks': tvshows.tvshows().networks() elif action == 'tvPerson': tvshows.tvshows().person() elif action == 'tvPersons': tvshows.tvshows().persons(url) elif action == 'tvPlaycount': playcount.tvshows(name, imdb, tvdb, season, query) elif action == 'tvPlaycountShow': playcount.marktvshows(name, imdb, tvdb, query) elif action == 'tvSearch': tvshows.tvshows().search() elif action == 'tvshowPage': tvshows.tvshows().get(url) elif action == 'tvshows': tvshows.tvshows().get(url) elif action == 'tvshowstliteNavigator': navigator.navigator().tvshowst(lite=True) elif action == 'tvshowstNavigator': navigator.navigator().tvshowst() elif action == 'tvCollections': navigator.navigator().tvCollections() elif action == 'kidstvCollections': navigator.navigator().kidstvCollections() elif action == 'tvUserlists':
elif action == 'moviePlaycount': from resources.lib.modules import playcount playcount.movies(imdb, query) elif action == 'episodePlaycount': from resources.lib.modules import playcount playcount.episodes(imdb, tvdb, season, episode, query) elif action == 'tvPlaycount': from resources.lib.modules import playcount playcount.tvshows(name, imdb, tvdb, season, query) elif action == 'tvPlaycountShow': from resources.lib.modules import playcount playcount.marktvshows(name, imdb, tvdb, query) elif action == 'trailer': from resources.lib.modules import trailer trailer.trailer().play(name, url) elif action == 'traktManager': from resources.lib.modules import trakt trakt.manager(name, imdb, tvdb, content) elif action == 'authTrakt': from resources.lib.modules import trakt trakt.authTrakt() elif action == 'rdAuthorize': from resources.lib.modules import debrid