def search(data): return {"shows": shows().search(data), "movies": movies().search(data)}
from modules.v4 import contextMenu contextMenu().toggle_playback('movie', name, title, year, imdb, '', '', '', '', '', '', '') elif action == 'toggle_episode_playback': from modules.v4 import contextMenu contextMenu().toggle_playback('episode', name, title, year, imdb, tvdb, season, episode, show, show_alt, date, genre) elif action == 'service': from modules.v4 import contextMenu contextMenu().service() elif action == 'movies': from modules.v4 import movies movies().get(url) elif action == 'movies_userlist': from modules.v4 import movies movies().get(url) elif action == 'movies_popular': from modules.v4 import movies movies().popular() elif action == 'movies_boxoffice': from modules.v4 import movies movies().boxoffice() elif action == 'movies_views': from modules.v4 import movies
elif action == 'toggle_episode_playback': from modules.v4 import contextMenu contextMenu().toggle_playback('episode', name, title, year, imdb, tvdb, season, episode, show, show_alt, date, genre) elif action == 'download': from modules.v4 import contextMenu contextMenu().download(name, url, provider) elif action == 'service': from modules.v4 import contextMenu contextMenu().service() elif action == 'movies': from modules.v4 import movies movies().get(url) elif action == 'movies_userlist': from modules.v4 import movies movies().get(url) elif action == 'movies_popular': from modules.v4 import movies movies().popular() elif action == 'movies_boxoffice': from modules.v4 import movies movies().boxoffice() elif action == 'movies_views': from modules.v4 import movies