rescrobbled icon indicating copy to clipboard operation
rescrobbled copied to clipboard

can't scrobble Spotube

Open jtmr05 opened this issue 2 years ago • 4 comments

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?

jtmr05 avatar Oct 19 '23 16:10 jtmr05

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.

InputUsername avatar Nov 03 '23 12:11 InputUsername

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.

jtmr05 avatar Nov 03 '23 14:11 jtmr05

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

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

InputUsername avatar Nov 03 '23 19:11 InputUsername

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.

jtmr05 avatar Nov 03 '23 23:11 jtmr05