fix url_transparent handling (closes #95)
This commit is contained in:
@@ -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}"'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user