From a2d5cd0b1b637e709196c59cb9a770b2c0bda364 Mon Sep 17 00:00:00 2001 From: Alex Shnitman Date: Wed, 22 Dec 2021 20:19:19 +0200 Subject: fix url_transparent handling (closes #95) --- app/ytdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/ytdl.py b/app/ytdl.py index e873d32..a5e60b7 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -172,7 +172,7 @@ class DownloadQueue: self.event.set() await self.notifier.added(dl) return {'status': 'ok'} - elif etype == 'url': + elif etype.startswith('url'): return await self.add(entry['url'], quality, format, already) return {'status': 'error', 'msg': f'Unsupported resource "{etype}"'} -- cgit