Quit vlc at end of playlist
Posted: 24 Mar 2007 22:36
Hi,
I'd like to create a little script which will start vlc in a loop, each time changing source. For this I need vlc to quit afterBy default vlc will remain idle.
Is this possible ?
I'd like to create a little script which will start vlc in a loop, each time changing source. For this I need vlc to quit after
Code: Select all
[00000245] main playlist: nothing to play
Code: Select all
#!/bin/bash
while true
do
source=`curl -u [username]:[password] x.x.x.x/video.m3u`
vlc \
--no-play-and-stop \
--sout '#standard{access=udp,url=224.0.0.1:1234,sap=true,name="Dreambox"}' \
$source
done