You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Edit] Answered my own questions by looking at the code. The commands I asked questions about have not been implemented. The ones that have been implemented work as expected.
I use playerctl with the Spotify app to open an album or playlist and play it. The command would be:
playerctl -p spotify open "spotify:album:7KdKV91G9DiHkJ7RzCjwJt"
The "open" command handles both the opening and the playing of the specified URI. If I use:
playerctl -p spotify_player open "spotify:album:7KdKV91G9DiHkJ7RzCjwJt"
the log file shows the following but nothing appears to happen:
INFO spotify_player::media_control: Got a media control event: OpenUri("spotify:album:7KdKV91G9DiHkJ7RzCjwJt")
Just noticed that 'playerctl -p spotify_player stop' doesn't seem to do anything either so I must have something configured wrong or misunderstood something in the docs. Doing 'playerctl -l' shows spotify_player as something it can control. enable_media_control is set to true in the app.toml file. The documentation states that media_control is enabled by default (I am using the precompiled version 0.20.1 that is in spotify_player-x86_64-unknown-linux-gnu.tar.gz). Here are the entries in the log file for when I issued the 'stop' command:
2024-11-02T20:33:37.604924Z INFO spotify_player::media_control: Got a media control event: Stop
2024-11-02T20:34:47.613126Z INFO spotify_player::media_control: Got a media control event: Stop
There is nothing in the log file that shows any action being taken after receiving the event.
[Edit] Answered my own questions by looking at the code. The commands I asked questions about have not been implemented. The ones that have been implemented work as expected.
I use playerctl with the Spotify app to open an album or playlist and play it. The command would be:
playerctl -p spotify open "spotify:album:7KdKV91G9DiHkJ7RzCjwJt"
The "open" command handles both the opening and the playing of the specified URI. If I use:
playerctl -p spotify_player open "spotify:album:7KdKV91G9DiHkJ7RzCjwJt"
the log file shows the following but nothing appears to happen:
INFO spotify_player::media_control: Got a media control event: OpenUri("spotify:album:7KdKV91G9DiHkJ7RzCjwJt")
Just noticed that 'playerctl -p spotify_player stop' doesn't seem to do anything either so I must have something configured wrong or misunderstood something in the docs. Doing 'playerctl -l' shows spotify_player as something it can control. enable_media_control is set to true in the app.toml file. The documentation states that media_control is enabled by default (I am using the precompiled version 0.20.1 that is in spotify_player-x86_64-unknown-linux-gnu.tar.gz). Here are the entries in the log file for when I issued the 'stop' command:
2024-11-02T20:33:37.604924Z INFO spotify_player::media_control: Got a media control event: Stop
2024-11-02T20:34:47.613126Z INFO spotify_player::media_control: Got a media control event: Stop
There is nothing in the log file that shows any action being taken after receiving the event.
spotify-player-24-11-02-13-32.log
Thanks for any info you can provide and for the great application.
The text was updated successfully, but these errors were encountered: