Example #1
0
def play_movie(url):
    streams, subtitles = swefilm.get_movie_streams(url)
    print streams
    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)
Example #2
0
def play_movie(url):
    streams = swefilm.get_movie_streams(url)
    stream = quality_select_dialog(streams)
    plugin.set_resolved_url(stream)
Example #3
0
def play_movie(url):
    streams = swefilm.get_movie_streams(url)
    stream = quality_select_dialog(streams)
    plugin.set_resolved_url(stream)