elif action == 'episodeFavourites': from resources.lib.indexers import episodes episodes.episodes().favourites() elif action == 'calendars': from resources.lib.indexers import episodes episodes.episodes().calendars() elif action == 'refresh': from resources.lib.libraries import control control.refresh() elif action == 'queueItem': from resources.lib.libraries import control control.queueItem() elif action == 'openPlaylist': from resources.lib.libraries import control control.openPlaylist() elif action == 'openSettings': from resources.lib.libraries import control control.openSettings(query) elif action == 'moviePlaycount': from resources.lib.libraries import playcount playcount.movies(title, year, imdb, query) elif action == 'episodePlaycount': from resources.lib.libraries import playcount
elif action == 'episodeFavourites': from resources.lib.indexers import episodes episodes.episodes().favourites() elif action == 'calendars': from resources.lib.indexers import episodes episodes.episodes().calendars() elif action == 'refresh': from resources.lib.libraries import control control.refresh() elif action == 'queueItem': from resources.lib.libraries import control control.queueItem() elif action == 'openPlaylist': from resources.lib.libraries import control control.openPlaylist() elif action == 'openSettings': from resources.lib.libraries import control control.openSettings(query) elif action == 'moviePlaycount': from resources.lib.libraries import playcount playcount.movies(title, year, imdb, query) elif action == 'episodePlaycount': from resources.lib.libraries import playcount