mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-05 14:53:02 +00:00
Error "Radio doesn\'t have more candidates" auto close radio generator
This commit is contained in:
parent
5f08977faa
commit
522a6e36b8
@ -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 New Issue
Block a user