Closed tvraman closed 9 months ago
I'm not quite sure why config file is not picked up but you can do:
(add-to-list 'empv-mpv-args "--save-position-on-quit")
to get the same effect.
Custom type mismatch on empv-mpv-args:
Hide empv-mpv-args: '("--save-position-on-quit" "--no-video" "--no-terminal" "--idle" "--input-ipc-server=/tmp/empv-socket") State : CHANGED outside Customize. (mismatch) (:) Args used while starting mpv. Hide This should contain --input-ipc-server=‘empv-socket-file’, also --idle is recommended for keeping your state.
--
empv appears to not pick up saved position even when you set that option through empv-mpv-args.
One more clarification after testing:
Problem in empv appears to be when saving not resuming.
Test:
It might be related to how empv shuts down the mpv process. I'll do a little bit of testing and return back to you.
let's not bother with this
empv: Ignores save-position-on-quit when set in .config/mpv.conf
I added save-position-on-quit to my config/mpv.conf and verified at the shell that it takes effect; position is saved on quit and resumes at saved position.
With that set in the config/mpv.conf, empv appears to ignore this; do we need to add a flag when launching mpv so those are respected? Was surprized because setting volume in the conf file does take effect with empv.