mpc-like control interface for mpv - General Shell Scripting
Wildefyr
Been writing this for the past couple of days. Mostly works though there's several things I still need to do. Feedback wanted.
venam
I knew mplayer and mpv had socket interface to interact with but it's the first time I see them well used.

Great job, I'll test it as soon as I can.
neeasade
super cool I'm a fan.

edit: when home today my plan is to take this and combine it with the mpc portion of my panel to make the controls work for either/both depending on if mpv is running. hype
venam
Tested it.
It works great but you forgot to mention that mpv needs to be started with:
Code:
--input-unix-socket=/tmp/mpvsocket
neeasade
(13-01-2016, 12:36 PM)venam Wrote: Tested it.
It works great but you forgot to mention that mpv needs to be started with:
Code:
--input-unix-socket=/tmp/mpvsocket

Yeah, the link to this is in like the 5th line of the script, but it would have been nice to know from the README.
Wildefyr
My bad guys, I'll update it when I get home.
apk
*sniff* LEAVE. WILDEFYR. ALONE!
neeasade
(13-01-2016, 04:01 PM)dsplayer14 Wrote: *sniff* LEAVE. WILDEFYR. ALONE!


/bully adam
Wildefyr
Well the readme has been updated now and should be at a much better standard. Probably going to leave this as a 'stable' version for now seeing as I've implemented speed control properly now and cleaned a bit more of the code up. Feel free to send me pull requests for any of the stuff in the TODO section.
Wildefyr
You can now append files to the current playlist or start a new mpv instance altogether! You can also view the tracks in the playlist with another command.




Members  |  Stats  |  Night Mode