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

Webscrobbler doesn't react on love/unlove of Spotify #4664

Open
CennoxX opened this issue Apr 22, 2024 · 0 comments
Open

Webscrobbler doesn't react on love/unlove of Spotify #4664

CennoxX opened this issue Apr 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CennoxX
Copy link
Contributor

CennoxX commented Apr 22, 2024

Description of the bug
If I click on the like button of the website open.spotify.com the song should be loved on last.fm (etc.) with Web Scrobbler. If I click again, it should be unloved. Currently nothing happens on Web Scrobbler / last.fm
This is due to the current selectors of Spotify not matching anymore.

https://github.com/web-scrobbler/web-scrobbler/blob/master/src/connectors/spotify.ts#L49-L52

Connector.loveButtonSelector = `${playerBar} button[data-testid="add-button"][aria-checked="false"]`;
Connector.unloveButtonSelector = `${playerBar} button[data-testid="add-button"][aria-checked="true"]`;

Environment

  • OS: Windows 10
  • Browser: Firefox 125.0.1
  • Extension version: 3.7.0
@CennoxX CennoxX added the bug Something isn't working label Apr 22, 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

1 participant