Is it possible to make closing the app window Exit Watch Later
?
#551
-
I've set the shortkey to Exit Watch Later to EDIT: Here is the script I'm using: msg = require 'mp.msg'
function shutdown()
msg.info('saving watch later...')
mp.command("write-watch-later-config")
end
mp.register_event('shutdown', shutdown) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This might be possible with a user script. You can try getting help with the code, asking on reddit. There is a shutdown event. When this event happens, it's possible to execute the input command write-watch-later-config. |
Beta Was this translation helpful? Give feedback.
This might be possible with a user script. You can try getting help with the code, asking on reddit.
There is a shutdown event.
When this event happens, it's possible to execute the input command write-watch-later-config.