bastimeyer
changed the title
plugins.atretv: simplify the list of streams returned
plugins.artetv: simplify the list of streams returned
beardypig
changed the title
plugins.artetv: simplify the list of streams returned
plugins.artetv: only pick the first variant of the stream
| 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)) |