1
0
Fork 0

[UI] MPV uses yes/no rather than true/false.

This commit is contained in:
Kitteh 2018-11-11 13:50:42 +00:00
parent 6c46849ed7
commit e5f21a553f

View file

@ -108,8 +108,8 @@ ApplicationWindow {
toggleFullscreen() toggleFullscreen()
continue; continue;
} }
if (splitArg[1].length == 0) { if (splitArg[1] == undefined || splitArg[1].length == 0) {
splitArg[1] = "true" splitArg[1] = "yes"
} }
player.setOption(splitArg[0], splitArg[1]) player.setOption(splitArg[0], splitArg[1])