Close

VLC Stream StopNStarts- Fixed

A project log for PiFold

PiZero+CustomAccessPoint+CaptivePortal+AudioStreaming+PiFM+Voip in a wallet. Cash, Cache and Content. (optional Solar Charger)

tomwsmftomwsmf 02/07/2016 at 04:020 Comments

During the day I noticed that while listening to the audio stream from my PiFold things stopped after every song/show. At first I though it was the device I was listening to the stream on. I tried several, all the same. Frustrating. After restarting the client on my device a few times I made a note to do some digging into the VLC wiki for mention of this.

Sure enough, there it was on the VLC Wiki .

I have updated the install steps to make the fix in /etc/vlc/start.sh

sudo -u vlc cvlc -vvv -I http --http-password $VLC_PASWD  --http-host $VLC_IP --http-port $VLC_PORT  --sout-keep --sout='#duplicate{dst=rtp{mux=ts,dst=10.11.21.1:8086},dst=gather:std{access=http,mux=mpeg1,dst=:8085},dst=display,select="novideo"}'  --loop  /home/pi/content/Radio/playlist.m3u

Once in place I have not had a stop in hours.

You will note I stuck an RTP stream option in there. It is not done fully but it is the plan to have more than one road to Rome.

Discussions