Created
December 16, 2016 02:47
-
-
Save rossy/f13d76e77f28420af5f3e6fbe313988c to your computer and use it in GitHub Desktop.
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
mp.observe_property('vo-configured', 'bool', function(name, value) | |
if value then | |
mp.set_property('keep-open', 'yes') | |
else | |
mp.set_property('keep-open', 'no') | |
end | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment