mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-23 08:03:32 +02:00
Error "Radio doesn\'t have more candidates" auto close radio generator
This commit is contained in:
parent
5f08977faa
commit
522a6e36b8
1 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,8 @@ def radio_get_track(radio_session_id):
|
|||
return
|
||||
if isinstance(radio_context, str):
|
||||
logger.error(radio_context)
|
||||
if radio_context == "Radio doesn't have more candidates":
|
||||
radio_event_gen.clear()
|
||||
return
|
||||
if radio_context.get('error'):
|
||||
logger.error(radio_context.get('error'))
|
||||
|
|
Loading…
Reference in a new issue