home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.91k stars 29.57k forks source link

Some local media has missing title metadata #116924

Closed Ay1tsMe closed 2 weeks ago

Ay1tsMe commented 3 months ago

The problem

I have a large song library on my NAS and i'm trying to play music to my sonos speaker using the media_player integration. Some of the songs when played with home assistant dont contain the media_title attribute even though the song has the relevant metadata.

If I check the song playing in the Sonos app, it displays the title metadata correctly so this must be some sort of issue with home assistants media_player integration.

Some songs seem to work and some dont so its pretty hit or miss. But I can confirm that all the files on my NAS have the correct metadata for each song

What version of Home Assistant Core has the issue?

core-2024.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

media_player

Link to integration documentation on our website

https://www.home-assistant.io/integrations/media_player/

Diagnostics information

error_log.txt

Example YAML snippet

source_list:
  - Line-in
group_members:
  - media_player.theatre_multi_zones_connect
volume_level: 0.39
is_volume_muted: false
media_content_id: >-
  https://homeassistantarabella.duckdns.org:8123/media/local/MyCloudEx2Ultra/Music/iPod_songs/10cc%20-%20The%20Original%20Soundtrack/192/mp3/10cc%20-%2002.I'm%20Not%20In%20Love%20(Gouldman-Stewart).mp3?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjODg2Yjg2NDg4NDE0N2FmYjdjMzg5MTdlMDZlOGQxOCIsInBhdGgiOiIvbWVkaWEvbG9jYWwvTXlDbG91ZEV4MlVsdHJhL011c2ljL2lQb2Rfc29uZ3MvMTBjYyAtIFRoZSBPcmlnaW5hbCBTb3VuZHRyYWNrLzE5Mi9tcDMvMTBjYyAtIDAyLkknbSBOb3QgSW4gTG92ZSAoR291bGRtYW4tU3Rld2FydCkubXAzIiwicGFyYW1zIjpbXSwiaWF0IjoxNzE0OTk4NzMxLCJleHAiOjE3MTUwODUxMzF9.dTP9fPEWSOxRoYuJ-xNserSTyKS_BiUtsDejq1tLN5w
media_content_type: music
media_duration: 368
media_position: 19
media_position_updated_at: "2024-05-06T12:32:31.504025+00:00"
media_artist: 10cc
media_album_name: The Original Soundtrack
shuffle: false
repeat: "off"
queue_position: 1
queue_size: 1
device_class: speaker
entity_picture: >-
  /api/media_player_proxy/media_player.theatre_multi_zones_connect?token=66cdd661c8b0bf4e34e7657d80352766e9de779260141a59b3bb74ad49697bfb&cache=85a182166702eb28
icon: phu:sonos-port
friendly_name: Theatre - Multi Zones (Connect)
supported_features: 4127295

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 months ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (media_player) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `media_player` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign media_player` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


media_player documentation media_player source (message by IssueLinks)

Ay1tsMe commented 3 months ago

Could also be an issue with the sonos integration. I have no other media player that isnt a sonos device to test it on so cant confirm if its a media_player or sonos integration issue

issue-triage-workflows[bot] commented 3 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.