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

can't scrobble Spotube #127

Open
jtmr05 opened this issue Oct 19, 2023 · 4 comments
Open

can't scrobble Spotube #127

jtmr05 opened this issue Oct 19, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jtmr05
Copy link

jtmr05 commented Oct 19, 2023

According to the README on this repo, in order to add a player's id to the whitelist one needs to find its MPRIS id beforehand.
However, Spotube in particular seems to generate a new one each time it runs. For instance:

$ playerctl --list-all
Spotube.instance4761

The number at the end seems to match its PID. Any possible workaround?

@InputUsername InputUsername added the bug Something isn't working label Nov 3, 2023
@InputUsername
Copy link
Owner

Hi, I'm assuming you've tried it and the whitelist doesn't work? IIRC playerctl actually reports the player "bus name", and rescrobbled already should strip the .instance123 part from there, so just whitelisting Spotube should work. If it doesn't, you could also try whitelisting by the actual MPRIS id.

Let me know if you have any issues.

@jtmr05
Copy link
Author

jtmr05 commented Nov 3, 2023

Whitelisting as Spotube, with or without the instance specific suffix, doesn't seem to work.
Using the MPRIS id (which I assume is org.mpris.MediaPlayer2.Spotube) doesn't help either.

@InputUsername
Copy link
Owner

How exactly are you defining the whitelist in your config.toml?

Also I found KRTirtho/spotube#811 which relates to Spotube's MPRIS id, are you running the latest Spotube version? If so then I guess this is a bug.

@jtmr05
Copy link
Author

jtmr05 commented Nov 3, 2023

The whitelist looks like this:
player-whitelist = ["ncspot", "vlc", "mpv", "org.mpris.MediaPlayer2.Spotube"]

I'm running Spotube version 3.2.0. According to that link, the issue described there should be fixed on this version.

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

2 participants