1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-14 21:45:15 +00:00

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
parent 63ad4d43eb
commit 1ea2412927
4 changed files with 8 additions and 5 deletions

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))