Vlc provide documents in which there are lots of command are given to control vlc from command line. Here is the link of documentation. Now in my task, I need to run a video in a loop, for this I am using this command
vlc --fullscreen --loop t.mp4
where t.mp4 is my video.This is working fine.Now on some particular input I have to run some another video, for this I am again using this command
vlc --fullscreen t1.mp4
Now the problem is, after completing this video I want to run previous video. For this somehow I need to know my current video is completed. For this please tell me the command through which I can know the completion of vlc video.