IPTV: Problems with Base port number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get BBC Radio streams to work. However, I can't work out how to get the IPTV plugin to chage the base port..

:->UK Radio
BBCRadio1;IPTV:110:IPTV|S0P0|EXT|bbcradio.sh|1:P:0:0:256:0:0:11:0:0:0
BBCRadio2;IPTV:120:IPTV|S0P0|EXT|bbcradio.sh|2:P:0:0:256:0:0:12:0:0:0
BBCRadio3;IPTV:130:IPTV|S0P0|EXT|bbcradio.sh|3:P:0:0:256:0:0:13:0:0:0
BBCRadio4;IPTV:140:IPTV|S0P0|EXT|bbcradio.sh|4:P:0:0:256:0:0:14:0:0:0
BBCRadio5;IPTV:150:IPTV|S0P0|EXT|bbcradio.sh|5:P:0:0:256:0:0:15:0:0:0
BBCRadio5Live;IPTV:160:IPTV|S0P0|EXT|bbcradio.sh|55:P:0:0:256:0:0:16:0:0:0
BBCRadio6;IPTV:170:IPTV|S0P0|EXT|bbcradio.sh|6:P:0:0:256:0:0:17:0:0:0
BBCRadio7;IPTV:180:IPTV|S0P0|EXT|bbcradio.sh|7:P:0:0:256:0:0:18:0:0:0

Is in my channels.list with:

case ${PARAMETER} in
   1)
        URL="http://www.bbc.co.uk/radio/listen/live/r1.asx";
    TITLE="BBC Radio 1"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   2)
        URL="http://www.bbc.co.uk/radio/listen/live/r2.asx";
        TITLE="BBC Radio 2"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   3)
        URL="http://www.bbc.co.uk/radio/listen/live/r3.asx";
        TITLE="BBC Radio 3"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;

   4)
        URL="http://www.bbc.co.uk/radio/listen/live/r4.asx";
        TITLE="BBC Radio 4"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   5)
        URL="http://www.bbc.co.uk/radio/listen/live/r5.asx";
        TITLE="BBC Radio 5"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   55)
        URL="http://www.bbc.co.uk/radio/listen/live/r5l.asx";
        TITLE="BBC Radio 5 Live"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   6)
        URL="http://www.bbc.co.uk/radio/listen/live/r6.asx";
        TITLE="BBC Radio 6"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;
   7)
        URL="http://www.bbc.co.uk/radio/listen/live/r7.asx";
        TITLE="BBC Radio 7"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;


   *)
        URL="http://www.bbc.co.uk/radio/listen/live/r4.asx";
        TITLE="BBC Radio 4"

        # Stream temporary files
        FIFO=/tmp/internetradio${PARAMETER}.fifo
       ;;


esac


Being in bbcradio.sh. mplayer and ffmpeg are bother created. (as per the example script) with a different fifo each, but VDR is sending the same PORT to all streams, so if I change channel I get the two streams mixed together.



_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux