1
0
Fork 0

Minor bugfixes

* `__real_download` should be false when ffmpeg unavailable and no download
* Mistakes in #70
* `allow_playlist_files` was not correctly pass through
This commit is contained in:
pukkandan 2021-02-12 10:10:31 +05:30
commit 1ea2412927
4 changed files with 8 additions and 5 deletions

View file

@ -482,7 +482,7 @@ class BrightcoveNewIE(AdobePassIE):
if not self._downloader.params.get('allow_unplayable_formats') and (container == 'WVM' or source.get('key_systems')):
num_drm_sources += 1
continue
elif ext == 'ism' and self._downloader.params.get('allow_unplayable_formats'):
elif ext == 'ism' and not self._downloader.params.get('allow_unplayable_formats'):
continue
elif ext == 'm3u8' or container == 'M2TS':
if not src:

View file

@ -125,7 +125,7 @@ class RTBFIE(InfoExtractor):
})
mpd_url = data.get('urlDash')
if (not self._downloader.params.get('allow_unplayable_formats') and not data.get('drm')) and mpd_url:
if mpd_url and (self._downloader.params.get('allow_unplayable_formats') or not data.get('drm')):
formats.extend(self._extract_mpd_formats(
mpd_url, media_id, mpd_id='dash', fatal=False))