hass-music-assistant: track info and queue out of sync with reality

What version of Music Assistant has the issue?

2022.8.1

The problem

I had started a spotify playlist using MA to target my Sonos speakers (which had been grouped in the Sonos app). After a while I checked MA and saw two things : = track display was showing the wrong song and progress indicator not showing any progress = queue itself had not been updated either At the time of screenshot the active song in reality was “Liberty of Action” … so not even close to the first one in the list. image

Error logs are devoid of any

How to reproduce

Unknown at this time.

I did have an automation start a set of playlists using the MA queue command :

`alias: Start muziek (weekend) sequence:

The playlist that caused the problem I had started in the MA webinterface by targetting one of my Sonos speakers.

Relevant log output

No relevent info found.

Additional information

The MA target “media_player.mass_all_sonos_speakers” is based on a HA group of Sonos speakers. The Sonos speakers themselves are also grouped within the Sonos app. As a result both groups are identical … but they do have their own queues in MA

What version of Home Assistant Core are your running

2022.8.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28 (11 by maintainers)

Most upvoted comments

The latest versions are only patches so please wait until the next full release and we will see what the situation is then

MA v2b4 :

  • fresh install
  • added spotify provider and let it sync the library
  • added smb provider

Playback with default settings has been good. Only two minor interrupts. During the second one the Symfonysk was playing while the Play:1 was silent, but it caught up.

I’m also seeing track progress and queue updates in sync.

Definitely looking good so far.

Like discussed in discord I need to build a small guard in the code to ignore “passive” speakers from the play action so in case you gave a group of grouped speakers, the play commands are only sent to the “leader” player.