Page 1 of 1

script (automatic close VLC)

Posted: 25 Jan 2006 13:28
by e6964822
Hi,

I want to do a script that close the VLC program when it ends the reproduction.

Is is possible? (end VLC program when the reproduction ends)

Thank you.

Posted: 25 Jan 2006 13:29
by e6964822
In windows.

Posted: 25 Jan 2006 14:48
by dionoea
what do you call "reproduction" ?

Posted: 25 Jan 2006 15:19
by cebecerril
I think:

"reproduction" = playback

Posted: 25 Jan 2006 16:43
by dionoea
oh ok :) Just add "vlc:quit" to the list of items to be played.

ups

Posted: 26 Jan 2006 10:30
by e6964822
:P <Hi!

I write this script:


C:\"Archivos de programa"\VideoLAN\VLC\vlc.exe "C:\Documents and Setting\Escritorio\DEMOS\matrix.revolutions.mpg,vlc:quit" :sout=#duplicate{dst=std{access=rtp,mux=ts,url=228.1.1.1:1234}}

And not play. I want first this play matrix and at the end VLC close himself.

Thank you.

Posted: 26 Jan 2006 13:39
by dionoea
add vlc:quit after :sout (else :sout will only apply to vlc:quit and not to the first item)