This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- autosave.lua | |
-- ------------ | |
-- | |
-- periodically saves watch_later data during mpv playback. | |
-- accounts for periodic cached write synchronization on raspberry pi. | |
os = require 'os' | |
mp = require 'mp' | |
mp_opt = require 'mp.options' |