Merge pull request #1347 from tpikonen/ytdl-no-audio-video-files
Don't try to download media files with youtube-dl extension
This commit is contained in:
commit
c8e4f20506
|
@ -426,6 +426,8 @@ class gPodderYoutubeDL(download.CustomDownloader):
|
|||
"""
|
||||
if not self.force and not self.my_config.manage_downloads:
|
||||
return None
|
||||
if episode.mime_type.startswith(('audio/', 'video/')):
|
||||
return None
|
||||
if self.is_supported_url(episode.url):
|
||||
return YoutubeCustomDownload(self, episode.url, episode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue