示例#1
0
elif action == 'refresh':
    from modules.libraries import control
    control.refresh()

elif action == 'queueItem':
    from modules.libraries import control
    control.queueItem()

elif action == 'openPlaylist':
    from modules.libraries import control
    control.openPlaylist()

elif action == 'openSettings':
    from modules.libraries import control
    control.openSettings()

elif action == 'generalSettings':
    from modules.libraries import control
    control.openSettings(c=0, f=0)

elif action == 'playbackSettings':
    from modules.libraries import control
    control.openSettings(c=1, f=0)

elif action == 'movieSettings':
    from modules.libraries import control
    control.openSettings(c=2, f=0)

elif action == 'tvSettings':
    from modules.libraries import control
示例#2
0
elif action == 'clearSearch':
    from modules.indexers import phstreams
    phstreams.clearSearch()

elif action == 'resolveUrl':
    from modules.indexers import phstreams
    phstreams.resolveUrl(name, url, audio, image, fanart, playable, content)

elif action == 'openDialog':
    from modules.libraries import phdialogs
    phdialogs.openDialog(url,audio)

elif action == 'openSettings':
    from modules.libraries import control
    control.openSettings()

elif action == 'addView':
    from modules.libraries import views
    views.addView(content)

elif action == 'downloader':
    from modules.libraries import downloader
    downloader.downloader()

elif action == 'addDownload':
    from modules.libraries import downloader
    downloader.addDownload(name,url,image)

elif action == 'removeDownload':
    from modules.libraries import downloader
示例#3
0
elif action == 'refresh':
    from modules.libraries import control
    control.refresh()

elif action == 'queueItem':
    from modules.libraries import control
    control.queueItem()

elif action == 'openPlaylist':
    from modules.libraries import control
    control.openPlaylist()

elif action == 'openSettings':
    from modules.libraries import control
    control.openSettings()

elif action == 'generalSettings':
    from modules.libraries import control
    control.openSettings(c=0, f=0)

elif action == 'playbackSettings':
    from modules.libraries import control
    control.openSettings(c=1, f=0)

elif action == 'movieSettings':
    from modules.libraries import control
    control.openSettings(c=2, f=0)

elif action == 'tvSettings':
    from modules.libraries import control