Open jtmr05 opened 9 months ago
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.
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.
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.
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.
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:
The number at the end seems to match its PID. Any possible workaround?