Open AlephNought0 opened 2 months ago
That's a great finding. I think we've to just change the datatype to Time_in_Us
Actually, we are using a library audio_service_mpris
that implements the DBus interface for MediaPlayer2. So, it was sending the wrong types. Now, they've updated to freedesktop specifications. So it's just simple library update.
Actually, we are using a library
audio_service_mpris
that implements the DBus interface for MediaPlayer2. So, it was sending the wrong types. Now, they've updated to freedesktop specifications. So it's just simple library update.
That's great to hear!
Is there an existing issue for this?
Current Behavior
Spotube currently uses QVariant(qlonglong) for position property which makes it unable to fetch the proper position of the current playing media on Spotube.
Expected Behavior
Spotube should send the value of the property according to the freedesktop specifications. Mpris:Position is not a variant. See more here. https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Property:Position
Steps to reproduce
Operating System
Linux, NixOS
Spotube version
v3.6.0
Installation source
GitHub Releases (Binary)
Additional information
No response
Self grab