update playlist suppot with "url_transparent" entry type

pull/10/head
ashnitman 2020-12-06 12:42:11 +02:00
parent a38185ca16
commit 07cc86c7d9
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class DownloadQueue:
if any(res['status'] == 'error' for res in results):
return {'status': 'error', 'msg': ', '.join(res['msg'] for res in results if res['status'] == 'error' and 'msg' in res)}
return {'status': 'ok'}
elif etype == 'video' or etype == 'url' and 'id' in entry:
elif etype == 'video' or etype.startswith('url') and 'id' in entry:
if entry['id'] not in self.queue:
dl = DownloadInfo(entry['id'], entry['title'], entry.get('webpage_url') or entry['url'])
self.queue[entry['id']] = Download(self.config.DOWNLOAD_DIR, quality, dl)