bastimeyer · GitHub

@beardypig

bastimeyer

@bastimeyer bastimeyer changed the title plugins.atretv: simplify the list of streams returned plugins.artetv: simplify the list of streams returned

Oct 7, 2020

@beardypig

@beardypig

@beardypig beardypig changed the title plugins.artetv: simplify the list of streams returned plugins.artetv: only pick the first variant of the stream

Oct 9, 2020

bastimeyer

@beardypig

back-to

@beardypig

back-to

def _create_stream(self, streams):
variant, variantname = min([(stream["versionProg"], stream["versionLibelle"]) for stream in streams.values()],
key=itemgetter(0))
log.debug("Using the '{0}' stream variant".format(variantname))

@beardypig

@beardypig

@back-to

resiproxy pushed a commit to resiproxy/streamlink that referenced this pull request

Nov 5, 2020

Read the original on github.com ↗