Force music.mpd plugin reload when the mpd backend fails to get the state
This commit is contained in:
parent
bb8a21ed13
commit
3587fa7cb4
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class MusicMpdBackend(Backend):
|
|||
success = True
|
||||
except Exception as e:
|
||||
self.logger.debug(e)
|
||||
get_plugin('music.mpd', reload=True)
|
||||
if not state: state = last_state
|
||||
if not playlist: playlist = last_playlist
|
||||
if not track: track = last_track
|
||||
|
|
Loading…
Reference in a new issue