mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 22:59:19 +02: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
|
return
|
||||||
if isinstance(radio_context, str):
|
if isinstance(radio_context, str):
|
||||||
logger.error(radio_context)
|
logger.error(radio_context)
|
||||||
|
if radio_context == "Radio doesn't have more candidates":
|
||||||
|
radio_event_gen.clear()
|
||||||
return
|
return
|
||||||
if radio_context.get('error'):
|
if radio_context.get('error'):
|
||||||
logger.error(radio_context.get('error'))
|
logger.error(radio_context.get('error'))
|
||||||
|
|
Loading…
Reference in New Issue