Load playlist before status (close #72)
Load the playlist before loading the status for the idle event “changed” to make sure the playlist information is attached to the current album correctly.
This commit is contained in:
parent
83990c8796
commit
973d3dd921
|
@ -369,8 +369,8 @@ class Client(Base):
|
||||||
self._logger.info("idle subsystems: %r", subsystems)
|
self._logger.info("idle subsystems: %r", subsystems)
|
||||||
if subsystems:
|
if subsystems:
|
||||||
if subsystems['changed'] == 'player':
|
if subsystems['changed'] == 'player':
|
||||||
self.get_status()
|
|
||||||
self.load_playlist()
|
self.load_playlist()
|
||||||
|
self.get_status()
|
||||||
if subsystems['changed'] == 'mixer':
|
if subsystems['changed'] == 'mixer':
|
||||||
self.get_status()
|
self.get_status()
|
||||||
if subsystems['changed'] == 'playlist':
|
if subsystems['changed'] == 'playlist':
|
||||||
|
|
Loading…
Reference in a new issue