5.4.4.4 Beta

This commit is contained in:
Frank Skare
2020-04-22 08:04:26 +02:00
parent e9ea70838d
commit 1270dd474e
7 changed files with 97 additions and 25 deletions

View File

@@ -1,4 +1,10 @@
-- https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/pause-when-minimize.lua
-- This script pauses playback when minimizing the window, and resumes playback
-- if it's brought back again. If the player was already paused when minimizing,
-- then try not to mess with the pause state.
local did_minimize = false
mp.observe_property("window-minimized", "bool", function(name, value)