Bug 414928 - Spotify Web media controls misbehaving
Summary: Spotify Web media controls misbehaving
Status: REPORTED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Chrome (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-07 16:50 UTC by Guilherme Silva
Modified: 2023-06-06 09:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Silva 2019-12-07 16:50:08 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install Plasma Integration on Chromium
2. Go to open.spotify.com and login
3. Choose any playlist
4. Click the on the play button (located on the left side of any song)

OBSERVED RESULT
Even though the song plays normally, notice that the pause button in Spotify media controls is immediately replaced by the play button. And that issue sometimes causes another one: Spotify won't play the next song in the playlist because it thinks the playback was actually paused.

EXPECTED RESULT
The pause button shouldn't be replaced by a play button, therefore playback shouldn't be interrupted after the song ends. Disabling media controls on open.spotify.com makes playback function correctly.


SOFTWARE/OS VERSIONS
Linux: 5.4.2 (kernel)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
I was able to reproduce this on a clean Chromium profile, with no extensions except Plasma Integration. I could not reproduce this on Firefox. Plus, on Firefox I couldn't find the option to disable media controls. The extension popup menu seems to load a blank page... If necessary, I can record a video of it. Just let me know.

Thank you!
Comment 1 Guilherme Silva 2019-12-07 16:57:53 UTC
I'm so sorry, I forgot to add the summary! I'm not sure if my explanation was clear enough too, ugh... Anyway, I'll try again:

The Spotify media controls (located at the bottom of the page) misbehave when I play any song. Most specifically, the pause button is replaced by a play button, indicating that there's no song currently playing, plus sometimes interrupting playback after aforementioned song finishes playing.
Comment 2 Kai Uwe Broulik 2020-04-09 17:32:40 UTC
Yes, a video of the behavior would be appreciated as I don't understand what exactly would be broken, and I can't notice anything unusual here.
Comment 3 Guilherme Silva 2023-06-06 09:31:39 UTC
I know I'm a bit late (just a little over 3 years 😅), but I can still reproduce the problem on version 1.8.1 of the extension (currently running on Firefox).

Here's the video (!!!LOUD VOLUME WARNING!!!): https://www.youtube.com/watch?v=tX8zOQxeTjQ

In the video, I initially show how Spotify controls are supposed to behave (while Plasma Integration for Spotify Web is disabled):

- I'm able to pause songs
- The duration of the song in the seek bar is displayed accurately

And after that, I enable Plasma Integration and reloaded the page. Upon playing the first song on the playlist, you can notice that the pause button is immediately replaced by a play button, so you can't actually pause songs because of this bug. Additionally, the duration of the song displayed in Spotify's seek bar is not updated properly.