Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MA matching Elton John & Britney Spears tracks to Hans Zimmer #3334

Open
1 task done
tanderson1992 opened this issue Dec 20, 2024 · 6 comments
Open
1 task done

MA matching Elton John & Britney Spears tracks to Hans Zimmer #3334

tanderson1992 opened this issue Dec 20, 2024 · 6 comments

Comments

@tanderson1992
Copy link

What version of Music Assistant has the issue?

2.3.3

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

Not installed

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

  • Yes

The problem

Similar to #3141, MA is mismatching filesystem artists when the tracks are properly tagged. After reading 3141, I cleared the DB and scanned again, but still have issues. For some reason, Britney Spears and Elton John performances are being listed as Hans Zimmer. In fact, when I clicked "Refresh Item" while looking at Hans Zimmer, it changed the display name to Elton John and loaded a picture of him. I note that there are still about 160 tracks out of 16,000+ that have improper tags, but none of them are the affected tracks. I am working my way through the 160 tracks and will clear the DB again and report back if that helps.

image
image
image
image
image
(After selecting Refresh Item on Hans Zimmer.)

How to reproduce

Clear the database and wait for re-scan.
Search for artist Hans Zimmer. Note that Britney Spears & Elton John albums are listed under him.
Click Refresh Item. Note that the name and picture changes to Elton John

Music Providers

Filesystem (remote share) is the only music provider.

Player Providers

Chromecast, Home Assistant Media Players, and Sonos S1, but this occurs without trying to play the media anywhere.

Full log output

music-assistant.log

Note I didn't restart MA after clearing logs, so the new issue starts around line 3625 where I restarted HA, tried to find Hans Zimmer, then cleared the database.

Additional information

No response

What version of Home Assistant Core are your running

2024.12.4

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

@OzGav
Copy link
Contributor

OzGav commented Dec 20, 2024

All reports of this kind of issue recently has turned out to be either a provider misconfiguration, a track with multiple artists (neither likely in your case) or a tagging problem.

Once you have cleaned those last 160 do a DB reset and then restart MA and see what happens. If there is still a problem then make a minimal folder with just the affected tracks, turn on debug for the metadata controller, reset the DB and then import that.

@tanderson1992
Copy link
Author

tanderson1992 commented Dec 21, 2024

I cleared up the remaining tracks using Mp3tag (which detected over 400 without albumartist), cleared the database, restarted MA, and waited for the scan to complete. Hans Zimmer is still listed as the artist for most of Elton John and Britney Spears albums. When I go to an album marked as HZ, I can refresh item and it will be changed to EJ with all the tracks now listed as Hans Zimmer and Elton John. If I Show Info for each track individually, I can refresh each track to return it to EJ-only one at a time. I don't see a way to refresh all tracks in an album because as I mentioned refreshing the album doesn't remove HZ from the tracks.

track with multiple artists

One thing I did note is that Elton John and Hans Zimmer are both albumartists on the Lion King soundtrack. Elton John and Britney Spears are both on the single track "Hold Me Closer." Is it possible those connections are resulting in Hans Zimmer being tied to the other artists' albums?

Apparently I didn't turn on debug in the correct spot, because turning it on for Filesystem resulted in lots of (MainThread) [music_assistant.filesystem_smb] Processing: [song path] with no information about how it was being matched. Before I clear the database and run again against those artists, can you please clarify where I need to turn on debug? Many of the other settings are set to global [default] but I can't find where the global log setting is determined after clicking through the setting tabs.

@OzGav
Copy link
Contributor

OzGav commented Dec 21, 2024

Yes that is possible. There is an open item on the backlog for "Multiple Artists not always being identifed correctly in the database". You can do a minimal share as I said above and test this. Just add a single track or album without the multiple artists and see if that works ok. Then add the one with multiple artists. You may find the problem occurs depending on which you add first.

edit: I will add this issue to the backlog item as well.

@tanderson1992
Copy link
Author

Thanks. Before I do that, can you tell me where in the settings I need to enable debug? Turning it on for Filesystem didn't capture any useful data. It seems like every subsystem has a global [default] setting, but I haven't been able to locate where global is defined.

@OzGav
Copy link
Contributor

OzGav commented Dec 21, 2024

Try MA SETTINGS >> CORE >> METADATA CONTROLLER

Copy link
Contributor

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants