This file contains hidden or 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
-- mpv script to show the progress bar on pause. -- | |
function on_pause(name, value) | |
if value == true then | |
mp.command("show-progress") | |
end | |
end | |
mp.observe_property("pause", "bool", on_pause) |
This file contains hidden or 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
-- mpv script to download subtitles using subdl. | |
-- requires subdl (2016 Sep master branch): https://github.com/alexanderwink/subdl | |
-- default keybinding: B (capital B) | |
-- add the following to your input.conf to change the default keybinding: | |
-- keyname script_binding subdl_load_subs | |
local utils = require 'mp.utils' | |
function subdl_load() |
NewerOlder