start exec_recorder job
This commit is contained in:
parent
c57d8e5c7e
commit
f6d4806ef6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ async def rec(ctx):
|
||||||
# Check if the recorder job already exists
|
# Check if the recorder job already exists
|
||||||
if scheduler.get_job('recorder') is None:
|
if scheduler.get_job('recorder') is None:
|
||||||
await ctx.channel.send(f'Recording from {stream_name} (prio={stream_prio})')
|
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:
|
else:
|
||||||
await ctx.channel.send(f'Recorder is busy!')
|
await ctx.channel.send(f'Recorder is busy!')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue