Image duration, RC feedback
Posted: 09 Oct 2008 10:49
I'm writing a script to use VLC as a "light weight" media center, but have run into a few dead-ends, which I cant get a reply on anywhere in the massive documentation:
1) when I put an image in the playlist, it plays it nicely, however only a 1 second glimpse. According to the log this is intended:
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access '' path='d:\test.jpg'
- I have tried --run-time but that seems to only decide how long a 'stream' should play.
Is there any way to control how long VLC should play an image?
2) Using the RC interface, my script controls VLC via telnet, when I enqueue a few media, and play it, I get this feedback in telnet:
status change: ( play state: 1 ): Opening
status change: ( play state: 2 ): Buffer
status change: ( play state: 3 ): Play
status change: ( play state: 8 ): End <- end of the first media
status change: ( play state: 8 ): End <- end of second media
I start VLC with --loop option, so it keeps playing my playlist over and over, then I control the changing of media from telnet.
The issue is, I get these END messages for the first loop, but then it goes silent once the loop has started, it keeps playing but I
dont get the notice the media has ended. Is this intentional?
There might be tricks I have missed, please throw in ur cents
1) when I put an image in the playlist, it plays it nicely, however only a 1 second glimpse. According to the log this is intended:
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access '' path='d:\test.jpg'
- I have tried --run-time but that seems to only decide how long a 'stream' should play.
Is there any way to control how long VLC should play an image?
2) Using the RC interface, my script controls VLC via telnet, when I enqueue a few media, and play it, I get this feedback in telnet:
status change: ( play state: 1 ): Opening
status change: ( play state: 2 ): Buffer
status change: ( play state: 3 ): Play
status change: ( play state: 8 ): End <- end of the first media
status change: ( play state: 8 ): End <- end of second media
I start VLC with --loop option, so it keeps playing my playlist over and over, then I control the changing of media from telnet.
The issue is, I get these END messages for the first loop, but then it goes silent once the loop has started, it keeps playing but I
dont get the notice the media has ended. Is this intentional?
There might be tricks I have missed, please throw in ur cents
