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

'Ghost' Items in Deezer Playlist #2621

Open bj61251 opened 4 months ago

bj61251 commented 4 months ago

What version of Music Assistant has the issue?

2.1.0b15

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

On multiple occasions I've encountered situation where tracks were clearly removed from Deezer's library, but they remain in playlists in Music Assistant. For instance, in my Deezer Loved Tracks (basically favorites) playlist, I had a song called Liar, by Rina March. I don't see it in Deezer at all any more, no matter what I search for, but the track remains in my Music Assistant synced Loved Tracks playlist. I've tried clicking remove from playlist, remove from library, etc, but nothing seems to work to get rid of it.

I believe that sometimes this even happens with songs that were not completely removed, but get reassigned to a different album or something. It's like whatever their background ID is changes, and Music Assistant loses the connection to the actual song.

I think this is the root cause of issues I've had in the past with tracks repeating themselves over and over. Whenever a song like this comes up in a playlist, Music Assistant seems to just keep repeating the current song because it doesn't know what to do about the problematic song. Ideally, it would just skip over the bad song.

How to reproduce

Difficult to intentionally reproduce because you'll have to have a song in a playlist that is then removed from Deezer.

Music Providers

Deezer

Player Providers

Google Cast

Full log output

No response

Additional information

(will attach log shortly, I'm on my phone and for some reason it won't download)

What version of Home Assistant Core are your running

2024.7.2

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

bj61251 commented 4 months ago

Log file right after trying to play this track:

music-assistant.log

arctixdev commented 4 months ago

Sorry I personally wont be able to work on this because I am soon going on exchange year :slightly_frowning_face:

bj61251 commented 4 months ago

No worries, I'm continuing to see if there's an easy way to get these broken tracks out without completely removing the music provider, Etc.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 21 days with no activity. Comment or this will be closed in 7 days.

OzGav commented 3 months ago

Keeping alive