This commit is contained in:
Frank Skare
2019-03-28 02:04:55 +01:00
parent 6669a42dcd
commit 448add600b
5 changed files with 55 additions and 88 deletions

16
scripts/fullscreen.cs Normal file
View File

@@ -0,0 +1,16 @@
using mpvnet;
class Script
{
public Script()
{
var fs = mp.get_property_string("fullscreen");
mp.commandv("show-text", "fullscreen: " + fs);
mp.observe_property_bool("fullscreen", FullscreenChange);
}
void FullscreenChange(bool val)
{
mp.commandv("show-text", "fullscreen: " + val.ToString());
}
}