コード例 #1
0
ファイル: addon.py プロジェクト: spicemasters/chartdata
def play_episode(url):
    streams, subtitles = swefilm.get_movie_stream_from_player(url)
    if len(streams) == 0:
        raise Exception("Failed to open stream")
    stream = quality_select_dialog(streams)
    plugin.set_resolved_url(stream, subtitles[0] if len(subtitles) else None)
コード例 #2
0
ファイル: addon.py プロジェクト: HalowTV/kodi-swefilm
def play_episode(url):
    streams = swefilm.get_movie_stream_from_player(url)
    stream = quality_select_dialog(streams)
    plugin.set_resolved_url(stream)
コード例 #3
0
ファイル: addon.py プロジェクト: sabrysingery/HalowTV
def play_episode(url):
    streams = swefilm.get_movie_stream_from_player(url)
    stream = quality_select_dialog(streams)
    plugin.set_resolved_url(stream)