Presences icon indicating copy to clipboard operation
Presences copied to clipboard

Spotify Podcast shows playing while paused

Open DarkVillager opened this issue 3 years ago • 3 comments

Steps to Reproduce

  1. Play a podcast
  2. Close the tab
  3. Go to e.g. https://open.spotify.com/collection/playlists
  4. It shows its playing while paused

Expected Behavior

Showing it's paused

Actual Behavior

Showing it's playing

Page URL

https://open.spotify.com/collection/playlists

Screenshots

image

Operating System

Windows 10

Browser and Version

Chrome 103.0.5060.134 (Official Build) (64-bit) (cohort: Stable)

Additional Comments

Maybe put this in the same pr as #6415 Replace line 229-233 from:

if (
			document.querySelector(".now-playing-bar-hidden") !== null ||
			control === null ||
			control.dataset.testid === "control-button-play"
		) {

To:

if (
			document.querySelector('[data-testid="control-button-playpause"]')
				.ariaLabel === "Play"
		)

DarkVillager avatar Aug 02 '22 07:08 DarkVillager

Feel free to pr it yourself

Bas950 avatar Aug 02 '22 11:08 Bas950

Feel free to pr it yourself

For both or only this issue?

DarkVillager avatar Aug 02 '22 11:08 DarkVillager

Feel free to pr it yourself

For both or only this issue?

both

Bas950 avatar Aug 02 '22 11:08 Bas950

@DarkVillager are you making a PR?

Bas950 avatar Aug 22 '22 11:08 Bas950

@DarkVillager are you making a PR?

yes

DarkVillager avatar Aug 22 '22 12:08 DarkVillager