Skip to content

Instantly share code, notes, and snippets.

View intelfx's full-sized avatar
🔥
ceterum censeo gstreamer esse delendam

Ivan Shapovalov intelfx

🔥
ceterum censeo gstreamer esse delendam
View GitHub Profile
-- autosave.lua
--
-- Periodically saves "watch later" data during playback, rather than only saving on quit.
-- This lets you easily recover your position in the case of an ungraceful shutdown of mpv (crash, power failure, etc.).
--
-- You can configure the save period by creating a "lua-settings" directory inside your mpv configuration directory.
-- Inside the "lua-settings" directory, create a file named "autosave.conf".
-- The save period can be set like so:
--
-- save_period=60