no fullscreen by default, use profiles instead

This commit is contained in:
wood 2019-10-24 16:15:23 +03:00
parent 63ecedc95e
commit aca4c2cf5c

View File

@ -405,7 +405,6 @@ function on_start_file()
mp.commandv("stop") mp.commandv("stop")
mp.unregister_event(on_start_file) mp.unregister_event(on_start_file)
activate() activate()
else else
is_playlist_loaded = true is_playlist_loaded = true
end end
@ -417,6 +416,5 @@ if mp.get_opt("iptv") then
mp.register_event("start-file", on_start_file) mp.register_event("start-file", on_start_file)
mp.add_forced_key_binding('\\', 'activate1', activate) mp.add_forced_key_binding('\\', 'activate1', activate)
mp.add_forced_key_binding('MOUSE_BTN2', 'activate2', activate) mp.add_forced_key_binding('MOUSE_BTN2', 'activate2', activate)
mp.set_property("fullscreen", "yes")
end end