-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bit of a nasty kludge, but if netcat is dying regularly:

while true; do netcat blah; sleep 5; done

Best solution like Fred said is to update, though.

Cheers,
James Harrison

On 10 May 2012 22:17:06, Geoff Barkman wrote:
> May be there is something wrong to the process running in the
> background with an ampersand (&) ?
>
> If you wanted to get rid of the terminals and still run it the way you
> do. Bring up the non-graphical login screen on Ubuntu run one process
> on ALT-CTRL-F2 and the other on ALT-CTRL-F3. To return to the
> graphical environment hit ALT-CTRL-F7 (where your Rdairplay is
> running)
>
> On Thu, May 10, 2012 at 11:42 PM, Tom Dawson <t...@tomdawson.co.uk> wrote:
>> Not really a solution, but it has been working for us for nearly 3 months
>> now :) Also on Ubuntu 10.04 with 1.72 here... I just leave two terminal
>> windows running in the background - one for streamupdate.sh and and I
>> manually start the netcat process with settings in the other, for example:
>>
>> netcat -k -u -l 6868 > /home/user/streamdata/song.dat
>>
>> It's not especially elegant as there's a two terminal windows there, but
>> most of our presenters only use RDAirplay anyway so it isn't an issue for us
>> at present.
>>
>> Come to mention it, I was testing this on another machine the other day, and
>> netcat did die for me whenever it was launched from a script. I.e. it would
>> save one title update to the song.dat file but would then end. Thought
>> nothing of it as I was just experimenting, but could be an issue with
>> ubuntu/netcat maybe?
>>
>> I seem to remember Fred G mentioned something about RLMs for now/next data,
>> does anyone know if RD 2.X RLMs will work with 1.72? Or am I just being
>> daft?
>>
>> HTH
>>
>> Tom Dawson
>> FANTASY RADIO
>> www.fantasyradio.co.uk
>>
>>
>> On 10/05/2012 12:32, Geoff Barkman wrote:
>>>
>>> I've been following the instructions on the Rivendell Wiki.
>>>
>>>
>>> http://rivendell.tryphon.org/wiki/Streaming_from_Rivendell#Icecast2.2FShoutcast_Meta_Data_from_Rivendell
>>>
>>> I'm using Ubuntu 10.04 with Rivendell 1.72
>>> But netcat dies after a few mins of sending track titles to a shoutcast
>>> server.
>>>
>>> I've modified as per the instructions...
>>>
>>> NOTE: If you are using Ubuntu 10.04, due to changes in the netcat of
>>> this version, you'll have to change the options passed to "nc" in the
>>> "song.sh" file. Change
>>>
>>> netcat -l -u -p $port>  $songdat&
>>>
>>> to
>>>
>>> netcat -k -u -l $port>  $songdat&
>>>
>>>
>>> Anyone else had this problem and how did you solve it?
>>>
>>> Many thanks
>>> Geoff
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>
>>> --
>>> Regards,
>>> Tom Dawson
>>> Fantasy Radio
>>> www.fantasyradio.co.uk
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+sMpgACgkQ22kkGnnJQAzo4ACfWWVIs0XfHKAQopYBfWUoIy1s
870AnAmWtXjrtifHDZj4/bgAfh2oyOqB
=/XWb
-----END PGP SIGNATURE-----

_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to