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

Deezer - play previous or next track not working #913

Closed
abg88 opened this issue Jun 17, 2022 · 5 comments
Closed

Deezer - play previous or next track not working #913

abg88 opened this issue Jun 17, 2022 · 5 comments

Comments

@abg88
Copy link

abg88 commented Jun 17, 2022

It's fixed as follows. Thanks to max-collomb.

Reading comments on issue #845, I'm not sure this PR will be treated. Thus, I post an alternative while waiting for a patched version

For Edge on Windows (adapt path for another browser) :

  • list extensions in the browser (edge://extensions/)
  • activate developer mode
  • retrieve streamkey extension ID
  • Edit file C:\Users\%username%\AppData\Local\Microsoft\Edge\User Data\Default\Extensions\{{id}}\1.8.4_0\js\controllers\DeezerController.js and remove div > on lines 9, 11 and 15
  • close and reopen the browser

Those two hotkeys stopped working a while ago in Deezer. "Toggle Play/Pause" still works just fine in Deezer though.
"Play previous or next track" hotkeys work just fine in YouTube Music and Spotify.

EDIT: bellow there's a screenshot of how Streamkeys appears in Chrome. All buttons except Play/Pause are greyed out for Deezer, and all are available for YouTube Music.

image

@max-collomb
Copy link

Reading comments on issue #845, I'm not sure this PR will be treated.
Thus, I post an alternative while waiting for a patched version

For Edge on Windows (adapt path for another browser) :

  • list extensions in the browser (edge://extensions/)
  • activate developer mode
  • retrieve streamkey extension ID
  • Edit file C:\Users\%username%\AppData\Local\Microsoft\Edge\User Data\Default\Extensions\{{id}}\1.8.4_0\js\controllers\DeezerController.js and remove div > on lines 9, 11 and 15
  • close and reopen the browser

@abg88
Copy link
Author

abg88 commented Jun 24, 2022

Thank you so much! It's now working perfectly in Chrome.

@randomComitter
Copy link

I have the same issue in Chrome on mac that Streamkeys can't handle prev and next buttons, but can still handle stop/play button.
Anyway, Chrome already provides built-in functionality to control playback using hardware media keys, so I simply disabled Streamkeys plugin, and now playback is controlled directly by Chrome.

@abg88
Copy link
Author

abg88 commented Jul 2, 2022

It's fixed as follows. Thanks to max-collomb.

Reading comments on issue #845, I'm not sure this PR will be treated. Thus, I post an alternative while waiting for a patched version

For Edge on Windows (adapt path for another browser) :

list extensions in the browser (edge://extensions/)
activate developer mode
retrieve streamkey extension ID
Edit file C:\Users%username%\AppData\Local\Microsoft\Edge\User Data\Default\Extensions{{id}}\1.8.4_0\js\controllers\DeezerController.js and remove div > on lines 9, 11 and 15
close and reopen the browser

@abg88 abg88 closed this as completed Jul 2, 2022
@randomComitter
Copy link

randomComitter commented Jul 13, 2022

There is already a PR for this fix (#927), would be good if someone could merge it and release a new version.

Meanwhile, manually applying the same change in the DeezerController.js (as written above) does the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants