SUMMARY My Media Player when I play a Spotify song and open the media player it gets unsynced. For EX: I start playing a song on Spotify 46 seconds in but the Media Player only starts counting the time when I open it so the time would say 0:00 then it would start counting up. STEPS TO REPRODUCE 1. Play a Song 2. Open the Media Player OBSERVED RESULT Song times unsynced. EXPECTED RESULT Song times match and continue to match until next song. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Neon (available in About System) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION
I can confirm this issue, but I'm pretty sure this is not a KDE bug. VLC, for example, works fine, the media controller applet shows the time correctly. It seems to me that for some reason, Spotify resets the time counter. If you play a song in Spotify and then run "playerctl position" several times in Konsole, it only shows a few milliseconds even if your song has been playing for minutes. Also, the value doesn't necessarily increase. With VLC, however, the same command outputs the correct time in seconds. This may be because Spotify is missing a time property (see "playerctl metadata"). All in all, this bug is most likely in the Spotify app itself, not the Plasma media controller applet.
This is indeed a known issue with Spotify's MPRIS integration. You can find plenty of reports for this on Spotify's community page: https://community.spotify.com/t5/forums/searchpage/tab/message?q=mpris