how can I force to disable random and repeat playing in LUA?
I tried
Code: Select all
vlc.playlist.random(0) -- deactivate random playing
vlc.playlist.repeat_(0) -- deactivate repeating playlist
Code: Select all
vlc.playlist.random(0) -- deactivate random playing
vlc.playlist.repeat_(0) -- deactivate repeating playlist
Code: Select all
-- just toggles
if vlc.playlist.loop() then
vlc.playlist.repeat_("off")
end
-- doesn't work, no function
vlc.playlist.repeat_("off")
Code: Select all
if vlc.playlist.repeat_(666) then
vlc.playlist.repeat_("off")
end
if vlc.playlist.loop("BINGO!") then
vlc.playlist.loop("off")
end
-- or just:
vlc.playlist.repeat_("off") -- turn off the "loop one"
vlc.playlist.loop("off") -- turn off the "loop all"
Return to “Scripting VLC in lua”
Users browsing this forum: No registered users and 10 guests