I control mpv via socat on the terminal (bash script) like this :
echo '{ "command": ["playlist-next" ] }' | socat - /tmp/mpvsocket
and it works but I don't know the syntax to use for playlist-pos
echo '{ "command": ["playlist-pos", "100" ] }' | socat - /tmp/mpvsocket
gives the result :
{"error":"invalid parameter"}
how can I use this particular command/property and any help to make sense of the proper usage is much appreciated. thanks . I guess I didn't quite get man mpv manual .