youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 32aaeca775c03ce784b8a30ea987c03a25a00e98
parent 2ebfeacabc7b74d03fa7cb096d8b9d1ecbdbb6e4
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 11 Mar 2015 20:34:32 +0600

[npo] Improve smooth stream skipping and set low preference for streams other than hds ans hls (Closes #5175)

Diffstat:
Myoutube_dl/extractor/npo.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py @@ -219,7 +219,8 @@ class NPOLiveIE(NPOBaseIE): if streams: for stream in streams: stream_type = stream.get('type').lower() - if stream_type == 'ss': + # smooth streaming is not supported + if stream_type in ['ss', 'ms']: continue stream_info = self._download_json( 'http://ida.omroep.nl/aapi/?stream=%s&token=%s&type=jsonp' @@ -242,6 +243,7 @@ class NPOLiveIE(NPOBaseIE): else: formats.append({ 'url': stream_url, + 'preference': -10, }) self._sort_formats(formats)