I'm writing a script to control VLC that needs to be able to switch between videos while maintaining the current seek time.
To accomplish this, I'm sending
Code: Select all
clear\r\nadd NEWFILE.MP4\r\nseek TIME
If I add a slight delay before the seek command (around 50ms), it will work but look a little jittery. Is there a better way to do this that I'm missing?
Thanks!