Page 1 of 1

Starting a video at a specific time using RC

Posted: 29 Jul 2019 20:42
by continuities
Hey,

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
but the seek seems to be ignored, despite returning no error code.
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!