Closed maximst closed 6 years ago
I have been unable to reproduce this. Your code works on my setup (mpv 0.28.2).
When used via libmpv, mpv's behavior is different in many details such as it not loading key bindings. I'd suggest you take a very close read through mpv's doc and source code to figure out why libmpv might not be doing this. Also have a look at the debug output mpv.MPV(loglevel='debug', ...)
. Maybe libmpv is having some problem that just doesn't surface with the default loglevel.
Maybe have a look at --save-position-on-quit
. There is also a write_watch_later_config
command.
Feel free to re-open this if you think this can be reproduced. So far it looks the original error message was most likely caused by a wrong libmpv version. Make sure --watch-later-directory
actually works with the mpv
on your system and make sure that and libmpv are the same version.
When i can use 'watch-latter' functionality i get the error:
And when i run command player.command('quit-watch-later') without watch-later-directory option nothing happens