Re: [RDD] Streamdata (Song titles) to a shoutcast server
On 5/16/2012 10:09 AM, Matthew Chambers wrote: Similar problem; We're streaming using Abacast (uggh) that takes in Now-Next data via serial port, I have the serial rlm compiled and installed but it doesn't appear to be working. I followed these instructions here http://rivendell.tryphon.org/wiki/Rivendell_Loadable_Module_SDK_-_For_Sending_Now_%26_Next_Data_to_external_systems but used appropriate rlm code for 2.2 which is what we're running here. Oops, I just realized that I should have said 2.1.2 which is the version we are running here, I'm still not getting Now-Next data to come out the serial port :( Thanks -- Matthew A. Chambers, CBT Assist. Broadcast Engineer KWIX - KRES - KIRK - KTCM 300 West Reed Street Moberly, MO65270 660-263-1500 FAX: 660-269-8811 Cell: 660-676-3219 www.centralmoinfo.com Super Station KRES 104.7 FM Information Radio KWIX 1230 AM The Captain KIRK 99.9 FM Glory KTCM 97.3 FM On 5/13/2012 12:48 AM, Tom Dawson wrote: Hello all, After struggling with netcat for a while, I decided to try out the instructions found elsewhere on the Wiki, i.e. instead of using netcat to grab data, running some RML to get the now playing data out to the song.dat file as used in streamdata... Run: RN echo %a - %t# /home/fantasy/streamdata/song.dat! This has been working perfectly - with no change to the streamupdate.sh script, I'm just writing straight to the file with RML, not relying on netcat. However two nights in a row now, RDAirPlay appears to have just *stopped* echoing out to the song.dat file halfway through the night. However if you restart RDAirPlay it continues just fine. So I've gone back to netcat for now but any ideas why this might be happening? I know, I know, upgrade to 2.x - it's on the cards, honestly :) Thanks Tom Dawson FANTASY RADIO www.fantasyradio.co.uk On 10/05/2012 16:24, Fred Gleason wrote: On May 10, 2012, at 07:32 59, Geoff Barkman wrote: Anyone else had this problem and how did you solve it? Upgrade to 2.x, which includes an RLM for updating Shoutcast. Alternatively, you could backport that RLM to v1.x. Cheers! |-| | Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems | |-| | A room without books is like a body without a soul.| | -- Cicero | |-| ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Streamdata (Song titles) to a shoutcast server
Hello all, After struggling with netcat for a while, I decided to try out the instructions found elsewhere on the Wiki, i.e. instead of using netcat to grab data, running some RML to get the now playing data out to the song.dat file as used in streamdata... Run: RN echo %a - %t# /home/fantasy/streamdata/song.dat! This has been working perfectly - with no change to the streamupdate.sh script, I'm just writing straight to the file with RML, not relying on netcat. However two nights in a row now, RDAirPlay appears to have just *stopped* echoing out to the song.dat file halfway through the night. However if you restart RDAirPlay it continues just fine. So I've gone back to netcat for now but any ideas why this might be happening? I know, I know, upgrade to 2.x - it's on the cards, honestly :) Thanks Tom Dawson FANTASY RADIO www.fantasyradio.co.uk On 10/05/2012 16:24, Fred Gleason wrote: On May 10, 2012, at 07:32 59, Geoff Barkman wrote: Anyone else had this problem and how did you solve it? Upgrade to 2.x, which includes an RLM for updating Shoutcast. Alternatively, you could backport that RLM to v1.x. Cheers! |-| | Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems | |-| | A room without books is like a body without a soul.| | -- Cicero | |-| ___ 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
Re: [RDD] Streamdata (Song titles) to a shoutcast server
You're better off running a script with nohup taking charge of the command. nohup basically means the process will keep running after the terminal is closed (or your ssh session has ended). e.g on start up run: nohup command_to_run path_to_file_to_save_output This should make the command run in the background with all output logged to the file specified Wayne Merricks The Voice Asia 0121 522 6080 On 10/05/12 22:17, 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 Dawsont...@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 ### Scanned by MailMarshal ### Attention: The information contained in this message is confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Christian Vision or any of its subsidiaries will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. Please note that we reserve the right to monitor and read any e-mails sent or received by the company under the Telecommunications (Lawful Business Practice) (Interception of Communications) Regulation 2000. Christian Vision is registered in England as a limited company 2842414 and as a charity 1031031 ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Streamdata (Song titles) to a shoutcast server
On Friday 11 May 2012 08:11:59 Wayne Merricks wrote: nohup basically means the process will keep running after the terminal is closed (or your ssh session has ended). e.g on start up run: nohup command_to_run path_to_file_to_save_output This should make the command run in the background with all output logged to the file specified I like screen. I can reattach and see what is going on rather than looking at a file. Control things that can be controlled. I need to think if there are times where nohup would make more sense though. all the best, drew ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Streamdata (Song titles) to a shoutcast server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Screen and nohup are both handy tools; I read the original post as saying that the netcat instance was actually crashing rather than just not persisting through a closed window (though in this case, netcat would need to be run in screen/nohup in any case - I had assumed this was the case originally). Cheers, James Harrison On 11 May 2012 15:03:55, drew Roberts wrote: On Friday 11 May 2012 08:11:59 Wayne Merricks wrote: nohup basically means the process will keep running after the terminal is closed (or your ssh session has ended). e.g on start up run: nohup command_to_run path_to_file_to_save_output This should make the command run in the background with all output logged to the file specified I like screen. I can reattach and see what is going on rather than looking at a file. Control things that can be controlled. I need to think if there are times where nohup would make more sense though. all the best, drew ___ 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+tLV0ACgkQ22kkGnnJQAwjLACgtDTKOAUbMijYDkjZJmSW5xm6 MZkAnjFKuwVaTDmszbUFerUBkulXlSud =Ha6v -END PGP SIGNATURE- ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Streamdata (Song titles) to a shoutcast server
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
Re: [RDD] Streamdata (Song titles) to a shoutcast server
On May 10, 2012, at 07:32 59, Geoff Barkman wrote: Anyone else had this problem and how did you solve it? Upgrade to 2.x, which includes an RLM for updating Shoutcast. Alternatively, you could backport that RLM to v1.x. Cheers! |-| | Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems | |-| | A room without books is like a body without a soul.| | -- Cicero | |-| ___ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
Re: [RDD] Streamdata (Song titles) to a shoutcast server
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
Re: [RDD] Streamdata (Song titles) to a shoutcast server
-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