Hi, is there a way to get the session.connection status from .backend?
need to get the session.connection.status from mopidy_spotify -> SpotifyBackend and do something if logged in, logged out, etc. hope someone will understand my explanation. Thanks in advance.
p.s will send a mpd command to mopidy and if mopidy is not running, run mopidy. and I need a signal that mopidy is now ready to receive mpd commands after the ‘logged in to Spotify in online mode’
Mopidy is a daemon designed to always be running so this use case isn’t supported. You could hack it up to wait for that log message to appear In the log file. Or use some other piece of software designed for what you are trying to do.