Script fails to handle multiple sockets
goosewood opened this issue · 3 comments
goosewood commented
Instead of having only a /tmp/mpvsocket, I have /tmp/mpvSockets/ directory with a few sockets in it. If I modify the python file I can specify which one and then the script works fine.
I guess there just needs to be more logic behind finding the socket. I think the simplest way to handle this is have the newest socket be chosen, changing to the next newest when the chosen one closes.
x70b1 commented
What script are you talking about?
goosewood commented
Oops I got confused with git my bad. Forgot this was in a parent directory.
player-mpv-tail is what's giving me issue.
x70b1 commented
The most of the scripts in this repo probably have to be modified.
Sounds cool that you found a way. 😎