start exec_recorder job

This commit is contained in:
deflax 2025-02-08 03:24:43 +02:00
parent c57d8e5c7e
commit f6d4806ef6

View file

@ -99,7 +99,7 @@ async def rec(ctx):
# Check if the recorder job already exists
if scheduler.get_job('recorder') is None:
await ctx.channel.send(f'Recording from {stream_name} (prio={stream_prio})')
scheduler.add_job(func=recorder, id='recorder', args=(playhead))
scheduler.add_job(func=exec_recorder, id='recorder', args=(playhead))
else:
await ctx.channel.send(f'Recorder is busy!')