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

MPRIS xesam:url is empty #506

Open
ungive opened this issue Nov 27, 2024 · 0 comments
Open

MPRIS xesam:url is empty #506

ungive opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ungive
Copy link

ungive commented Nov 27, 2024

The xesam:url property is missing with with MPRIS metadata from tidal-hifi:

$ playerctl -p tidal-hifi metadata 
tidal-hifi xesam:title               Hard to Sleep
tidal-hifi xesam:artist              Gracie Abrams
tidal-hifi xesam:album               When The World Stopped Moving
tidal-hifi mpris:artUrl              https://resources.tidal.com/images/ec0516d1/6b99/4739/bbf7/8c70b342f336/640x640.jpg
tidal-hifi mpris:length              255000000
tidal-hifi mpris:trackid             '/org/mpris/MediaPlayer2/track/204259342'
tidal-hifi custom:title              Hard to Sleep
...
tidal-hifi custom:url                https://tidal.com/browse/track/204259342
...
$ playerctl -p chromium.instance686813 metadata 
chromium mpris:artUrl              file:///tmp/.org.chromium.Chromium.Fihak5
chromium mpris:length              255007000
chromium mpris:trackid             '/org/chromium/MediaPlayer2/TrackList/TrackB3BA7744A05CEF02296FD074174D292B'
chromium xesam:album               This Is What It Feels Like
chromium xesam:artist              Gracie Abrams
chromium xesam:title               Hard to Sleep

Here (https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/#xesam:url) the xesam:url field is defined as "URI: The location of the media file", but most other media players (streaming services) report the link to the track in this field, which seems like a sane thing to do in my opinion:

$ playerctl -p spotify metadata 
spotify mpris:trackid             /com/spotify/track/5flFJmhTKhO3bPxBoGxWX8
spotify mpris:length              167000000
spotify mpris:artUrl              https://i.scdn.co/image/ab67616d0000b2733a06aad5c5b8b77c9aff5ce4
spotify xesam:album               ひこうき雲
spotify xesam:albumArtist         Yumi Arai
spotify xesam:artist              Yumi Arai
spotify xesam:autoRating          0.28000000000000003
spotify xesam:discNumber          1
spotify xesam:title               紙ヒコーキ
spotify xesam:trackNumber         7
spotify xesam:url                 https://open.spotify.com/track/5flFJmhTKhO3bPxBoGxWX8

Observe spotify xesam:url https://open.spotify.com/track/5flFJmhTKhO3bPxBoGxWX8 here.

In my opinion tidal-hifi should put the contents of the custom:url field in xesam:url (as well).

Tested with v5.17.0

@Mastermindzh Mastermindzh self-assigned this Nov 29, 2024
@Mastermindzh Mastermindzh added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants