music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.39k stars 51 forks source link

Playlist tracks are not refreshing after new items added #2669

Closed alfedan closed 3 months ago

alfedan commented 3 months ago

What version of Music Assistant has the issue?

2.1.0

What version of the Home Assistant Integration have you got installed?

2024.7.1.b0

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

impossible to add tracks to a playlist with the home assistant version. Server log indicates the addition to the playlist is ok but the track is not present in the playlist.

How to reproduce

all time after update music assistant

Music Providers

local media and same witch Plex

Player Providers

home assistant

Full log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2024.7.3

What type of installation are you running?

Home Assistant Core

On what type of hardware are you running?

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

OzGav commented 3 months ago

Some times it takes a little time to appear. Have you rechecked? Have you pressed the refresh icon in the MA menu bar for the playlist view?

OzGav commented 3 months ago

I just tried this and it worked fine

robin-hg commented 3 months ago

I am also experiencing this issue. I've tried adding an album and individual tracks from Jellyfin to a newly created playlist in MA. I've also tried adding a track from Youtube Music. Logs display 'Adding X to playlist Y' for each track but they are not present when viewing the playlist even after clicking refresh item.

Version 2.1.0 Home Assistant add-on HA integration 2024.6.2

OzGav commented 3 months ago

Did you press the refresh icon in the menu bar at the top of the list?

robin-hg commented 3 months ago

Did you press the refresh icon in the menu bar at the top of the list?

Yes

OzGav commented 3 months ago

If it still hasn’t appeared after another refresh trying restarting MA and see what happens

robin-hg commented 3 months ago

Huh, that seemed to have fixed it. Thanks

OzGav commented 3 months ago

Thanks. This will get looked at further.

OzGav commented 3 months ago

@marcelveldt to summarise here. The issue is that after adding to a playlist the red dot is not appearing on the refresh icon to show a refresh is needed.

OzGav commented 3 months ago

This is fixed and indeed now doesn't require a refresh!