mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #77] Playerctl Volume Control + Possible Podcast Support? #959
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#959
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @overtoneblue on GitHub (Sep 3, 2022).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/77
Hi, I've been using spotify-player for quite a while now, I think everything is great but podcast support would make the app even more complete in my opinion. The other thing I had a question about was volume control through playerctl, or any other way to control volume through the command line, I'm aware of an easy way to manage volume using https://gitlab.com/axdsop/nix-dotfiles/-/blob/master/Configs/polybar/scripts/mpris_player/mpris_player_control and the command "mpris_player_control -p spotify_player -V 100". However the volume adjustments aren't reflected in the spotify-player interface. My current workaround is just using xdotool but it's not perfect:
WINDOW=$(xdotool search --name spotify_player)
xdotool key --window "$WINDOW" minus
Thanks for your continued support of this project :)
@aome510 commented on GitHub (Sep 4, 2022):
Hi @Selmer443, thanks for using the app :).
I haven't really used Podcast Spotify. That's why it wasn't supported in the first place. That said, adding one shouldn't be too difficult.
Regarding the volume control,
spotify_playeruses a third party librarysouvlakifor external media control (play, pause, next, etc). As you can see from the link, the library doesn't support volume events, so supporting those is not possible. I would suggest raising an issue in the library repo (https://github.com/Sinono3/souvlaki).@overtoneblue commented on GitHub (Sep 4, 2022):
thanks, I will make sure to create an issue there, thanks again for the quick responses!