Open Dazaisan99 opened 1 year ago
Thanks for your great feedback. About the function, seems it need a separate daemon running, to accept the command from another thread. It'll need a server/client structure, thus it could take some time. But I'll keep it in the todo list. Currently, the function you requested can be achieved through mpris. I'll list what I'm doing right now:
Thanks for the reply ! It works like a charm.
For those wondering how to use your WM like me to control it :
alt + {Left, Right, Down}
playerctl {previous, next, play-pause}
Thanks again !
No big deal and thanks for the detail explanation.
With 0.7.11
this should be possible now, right?
I was thinking of giving a PR for this a shot, but probably won't have time for it in the next couple weeks.
@tramhao do you already have plans on implementing this? If not I might look into it after summer.
from my understanding this could now be added quite easily, but there are some questions to answer first:
termusic
(-tui) binary or the termusic-server
(server) binary?bin --pause
), orbin pause
)bin --play --volume 50
) (this would exclude the "subcommand" route, because clap
is not able to handle that to my knowledge)
Please keep in mind that I have just started using the software.
I'm coming from mocp and I'm just missing one feature from what I had before, more command line handling.
The thing you could do with mocp was type
And mocp would skip to the next song, or pause / unpause it.
It would be nice to have something like that in termusic, from the command line, such as :
I also would be useful for WM users, as it allows to map keybindings to control the music player, as I could do with mocp.
BTW : termusic is awesome so far !