playlist fetch fallback

This commit is contained in:
Ayush Saini 2024-02-25 16:27:14 +05:30
parent 2a93775d77
commit 371d4b1f94

View file

@ -319,9 +319,11 @@ class ServerController:
) -> None: ) -> None:
if result is None: if result is None:
print('Error fetching playlist; aborting.') print('Error fetching playlist; aborting.')
import _ba print('Falling back to use default playlist')
_ba.quit() self._config.session_type = 'teams'
self._prep_timer = None
_ba.pushcall(self._launch_server_session)
return
# Once we get here, simply modify our config to use this playlist. # Once we get here, simply modify our config to use this playlist.
typename = ( typename = (
'teams' 'teams'