Tutorial: Live TV stream/transcoding using Enigma2/Dreambox

Tutorials, tips and tricks.

Moderator: moderators

Tutorial: Live TV stream/transcoding using Enigma2/Dreambox

Postby ebeneezer » Wed Jan 08, 2014 2:56 pm

Hi community,

i am using an enigma2 settop-Box to stream Live TV towards Subsonic, transcode it and send it further towards a client:

Bildschirmfoto 2014-01-08 um 15.23.03.png

Tutorial: http://forum.madsonic.org/viewtopic.php?f=5&t=916&hilit=live+tv

Channel lists are automatically synced from the box into Subsonic by cron using this script:

Code: Select all
# inurl: services.m3u input URL
# outpath: output directory

outpath="/Volumes/LaCie/iDocs TV Bouquets/iDocs TV"

cd "$outpath"
rm -f *.tv

curl "$inurl" -s | while read line           
    token=$(echo $line | cut -f1 -d,)
    sender=$(echo $line | cut -f2 -d, | tr '/' ' ')
    if [ "$token" == "#EXTINF:-1" ]; then
       read line
       printf "Madsonic Stream URL for $sender generated $(date)\n$line\n" > "$outpath/$sender.tv"

Bildschirmfoto 2014-01-08 um 15.29.53.png

If you like what I did pls leave a comment.

Regards Ebeneezer 8)
Posts: 1
Joined: Tue Jan 07, 2014 11:06 am

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests