i want to use vlc for very weird purpose - when some key is pressed, it should keep on playing (advancing in playlist), but when the key is not pressed, it should wait to finish playing current playlist item and then end in static image (could be last frame of the videos). When we press the key again, it continues playback from next track.
I was thinking of something like that:
Code: Select all
function OnMovieFinish {
if KeyIsDown (MOUSE_2) {
playNext
else
stop
}
}
function OnMouseDown
{ playRandom }
Or couldnt it be solved much easier through hotkeys? But I do not know how to capture this IsStillPressed feature...
Any help is much appreciated.
Thanks
J/