コード例 #1
0
    from modules.sources import sources
    sources().play(name, title, year, imdb, tvdb, season, episode, show,
                   show_alt, date, genre, url)

elif action == 'addPlayableItem':
    from modules.sources import sources
    sources().addPlayableItem(name, title, year, imdb, tvdb, season, episode,
                              show, show_alt, date, genre, meta)

elif action == 'playItem':
    from modules.sources import sources
    sources().playItem(content, name, imdb, tvdb, url, source, provider)

elif action == 'favourite_movie_add':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('Movie', imdb, name, year, image, refresh=True)

elif action == 'favourite_movie_from_search':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('Movie', imdb, name, year, image)

elif action == 'favourite_tv_add':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('TV Show',
                                imdb,
                                name,
                                year,
                                image,
                                refresh=True)

elif action == 'favourite_tv_from_search':
コード例 #2
0
elif action == 'cache_clear_list':
    from modules.v4 import index
    index().cache_clear_list()

elif action == 'cache_clear_src':
    from modules.v4 import index
    index().cache_clear_src()

elif action == 'container_refresh':
    from modules.v4 import index
    index().container_refresh()

elif action == 'item_queue':
    from modules.v4 import contextMenu
    contextMenu().item_queue()

elif action == 'view_movies':
    from modules.v4 import contextMenu
    contextMenu().view('movies')

elif action == 'view_tvshows':
    from modules.v4 import contextMenu
    contextMenu().view('tvshows')

elif action == 'view_seasons':
    from modules.v4 import contextMenu
    contextMenu().view('seasons')

elif action == 'view_episodes':
    from modules.v4 import contextMenu
コード例 #3
0
ファイル: default.py プロジェクト: ooXei1sh/lambda-addons
elif action == 'cache_clear_list':
    from modules.v4 import index
    index().cache_clear_list()

elif action == 'cache_clear_src':
    from modules.v4 import index
    index().cache_clear_src()

elif action == 'container_refresh':
    from modules.v4 import index
    index().container_refresh()

elif action == 'item_queue':
    from modules.v4 import contextMenu
    contextMenu().item_queue()

elif action == 'view_movies':
    from modules.v4 import contextMenu
    contextMenu().view('movies')

elif action == 'view_tvshows':
    from modules.v4 import contextMenu
    contextMenu().view('tvshows')

elif action == 'view_seasons':
    from modules.v4 import contextMenu
    contextMenu().view('seasons')

elif action == 'view_episodes':
    from modules.v4 import contextMenu
コード例 #4
0
    sources().play(name, title, year, imdb, tvdb, season, episode, show, show_alt, date, genre, url)

elif action == 'addPlayableItem':
    from modules.sources import sources
    sources().addPlayableItem(name, title, year, imdb, tvdb, season, episode, show, show_alt, date, genre, meta)

elif action == 'playItem':
    from modules.sources import sources
    sources().playItem(content, name, imdb, tvdb, url, source, provider)




elif action == 'favourite_movie_add':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('Movie', imdb, name, year, image, refresh=True)

elif action == 'favourite_movie_from_search':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('Movie', imdb, name, year, image)

elif action == 'favourite_tv_add':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('TV Show', imdb, name, year, image, refresh=True)

elif action == 'favourite_tv_from_search':
    from modules.v4 import contextMenu
    contextMenu().favourite_add('TV Show', imdb, name, year, image)

elif action == 'favourite_delete':
    from modules.v4 import contextMenu