I have two small scripts to do rds -- the first one:
nc -luk 5007 |tee /home/robert/nn.temp |nc -u somewhereelse 5007

The second one:
I add some characters XX ZZ or QQ to the strings that nownext sends
then take them back out with this script which also sends to the
serial port for our rds

#!/bin/bash
stty 2400 -F/dev/ttyS0
while true
do
artist=`tr "%^" "\n" </home/robert/nn.temp|grep -a ZZ|sed s/ZZ//g| sed
'/./,/^$/!d'`
album=`tr "%^" "\n" </home/robert/nn.temp|grep -a XX|sed s/XX//g |sed
'/./,/^$/!d'`
title=`tr "%^" "\n" </home/robert/nn.temp|grep -a QQ|sed s/QQ//g |sed
'/./,/^$/!d'`
if [ "$artist" ]
  then
 >/dev/ttyS0  "RT1="$artist";" $title
        cp /home/robert/nn.temp /home/robert/scripts/nn.temp
  #for a web recently played script
        cat /dev/null >/home/robert/nn.temp
fi
 sleep 2
done
exit 0


Have a great day,
Robert

On Wed, Jun 20, 2012 at 9:50 AM, Rich <rich.k...@gmail.com> wrote:
> We will eventually upgrade.
> Does the current now and next work?
> Is there any functionality to write the current playing cart info
> to a file? I can then use a python program to send it out.
>
> Rich
>
>
> On Tue, Jun 19, 2012 at 7:58 PM, Fred Gleason <fr...@paravelsystems.com>
> wrote:
>>
>> On Jun 19, 2012, at 20:39 16, Rich deRobles wrote:
>>
>> > We are using 1.7.1.  I want to send to a Inovonics RDS encoder
>> > 192.168.10.249 port 10001.
>> >
>> > Do I need to load a RLM? How?
>>
>> Upgrade to 2.x, which has an RLM that will do this.
>>
>> Cheers!
>>
>>
>>
>> |-------------------------------------------------------------------------|
>> | Frederick F. Gleason, Jr. |               Chief Developer
>> |
>> |                           |               Paravel Systems
>> |
>>
>> |-------------------------------------------------------------------------|
>> | Easiest Color to Solve on a Rubik's Cube:
>> |
>> |        Black.  Simply remove all the little colored stickers on the
>> |
>> | cube, and each of side of the cube will now be the original color of
>>  |
>> | the plastic underneath -- black.  According to the instructions, this
>> |
>> | means the puzzle is solved.
>> |
>> |                                        -- Steve Rubenstein
>>  |
>>
>> |-------------------------------------------------------------------------|
>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
>
>
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to