Merge pull request #355 from nodew/fix-auto-start

Fix the behavior when auto-start option is not explicitly passed
This commit is contained in:
Alex
2023-12-13 15:22:11 +02:00
committed by GitHub

View File

@@ -120,6 +120,8 @@ async def add(request):
auto_start = post.get('auto_start')
if custom_name_prefix is None:
custom_name_prefix = ''
if auto_start is None:
auto_start = True
status = await dqueue.add(url, quality, format, folder, custom_name_prefix, auto_start)
return web.Response(text=serializer.encode(status))