Re: [RDD] Streaming Troubles with edcast_jack

2013-01-12 Thread Joseph Matthews
Thanks to all of you who provided input on this matter. Special thanks to you, 
Wayne, for the excellent tutorials you have provided! My ultimate solution was 
to upgrade to Wheezy (it seemed logical since most of liquidsoap's dependencies 
were Wheezy packages). I was not able to get the liquidsoap init to work, but I 
am able to start it from the JACK post-start script just fine. The broad 
functionality of liquidsoap is very nice, although its configuration is 
somewhat less than straightforward. Liquidsoap sends the stream to a local 
Icecast server, which is relayed by Live365. Metadata updates directly to 
Live365 via rom_shoutcast. 

Thanks again everyone! 

Joey Matthews
___
Beautiful 97 WRSA-DB
Sparkling music. All day, all night, all the time at http://beautiful97.com/

On Jan 4, 2013, at 4:32 AM, Wayne Merricks  
wrote:

> Hi,
> 
> The darkice problems are likely a mix of things.  Its very likely that the 
> flakiness was entirely my own fault.  
> 
> To illustrate my setup is as follows [Broadcast Chain Presented on an Audio 
> Distributer Amp] -> Sound Card of Some description -> PC running JACK -> 
> Darkice -> Icecast on the same machine
> 
> First of all I was using an old 0.2 version from the Ubuntu repos on Ubuntu 
> 10.04.  This version died within 48 hours when strung together as above.
> 
> I compiled version 1.something from source and initially thought it was going 
> great.  It worked fine for about a month and then the stream started 
> skipping.  So I used cron to restart it every week.
> 
> After about 12 months I started having crashes nearly every day at that point 
> I gave up and looked at liquidsoap.  I'm glad I did mostly for some of the 
> extra features of liquidsoap (silence monitoring and triggered events e.g. 
> silence = email me).
> 
> I have no idea why darkice didn't work, it may be an Ubuntu thing.  All I 
> know for certain is the machine was never updated as it was not exposed to 
> any nefarious people and yet it still seemed to be on a downward spiral of 
> ever more frequent crashes.
> 
> Liquidsoap is currently running on exactly the same machine just with Ubuntu 
> 12.04 Server and its been fine ever since.
> 
> Wayne Merricks
> The Voice Asia
> On 04/01/13 02:00, Tim Camp wrote:
>> sorry to jump into the stream and not be of any help, however I am very 
>> curious as I keep hearing people saying over and over there having trouble 
>> with darkice or that darkice works fine and then after a while stops working 
>> or crashes.
>> Reason I am curious about this is I have been running darkice on 6 different 
>> streams for over 2 years and they have never stopped. Could it be that the 
>> problem is not with darkice but actually with Jack, Maybe overruns, Also I 
>> think the important question is, Is there an audio card involved?, Is alsa 
>> involved?, the reason I ask is my 6 streams which have been up for over 2 
>> years are running dummy in Jack. Straight from Rivendell into darkice. Just 
>> questions I know, sorry.
>> 
>> On Jan 3, 2013 6:17 PM, "Joseph Matthews"  wrote:
>> $ ps -u
>> Warning: bad ps syntax, perhaps a bogus '-'? See 
>> http://procps.sf.net/faq.html
>> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
>> 1000  2257  0.0  0.5   7980  5372 pts/0Ss   12:59   0:01 -bash
>> 1000  2970  0.0  0.2   5664  2984 pts/1Ss   16:29   0:00 bash
>> 1000  3047 28.5  8.1 114224 84004 pts/1SLl+ 16:35  27:46 edcast_jack 
>> -c
>> 1000  3186  0.0  0.1   3876  1052 pts/0R+   18:12   0:00 ps -u
>> 
>> Joey Matthews
>> ___
>> Beautiful 97 WRSA-DB
>> Sparkling music. All day, all night, all the time at http://beautiful97.com/
>> 
>> On Jan 3, 2013, at 5:23 PM, Cowboy  wrote:
>> 
>>> On Thursday 03 January 2013 05:40:54 pm Joseph Matthews wrote:
>>>> How can I tell which user is "running" lame?
>>>> 
>>> 
>>> ps -u
>>> 
>>> -- 
>>> Cowboy
>>> 
>>> http://cowboy.cwf1.com
>>> 
>>> Scrubbing floors and emptying bedpans has as much dignity as the
>>> Presidency.
>>>   -- Richard Nixon
>>> 
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>> 
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@li

Re: [RDD] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
I'm not working with sc_serv, it's Live365's "nanocaster" or whatever they call 
it. And as mentioned previously, Live65 can be very finnicky. They are a 
tremendous thorn in the side, but I have to live with it for the time being at 
least.

Joey Matthews


On Jan 3, 2013, at 9:34 PM, Tim Camp  wrote:

> Funny, cause I run dark ice into sc_serv for shoutcast
> 
> On Jan 3, 2013 8:41 PM, "Joseph Matthews"  wrote:
> I forgot to add that the connections are as follows: Rivendell -> JACK -> 
> jack-rack -> edcast_jack
> 
> Joey Matthews
> xcint...@gmail.com
> 
> On Jan 3, 2013, at 8:39 PM, Joseph Matthews  wrote:
> 
>> I was using a sound card with ALSA, but it's not needed. I am currently 
>> running in dummy mode and find the same results either way.
>> 
>> I had initially tried darkice a couple of years ago but was never able to 
>> get it working in SHOUTcast mode. As I recall, Icecast worked fine. Live365 
>> requires a SHOUTcast stream.
>> 
>> Joey Matthews
>> xcint...@gmail.com
>> 
>> On Jan 3, 2013, at 8:00 PM, Tim Camp  wrote:
>> 
>>> sorry to jump into the stream and not be of any help, however I am very 
>>> curious as I keep hearing people saying over and over there having trouble 
>>> with darkice or that darkice works fine and then after a while stops 
>>> working or crashes.
>>> Reason I am curious about this is I have been running darkice on 6 
>>> different streams for over 2 years and they have never stopped. Could it be 
>>> that the problem is not with darkice but actually with Jack, Maybe 
>>> overruns, Also I think the important question is, Is there an audio card 
>>> involved?, Is alsa involved?, the reason I ask is my 6 streams which have 
>>> been up for over 2 years are running dummy in Jack. Straight from Rivendell 
>>> into darkice. Just questions I know, sorry.
>>> 
>>> On Jan 3, 2013 6:17 PM, "Joseph Matthews"  wrote:
>>> $ ps -u
>>> Warning: bad ps syntax, perhaps a bogus '-'? See 
>>> http://procps.sf.net/faq.html
>>> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
>>> 1000  2257  0.0  0.5   7980  5372 pts/0Ss   12:59   0:01 -bash
>>> 1000  2970  0.0  0.2   5664  2984 pts/1Ss   16:29   0:00 bash
>>> 1000  3047 28.5  8.1 114224 84004 pts/1SLl+ 16:35  27:46 
>>> edcast_jack -c
>>> 1000  3186  0.0  0.1   3876  1052 pts/0R+   18:12   0:00 ps -u
>>> 
>>> Joey Matthews
>>> ___
>>> Beautiful 97 WRSA-DB
>>> Sparkling music. All day, all night, all the time at http://beautiful97.com/
>>> 
>>> On Jan 3, 2013, at 5:23 PM, Cowboy  wrote:
>>> 
>>>> On Thursday 03 January 2013 05:40:54 pm Joseph Matthews wrote:
>>>>> How can I tell which user is "running" lame?
>>>>> 
>>>> 
>>>> ps -u
>>>> 
>>>> -- 
>>>> Cowboy
>>>> 
>>>> http://cowboy.cwf1.com
>>>> 
>>>> Scrubbing floors and emptying bedpans has as much dignity as the
>>>> Presidency.
>>>>-- Richard Nixon
>>>> 
>>>> ___
>>>> 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
>> 
> 
> 
> ___
> 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


Re: [RDD] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
I forgot to add that the connections are as follows: Rivendell -> JACK -> 
jack-rack -> edcast_jack

Joey Matthews
xcint...@gmail.com

On Jan 3, 2013, at 8:39 PM, Joseph Matthews  wrote:

> I was using a sound card with ALSA, but it's not needed. I am currently 
> running in dummy mode and find the same results either way.
> 
> I had initially tried darkice a couple of years ago but was never able to get 
> it working in SHOUTcast mode. As I recall, Icecast worked fine. Live365 
> requires a SHOUTcast stream.
> 
> Joey Matthews
> xcint...@gmail.com
> 
> On Jan 3, 2013, at 8:00 PM, Tim Camp  wrote:
> 
>> sorry to jump into the stream and not be of any help, however I am very 
>> curious as I keep hearing people saying over and over there having trouble 
>> with darkice or that darkice works fine and then after a while stops working 
>> or crashes.
>> Reason I am curious about this is I have been running darkice on 6 different 
>> streams for over 2 years and they have never stopped. Could it be that the 
>> problem is not with darkice but actually with Jack, Maybe overruns, Also I 
>> think the important question is, Is there an audio card involved?, Is alsa 
>> involved?, the reason I ask is my 6 streams which have been up for over 2 
>> years are running dummy in Jack. Straight from Rivendell into darkice. Just 
>> questions I know, sorry.
>> 
>> On Jan 3, 2013 6:17 PM, "Joseph Matthews"  wrote:
>> $ ps -u
>> Warning: bad ps syntax, perhaps a bogus '-'? See 
>> http://procps.sf.net/faq.html
>> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
>> 1000  2257  0.0  0.5   7980  5372 pts/0Ss   12:59   0:01 -bash
>> 1000  2970  0.0  0.2   5664  2984 pts/1Ss   16:29   0:00 bash
>> 1000  3047 28.5  8.1 114224 84004 pts/1SLl+ 16:35  27:46 edcast_jack 
>> -c
>> 1000  3186  0.0  0.1   3876  1052 pts/0R+   18:12   0:00 ps -u
>> 
>> Joey Matthews
>> _______
>> Beautiful 97 WRSA-DB
>> Sparkling music. All day, all night, all the time at http://beautiful97.com/
>> 
>> On Jan 3, 2013, at 5:23 PM, Cowboy  wrote:
>> 
>>> On Thursday 03 January 2013 05:40:54 pm Joseph Matthews wrote:
>>>> How can I tell which user is "running" lame?
>>>> 
>>> 
>>> ps -u
>>> 
>>> -- 
>>> Cowboy
>>> 
>>> http://cowboy.cwf1.com
>>> 
>>> Scrubbing floors and emptying bedpans has as much dignity as the
>>> Presidency.
>>> -- Richard Nixon
>>> 
>>> ___
>>> 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
> 

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


Re: [RDD] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
I was using a sound card with ALSA, but it's not needed. I am currently running 
in dummy mode and find the same results either way.

I had initially tried darkice a couple of years ago but was never able to get 
it working in SHOUTcast mode. As I recall, Icecast worked fine. Live365 
requires a SHOUTcast stream.

Joey Matthews
xcint...@gmail.com

On Jan 3, 2013, at 8:00 PM, Tim Camp  wrote:

> sorry to jump into the stream and not be of any help, however I am very 
> curious as I keep hearing people saying over and over there having trouble 
> with darkice or that darkice works fine and then after a while stops working 
> or crashes.
> Reason I am curious about this is I have been running darkice on 6 different 
> streams for over 2 years and they have never stopped. Could it be that the 
> problem is not with darkice but actually with Jack, Maybe overruns, Also I 
> think the important question is, Is there an audio card involved?, Is alsa 
> involved?, the reason I ask is my 6 streams which have been up for over 2 
> years are running dummy in Jack. Straight from Rivendell into darkice. Just 
> questions I know, sorry.
> 
> On Jan 3, 2013 6:17 PM, "Joseph Matthews"  wrote:
> $ ps -u
> Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
> USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
> 1000  2257  0.0  0.5   7980  5372 pts/0Ss   12:59   0:01 -bash
> 1000  2970  0.0  0.2   5664  2984 pts/1Ss   16:29   0:00 bash
> 1000  3047 28.5  8.1 114224 84004 pts/1SLl+ 16:35  27:46 edcast_jack 
> -c
> 1000  3186  0.0  0.1   3876  1052 pts/0R+   18:12   0:00 ps -u
> 
> Joey Matthews
> ___
> Beautiful 97 WRSA-DB
> Sparkling music. All day, all night, all the time at http://beautiful97.com/
> 
> On Jan 3, 2013, at 5:23 PM, Cowboy  wrote:
> 
>> On Thursday 03 January 2013 05:40:54 pm Joseph Matthews wrote:
>>> How can I tell which user is "running" lame?
>>> 
>> 
>> ps -u
>> 
>> -- 
>> Cowboy
>> 
>> http://cowboy.cwf1.com
>> 
>> Scrubbing floors and emptying bedpans has as much dignity as the
>> Presidency.
>>  -- Richard Nixon
>> 
>> ___
>> 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

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


Re: [RDD] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
$ ps -u
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
1000  2257  0.0  0.5   7980  5372 pts/0Ss   12:59   0:01 -bash
1000  2970  0.0  0.2   5664  2984 pts/1Ss   16:29   0:00 bash
1000  3047 28.5  8.1 114224 84004 pts/1SLl+ 16:35  27:46 edcast_jack -c
1000  3186  0.0  0.1   3876  1052 pts/0R+   18:12   0:00 ps -u

Joey Matthews
___
Beautiful 97 WRSA-DB
Sparkling music. All day, all night, all the time at http://beautiful97.com/

On Jan 3, 2013, at 5:23 PM, Cowboy  wrote:

> On Thursday 03 January 2013 05:40:54 pm Joseph Matthews wrote:
>> How can I tell which user is "running" lame?
>> 
> 
> ps -u
> 
> -- 
> Cowboy
> 
> http://cowboy.cwf1.com
> 
> Scrubbing floors and emptying bedpans has as much dignity as the
> Presidency.
>   -- Richard Nixon
> 
> ___
> 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] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
How can I tell which user is "running" lame?

No, you weren't snappy, I was just frustrated at myself for forgetting the 
entire reason for sending that reply. I've had some crossed wires in my brain 
lately it would seem.

I like the idea of changing the buffer size, but I'm not sure how to do that. I 
thought that the 512 comes from the frames/period of 128 times four 
periods/buffer I tried other values for frames/period with the same result with 
edcast_jack ("ringbuffer full, tried to write 4096, but available 4095"). But 
when I change to 2 periods/buffer I get the same response ("ringbuffer full, 
tried to write 512, but available 511").

When I run sudo darkice I get a different output, which seems to indicate there 
may be a permissions problem. The output seems to show that darkice is trying 
to start JACK even though JACK is already running:

Using config file: /etc/darkice.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 3
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
Failed to connect to session bus for device reservation /usr/bin/dbus-launch 
terminated abnormally with the following error: Autolaunch error: X11 
initialization failed.


Failed to acquire device name : Audio0 error : Invalid argument
Audio device hw:0 cannot be acquired, trying to open it anyway...
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver Audigy2 running on card 0 - SB Audigy 2 ZS [SB0353] (rev.4, 
serial:0x10031102) at 0xcd80, irq 17
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
Registering as JACK client darkice-3063
DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]
JackTemporaryException : now quits...
jack main caught signal 2
Audio card Audio0 not found!!

Joey Matthews
xcint...@gmail.com

On Jan 3, 2013, at 3:16 PM, "Patrick Schmalstig / WRRJ Radio" 
 wrote:

> Okay. In that case it may be a problem with LAME. I heard sometimes it's a 
> permissions problem... that LAME needs to run as root and for whatever reason 
> LAME is not running as root.
> 
> Sorry if I sounded snappy when I said my question wasn't answered.
> 
> If it is a problem with LAME, possibly it's what's affecting edcast_jack as 
> well with the incorrect buffer sizes? Just for quirks... have you tried 
> setting buffer to 513 (haha if it's even possible)?
> 
> On Thu, Jan 3, 2013 at 4:11 PM, Joseph Matthews  wrote:
> I'm sorry! Yes, I did check and re-check the config. Everything appears to be 
> in order.
> 
> Joey Matthews
> ___
> 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] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
I'm sorry! Yes, I did check and re-check the config. Everything appears to be 
in order.

Joey Matthews
___
Beautiful 97 WRSA-DB
Easy listening music just for you Beautiful97.com

On Jan 3, 2013, at 3:04 PM, "Patrick Schmalstig / WRRJ Radio" 
 wrote:

> Typically that means Darkice was not able to connect to your Shoutcast server 
> for whatever reason.
> 
> My question was not answered though. Did you double check your darkice config 
> for the pointers I have stated?
> 
> On Thu, Jan 3, 2013 at 4:01 PM, Joseph Matthews  wrote:
> When I run darkice I see it appear in JACK Control's Connections window 
> briefly, then disappear. Here is the full output:
> 
> Using config file: /etc/darkice.cfg
> Using JACK audio server as input device.
> Using POSIX real-time scheduling, priority 3
> Registering as JACK client darkice-2562
> DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]
> Segmentation fault
> 
> Joey Matthews
> xcint...@gmail.com
> ___
> 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] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
When I run darkice I see it appear in JACK Control's Connections window 
briefly, then disappear. Here is the full output:

Using config file: /etc/darkice.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 3
Registering as JACK client darkice-2562
DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]
Segmentation fault

Joey Matthews
xcint...@gmail.com

On Jan 3, 2013, at 2:24 PM, "Patrick Schmalstig / WRRJ Radio" 
 wrote:

> Okay I'm not familiar with edcast_jack but when you had Darkice and 
> experienced this error did you make sure the following in your Darkice config?
> 
> *That your password was typed correctly
> *That your config was listed as [shoutcast-0]
> *That mount point was equal to nothing
> *That port number was set correctly (shoutcast source is the port number that 
> users connect to to listen + 1 so if Shoutcast streams on 8000 then darkice 
> must connect on 8001)
> *The [input] section read something like this:
> device = jack_auto
> sampleRate = 48000
> bitsPerSample = 16
> channel = 2
> (where you configured samplerate, bitspersample, and channel to equal that of 
> your JACK settings)
> 
> 
> 
> 
> On Thu, Jan 3, 2013 at 3:16 PM, Joseph Matthews  wrote:
> "lame lib opening underlying sink error [0]"
> 
> Joey Matthews
> ___
> Beautiful 97 WRSA-DB
> Easy listening music just for you Beautiful97.com
> 
> On Jan 3, 2013, at 2:10 PM, "Patrick Schmalstig / WRRJ Radio" 
>  wrote:
> 
>> What problems do you have when you tried Darkice?
> ___
> 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] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
"lame lib opening underlying sink error [0]"

Joey Matthews
___
Beautiful 97 WRSA-DB
Easy listening music just for you Beautiful97.com

On Jan 3, 2013, at 2:10 PM, "Patrick Schmalstig / WRRJ Radio" 
 wrote:

> What problems do you have when you tried Darkice?
> 
> On Thu, Jan 3, 2013 at 3:09 PM, Joseph Matthews  wrote:
> Hello all,
> 
> I have been using edcast_jack for over a year to stream to Live365 and have 
> had no trouble with it until recently. The stream has started periodically 
> skipping or disconnecting. edcast_jack reports "ringbuffer full, tried to 
> write 512, but available 511". Thus far I have been unable to find the cause 
> of this problem. I have tried different combinations of settings in JACK 
> (frames/period, etc.) and tried to renice the edcast_jack process, but the 
> problem persists.
> 
> I would consider using the SHOUTcast transcoder, but I can't figure out how 
> to configure it to use JACK as its input device. I have never had any luck 
> using darkice, and liquidsoap doesn't seem to me like the right tool for the 
> job.
> 
> Is anyone able to point me in the right direction to get edcast_jack working 
> properly again? If not, can someone suggest a means by which to have the 
> SHOUTcast transcoder register with JACK so that I can make the connection?
> 
> I appreciate any help you can provide. I have searched and searched the net 
> with no luck thus far.
> 
> Thanks,
> 
> Joey Matthews
> xcint...@gmail.com
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> 
> 
> 
> 
> -- 
> Signed,
> Patrick Schmalstig
> Founder/Administrator of WRRJ Radio
> https://www.wrrj.org
> 
> please remember: some of my emails are delayed 24 hours before I send them 
> out in order to give me time to check the content of my emails. Please call 
> me at 937-490-9775 if you need a faster reply.
> ___
> 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


[RDD] Streaming Troubles with edcast_jack

2013-01-03 Thread Joseph Matthews
Hello all,

I have been using edcast_jack for over a year to stream to Live365 and have had 
no trouble with it until recently. The stream has started periodically skipping 
or disconnecting. edcast_jack reports "ringbuffer full, tried to write 512, but 
available 511". Thus far I have been unable to find the cause of this problem. 
I have tried different combinations of settings in JACK (frames/period, etc.) 
and tried to renice the edcast_jack process, but the problem persists.

I would consider using the SHOUTcast transcoder, but I can't figure out how to 
configure it to use JACK as its input device. I have never had any luck using 
darkice, and liquidsoap doesn't seem to me like the right tool for the job.

Is anyone able to point me in the right direction to get edcast_jack working 
properly again? If not, can someone suggest a means by which to have the 
SHOUTcast transcoder register with JACK so that I can make the connection?

I appreciate any help you can provide. I have searched and searched the net 
with no luck thus far.

Thanks,

Joey Matthews
xcint...@gmail.com___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Automatic Log Generation

2012-11-23 Thread Joseph Matthews
I love stupid ideas, because they're always the best! I am afraid I am, at the 
ripe old age of 30, becoming prematurely senile… 

Of course, we gained an hour on the morning of November 11. I made no 
adjustments for this; therefore I presume on that evening the playlist ran 
short, the Chain-To came up before log had been generated and everything ground 
to a halt. But after the proper log was started again the next morning, 
shouldn't everything have gone back to normal?

The output of the command is:

josephmatthews@Dell-XPS:~$ rdlogmanager -g -s WRSADB -d 1
QTime::setHMS Invalid time 30:00:00.000
QTime::setHMS Invalid time 30:00:00.000
QTime::setHMS Invalid time 48:00:00.000
QTime::setHMS Invalid time 48:00:00.000
QTime::setHMS Invalid time 60:00:00.000
QTime::setHMS Invalid time 60:00:00.000
QTime::setHMS Invalid time 78:00:00.000
QTime::setHMS Invalid time 78:00:00.000
QTime::setHMS Invalid time 90:50:00.000
QTime::setHMS Invalid time 90:50:00.000
QTime::setHMS Invalid time 24:00:00.000
QTime::setHMS Invalid time 24:00:00.000
QTime::setHMS Invalid time 25:00:00.000
QTime::setHMS Invalid time 25:00:00.000
QTime::setHMS Invalid time 27:00:00.000
QTime::setHMS Invalid time 27:00:00.000
QTime::setHMS Invalid time 28:00:00.000
QTime::setHMS Invalid time 28:00:00.000
QTime::setHMS Invalid time 30:00:00.000
QTime::setHMS Invalid time 30:00:00.000
QTime::setHMS Invalid time 31:00:00.000
QTime::setHMS Invalid time 31:00:00.000
QTime::setHMS Invalid time 33:00:00.000
QTime::setHMS Invalid time 33:00:00.000
QTime::setHMS Invalid time 34:00:00.000
QTime::setHMS Invalid time 34:00:00.000
QTime::setHMS Invalid time 36:00:00.000
QTime::setHMS Invalid time 36:00:00.000
QTime::setHMS Invalid time 37:00:00.000
QTime::setHMS Invalid time 37:00:00.000
QTime::setHMS Invalid time 39:00:00.000
QTime::setHMS Invalid time 39:00:00.000
QTime::setHMS Invalid time 40:00:00.000
QTime::setHMS Invalid time 40:00:00.000
QTime::setHMS Invalid time 42:00:00.000
QTime::setHMS Invalid time 42:00:00.000
QTime::setHMS Invalid time 43:00:00.000
QTime::setHMS Invalid time 43:00:00.000
QTime::setHMS Invalid time 45:00:00.000
QTime::setHMS Invalid time 45:00:00.000
QTime::setHMS Invalid time 46:00:00.000
QTime::setHMS Invalid time 46:00:00.000
QTime::setHMS Invalid time 48:00:00.000
QTime::setHMS Invalid time 48:00:00.000
QTime::setHMS Invalid time 49:00:00.000
QTime::setHMS Invalid time 49:00:00.000
QTime::setHMS Invalid time 51:00:00.000
QTime::setHMS Invalid time 51:00:00.000
QTime::setHMS Invalid time 52:00:00.000
QTime::setHMS Invalid time 52:00:00.000
QTime::setHMS Invalid time 54:00:00.000
QTime::setHMS Invalid time 54:00:00.000
QTime::setHMS Invalid time 55:00:00.000
QTime::setHMS Invalid time 55:00:00.000
QTime::setHMS Invalid time 57:00:00.000
QTime::setHMS Invalid time 57:00:00.000
QTime::setHMS Invalid time 58:00:00.000
QTime::setHMS Invalid time 58:00:00.000
QTime::setHMS Invalid time 60:00:00.000
QTime::setHMS Invalid time 60:00:00.000
QTime::setHMS Invalid time 61:00:00.000
QTime::setHMS Invalid time 61:00:00.000
QTime::setHMS Invalid time 63:00:00.000
QTime::setHMS Invalid time 63:00:00.000
QTime::setHMS Invalid time 64:00:00.000
QTime::setHMS Invalid time 64:00:00.000
QTime::setHMS Invalid time 66:00:00.000
QTime::setHMS Invalid time 66:00:00.000
QTime::setHMS Invalid time 67:00:00.000
QTime::setHMS Invalid time 67:00:00.000
QTime::setHMS Invalid time 69:00:00.000
QTime::setHMS Invalid time 69:00:00.000
QTime::setHMS Invalid time 70:00:00.000
QTime::setHMS Invalid time 70:00:00.000
QTime::setHMS Invalid time 72:00:00.000
QTime::setHMS Invalid time 72:00:00.000
QTime::setHMS Invalid time 73:00:00.000
QTime::setHMS Invalid time 73:00:00.000
QTime::setHMS Invalid time 75:00:00.000
QTime::setHMS Invalid time 75:00:00.000
QTime::setHMS Invalid time 76:00:00.000
QTime::setHMS Invalid time 76:00:00.000
QTime::setHMS Invalid time 78:00:00.000
QTime::setHMS Invalid time 78:00:00.000
QTime::setHMS Invalid time 79:00:00.000
QTime::setHMS Invalid time 79:00:00.000
QTime::setHMS Invalid time 81:00:00.000
QTime::setHMS Invalid time 81:00:00.000
QTime::setHMS Invalid time 82:00:00.000
QTime::setHMS Invalid time 82:00:00.000
QTime::setHMS Invalid time 83:00:00.000

That final line is repeated several hundred times before the process exits. 
RDCatch log shows that proper macro cart is being executed properly at 23:30; 
it takes about 8.5 minutes to complete.

What am I missing?

Joey Matthews
xcint...@gmail.com

On Nov 23, 2012, at 3:49 AM, "Wayne Merricks"  
wrote:

> If you get the output of the command it will tell you the time Riv is 
> generating the log, stupid idea though, have your clocks gone back an hour 
> recently?
> 
> 
> -Original Message-
> From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Joseph 
> Matthews
> Sent: Fri 23/11/2012 02:07
> To: User discussion about the Rivendell Radio Automation System
> Subject: [RDD] Automatic Log Generati

[RDD] Automatic Log Generation

2012-11-22 Thread Joseph Matthews
Hi all!

I'm having a bit of trouble with RDLogManager generating the wrong day's log. 
RDCatch runs a macro cart each night at 23:30 to generate the next day's log:

RN rdlogmanager -g -s WRSADB -d 1!

What RDLogManager ends up generating is a log for the second day. For example, 
today is 11/22/2012, the current log is 2012_11_22 and the chain-to at the end 
of the log is for 2012_11_23. The log generated by RDLogManager is 2012_11_24.

I honestly have no idea what I could have changed to cause this to suddenly 
start happening. Any thoughts?

Thanks,

Joey Matthews
xcint...@gmail.com

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


Re: [RDD] Need help setting up Rivendell for Internet broadcast

2012-06-20 Thread Joseph Matthews
Luke,

I have been using Rivendell to run my Internet station for a couple years now, 
and I do have some background in broadcasting as well. I would be happy to 
help, but transportation may be an issue for me.

Can you provide more details about what you need and when?

Joey Matthews
xcint...@gmail.com

___
SimplyBeautiful.fm

Listen to the world's most beautiful music. Anytime!

http://simplybeautiful.fm

On Jun 20, 2012, at 12:52 PM, Luke Rogers  wrote:

> Hi, 
> 
> I'm working to start a Christian radio station in Birmingham, 
> Alabama--streaming on the Internet now and later buying a real station. I 
> need some onsite (I believe) help with Rivendell. I have browsed the ROG, but 
> without any radio background it's hard for me to grasp. 
> 
> A friend helped me install RRAbuntu, and I've created carts and imported 
> material. More recently someone sent me a clone of their radio station hard 
> drive with Kubuntu and Rivendell. I can browse the logs and get an idea of 
> what's going on, but I don't know how to modify them for our needs (switching 
> between programs on the computer and two different live feeds from the 
> Internet). 
> 
> So we would like to hire someone to spend a couple days helping set us up to 
> broadcast and teaching us how. Anybody interested? Or can you recommend 
> someone? 
> 
> Thanks, 
> 
> 
> Luke 
> -- 
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> 
> rivendell-dev-requ...@lists.rivendellaudio.org wrote:
> Send Rivendell-dev mailing list submissions to
>   rivendell-dev@lists.rivendellaudio.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> or, via email, send a message with subject or body 'help' to
>   rivendell-dev-requ...@lists.rivendellaudio.org
> 
> You can reach the person managing the list at
>   rivendell-dev-ow...@lists.rivendellaudio.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Rivendell-dev digest..."
> 
> 
> Today's Topics:
> 
>1. Rivendell now and next (Rich deRobles)
>2. Re: Rivendell now and next (Fred Gleason)
>3. Re: Rivendell now and next (Rich)
> 
> 
> 
> 
> Message: 1
> Date: Wed, 20 Jun 2012 00:39:16 + (UTC)
> From: Rich deRobles 
> Subject: [RDD] Rivendell now and next
> To: rivendell-dev@lists.rivendellaudio.org
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> We are using 1.7.1. 
> I want to send to a Inovonics RDS encoder 192.168.10.249
> port 10001.
> 
>  I can telent and use the command dps=test to display on the rds.
> 
> I entered dps=%t%r in the UDP string 
> and enabled to transmit in the group settings.
> 
> 
> The RDS has a debug mode to show data addressed to it. I see no data.
> 
> Do I need to load a RLM? How?
> 
> THanks Rich
> 
> 
> 
> 
> 
> 
> 
> Message: 2
> Date: Tue, 19 Jun 2012 20:58:13 -0400
> From: Fred Gleason 
> Subject: Re: [RDD] Rivendell now and next
> To: User discussion about the Rivendell Radio Automation System
>   
> Message-ID: <4972fbb0-53ef-4aa3-bf17-21505c017...@paravelsystems.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 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  |
> |
> |
> 
> 
> 
> 
> 
> Message: 3
> Date: Wed, 20 Jun 2012 10:50:43 -0500
> From: Rich 
> Subject: Re: [RDD] Rivendell now and next
> To: User discussion about the Rivendell Radio Automation System
>   
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
> 
> 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 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!
> >
> >
> > |
> |
> > 

Re: [RDD] Edcast

2012-03-10 Thread Joseph Matthews
I have been using edcast_jack successfully for several months now, but it is a 
real pain to get installed. As I recall, a couple mods in the Makefile were 
necessary to get it to compile.

I will look and see what I can find for you. I'll try to get you my modified, 
working copy of the source.

Joseph Matthews
xcint...@gmail.com


On Mar 10, 2012, at 7:14 PM, Scott Greene  wrote:

> Trying to manually install the Edcast_Jack to interface with Jack for 
> internet streaming from RD. Since the source is not packaged, I am having to 
> compile and install the package myself. Wondering if anyone could help me out 
> with an issue during ./configure.
> 
> I run 
>   ./configure
> 
> it runs until this error. 
>   ./configure: line 14577: syntax error near unexpected token 'newline'
>   ./configure: line 14577: 'AM_PATH_LIBFLAC
> 
> goes back to xx@xx:~/edcast_jack$ (prompt)
> 
> Google not helping at the moment. 
> 
> Any thoughts? 
> 
> -Scott
> 
>  
> ___
> 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] trafficgenny help

2012-02-27 Thread Joseph Matthews
Thank you! Everything seems to be working now. I will fiddle around with it for 
a while and see if I can figure everything out.

Thanks again!

Joseph Matthews
xcint...@gmail.com

On Feb 27, 2012, at 7:55 PM, Patrick Schmalstig / WRRJ Radio wrote:

> you then need to install php5-mysql. Use same method "sudo apt-get
> install php5-mysql" or other method.
> 
> On Mon, Feb 27, 2012 at 7:31 PM, Joseph Matthews  wrote:
>> The PHP error log shows:
>> 
>> PHP Fatal error:  Call to undefined function mysql_connect() in 
>> /var/www/trafficgenny/select1.php on line 3
>> 
>> Joseph Matthews
>> xcint...@gmail.com
>> 
>> On Feb 27, 2012, at 7:08 PM, Patrick Schmalstig / WRRJ Radio wrote:
>> 
>>> forgot to mention before adding that line to php.ini you'll need to
>>> create an empty /var/log/php5_error.log file and chmod it to 777.
>>> 
>>> On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
>>>  wrote:
>>>> Traffic logs by default saved in Apache2 logs (/var/log/apache2).
>>>> Sometimes though PHP errors do not get saved, in which case I had to
>>>> edit php.ini (/etc/php5/apache2/php.ini) to include the line
>>>> "error_log = /var/log/php5_error.log".
>>>> 
>>>> On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews  
>>>> wrote:
>>>>> I knew it was something really simple, thank you!
>>>>> 
>>>>> Now when I click "Submit" on the add.html page, I get a blank page 
>>>>> insert.php in the browser; trafficgenny.php generates a blank browser 
>>>>> window "insert1.php". There's no indication that any traffic log is being 
>>>>> generated, and if it is, where would it be saved?
>>>>> 
>>>>> Joseph Matthews
>>>>> xcint...@gmail.com
>>>>> 
>>>>> On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:
>>>>> 
>>>>>> sounds like you didn't install PHP on your system. If in linux, in a
>>>>>> terminal type "sudo apt-get install php5" or "sudo aptitude install
>>>>>> php5" or whatever command you use in your distro for your
>>>>>> repositories.
>>>>>> 
>>>>>> On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews  
>>>>>> wrote:
>>>>>>> Can anyone provide some basic help getting the trafficgenny PHP traffic
>>>>>>> scheduler working?
>>>>>>> 
>>>>>>> I have:
>>>>>>> 
>>>>>>> 1. Created a mySQL database:
>>>>>>> #mysql -u root -p
>>>>>>>> create database Traffic;
>>>>>>>> exit
>>>>>>> 
>>>>>>> 2. Import the .sql files into it:
>>>>>>> #mysql -u root -p Traffic < sheet.sql
>>>>>>> #mysql -u root -p Traffic < tempspnsrtimeslots.sql
>>>>>>> #mysql -u root -p Traffic < timeslots.sql
>>>>>>> 
>>>>>>> 3. Change the settings in dbinfo.inc.php:
>>>>>>> 
>>>>>>> >>>>>> $username="rivendell";
>>>>>>> $password="myPassword";
>>>>>>> $database="Traffic";
>>>>>>> ?>
>>>>>>> 
>>>>>>> 4. Placed all files in /var/www/trafficgenny
>>>>>>> 
>>>>>>> Accessing http://localhost/trafficgenny causes a PHP file 
>>>>>>> "trafficgenny" to
>>>>>>> download; Clicking "Submit" in add.html causes "insert.php" to be
>>>>>>> downloaded; accessing trafficgenny.php downloads the file
>>>>>>> "trafficgenny.php".
>>>>>>> 
>>>>>>> I'm sure I've done wrong something very simple, but can't seem to 
>>>>>>> figure it
>>>>>>> out.
>>>>>>> 
>>>>>>> Thanks for the help!
>>>>>>> 
>>>>>>> Joseph Matthews
>>>>>>> xcint...@gmail.com
>>>>>>> 
>>>>>>> ___
>>>>>>> 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
>>> ___
>>> 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

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


Re: [RDD] trafficgenny help

2012-02-27 Thread Joseph Matthews
The PHP error log shows:

PHP Fatal error:  Call to undefined function mysql_connect() in 
/var/www/trafficgenny/select1.php on line 3

Joseph Matthews
xcint...@gmail.com

On Feb 27, 2012, at 7:08 PM, Patrick Schmalstig / WRRJ Radio wrote:

> forgot to mention before adding that line to php.ini you'll need to
> create an empty /var/log/php5_error.log file and chmod it to 777.
> 
> On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
>  wrote:
>> Traffic logs by default saved in Apache2 logs (/var/log/apache2).
>> Sometimes though PHP errors do not get saved, in which case I had to
>> edit php.ini (/etc/php5/apache2/php.ini) to include the line
>> "error_log = /var/log/php5_error.log".
>> 
>> On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews  wrote:
>>> I knew it was something really simple, thank you!
>>> 
>>> Now when I click "Submit" on the add.html page, I get a blank page 
>>> insert.php in the browser; trafficgenny.php generates a blank browser 
>>> window "insert1.php". There's no indication that any traffic log is being 
>>> generated, and if it is, where would it be saved?
>>> 
>>> Joseph Matthews
>>> xcint...@gmail.com
>>> 
>>> On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:
>>> 
>>>> sounds like you didn't install PHP on your system. If in linux, in a
>>>> terminal type "sudo apt-get install php5" or "sudo aptitude install
>>>> php5" or whatever command you use in your distro for your
>>>> repositories.
>>>> 
>>>> On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews  
>>>> wrote:
>>>>> Can anyone provide some basic help getting the trafficgenny PHP traffic
>>>>> scheduler working?
>>>>> 
>>>>> I have:
>>>>> 
>>>>> 1. Created a mySQL database:
>>>>> #mysql -u root -p
>>>>>> create database Traffic;
>>>>>> exit
>>>>> 
>>>>> 2. Import the .sql files into it:
>>>>> #mysql -u root -p Traffic < sheet.sql
>>>>> #mysql -u root -p Traffic < tempspnsrtimeslots.sql
>>>>> #mysql -u root -p Traffic < timeslots.sql
>>>>> 
>>>>> 3. Change the settings in dbinfo.inc.php:
>>>>> 
>>>>> >>>> $username="rivendell";
>>>>> $password="myPassword";
>>>>> $database="Traffic";
>>>>> ?>
>>>>> 
>>>>> 4. Placed all files in /var/www/trafficgenny
>>>>> 
>>>>> Accessing http://localhost/trafficgenny causes a PHP file "trafficgenny" 
>>>>> to
>>>>> download; Clicking "Submit" in add.html causes "insert.php" to be
>>>>> downloaded; accessing trafficgenny.php downloads the file
>>>>> "trafficgenny.php".
>>>>> 
>>>>> I'm sure I've done wrong something very simple, but can't seem to figure 
>>>>> it
>>>>> out.
>>>>> 
>>>>> Thanks for the help!
>>>>> 
>>>>> Joseph Matthews
>>>>> xcint...@gmail.com
>>>>> 
>>>>> ___
>>>>> 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
> ___
> 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] trafficgenny help

2012-02-27 Thread Joseph Matthews
I knew it was something really simple, thank you!

Now when I click "Submit" on the add.html page, I get a blank page insert.php 
in the browser; trafficgenny.php generates a blank browser window 
"insert1.php". There's no indication that any traffic log is being generated, 
and if it is, where would it be saved?

Joseph Matthews
xcint...@gmail.com

On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:

> sounds like you didn't install PHP on your system. If in linux, in a
> terminal type "sudo apt-get install php5" or "sudo aptitude install
> php5" or whatever command you use in your distro for your
> repositories.
> 
> On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews  wrote:
>> Can anyone provide some basic help getting the trafficgenny PHP traffic
>> scheduler working?
>> 
>> I have:
>> 
>> 1. Created a mySQL database:
>> #mysql -u root -p
>>> create database Traffic;
>>> exit
>> 
>> 2. Import the .sql files into it:
>> #mysql -u root -p Traffic < sheet.sql
>> #mysql -u root -p Traffic < tempspnsrtimeslots.sql
>> #mysql -u root -p Traffic < timeslots.sql
>> 
>> 3. Change the settings in dbinfo.inc.php:
>> 
>> > $username="rivendell";
>> $password="myPassword";
>> $database="Traffic";
>> ?>
>> 
>> 4. Placed all files in /var/www/trafficgenny
>> 
>> Accessing http://localhost/trafficgenny causes a PHP file "trafficgenny" to
>> download; Clicking "Submit" in add.html causes "insert.php" to be
>> downloaded; accessing trafficgenny.php downloads the file
>> "trafficgenny.php".
>> 
>> I'm sure I've done wrong something very simple, but can't seem to figure it
>> out.
>> 
>> Thanks for the help!
>> 
>> Joseph Matthews
>> xcint...@gmail.com
>> 
>> ___
>> 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


[RDD] trafficgenny help

2012-02-27 Thread Joseph Matthews
Can anyone provide some basic help getting the trafficgenny PHP traffic 
scheduler working?

I have:

1. Created a mySQL database:
#mysql -u root -p
>create database Traffic;
>exit

2. Import the .sql files into it:
#mysql -u root -p Traffic < sheet.sql
#mysql -u root -p Traffic < tempspnsrtimeslots.sql
#mysql -u root -p Traffic < timeslots.sql

3. Change the settings in dbinfo.inc.php:

 

4. Placed all files in /var/www/trafficgenny

Accessing http://localhost/trafficgenny causes a PHP file "trafficgenny" to 
download; Clicking "Submit" in add.html causes "insert.php" to be downloaded; 
accessing trafficgenny.php downloads the file "trafficgenny.php".

I'm sure I've done wrong something very simple, but can't seem to figure it out.

Thanks for the help!

Joseph Matthews
xcint...@gmail.com ___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] icecast2 RML Configuration

2011-11-26 Thread Joseph Matthews
Hi all,

I have been having a difficult time trying to get the icecast2 module in 
Rivendell 2.1.1 to transmit Now Playing data to my local icecast server. Here's 
what I have done so far:

1.) RDAdmin > Manage Hosts > Edit > RDAirplay > Configure Now & Next Parameters
2.) Loadable Modules > Add > /usr/local/lib/rivendell/rlm_icecast2.rlm
3.) Added the path to rlm_icecast2.conf as the argument: /etc/rlm_icecast2.conf
4.) Created rlm_icecast2.conf:

server=localhost
port=8000
mountpoint=/listen.mp3
pass=
icecast=Icecast2

Everything seems to be in order, but still icecast isn't getting any Now 
Playing data. (And yes, "Transmit Now & Next data" is checked in most groups).

Please help?

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


Re: [RDD] Streaming Questions

2011-11-15 Thread Joseph Matthews
Ultimately this is what I had to do: patch darkice into Rivendell through JACK, 
point dark ice to a local icecast2 server, then point Live365 (in relay mode) 
to my icecast server. So far, everything is working excellent, except….

Live365 requires Now Playing met data to be sent along with the audio stream. I 
have added rlm_icecast2 in RDAdmin > Manage Hosts > RDAirplay > Configure Now & 
Next, and pointed it to my configuration file (Argument: 
'/etc/rlm_icecast2.conf'). Still, the icecast server is not receiving the data. 
Here is my rlm_icecast2.conf file:

; rlm_icecast2.conf
;
; This is the sample configuration file for the 'rlm_icecast2' module for 
; Rivendell, which can be used to update the metadata on an IceCast2 
; mountpoint using Now & Next data.
;
; To enable this module, add it to the 'Loadable Modules' list in 
; RDAdmin->ManageHosts->RDAirPlay->ConfigureNow&Next.  The 'Argument'
; field should point to the location of this file.
;
; This module requires the curl(1) network transfer tool, included with most
; Linux distros.  It is also available at http://curl.haxx.se/.


; Section Header
;
; One section per Icecast2 mountpoint is configured, starting with 
; 'Icecast1' and working up consecutively
[Icecast1]

; User Name
;
; The username of the Icecast2 account to which to send updates.
Username=source

; Password
;
; The password of the Icecast2 account to which to send updates.
Password=

; Host Name
;
; The fully-qualified domain name or IP address of the Icecast2 server
Hostname=localhost

; Host Port
;
; The TCP port number of the Icecast2 server
Tcpport=8000

; Mountpoint
;
; The Icecast2 mountpoint
Mountpoint=listen.mp3

; Format String.  The metadata to be sent each time RDAirPlay changes
; play state, including any wildcards as placeholders for metadata values.
; The following wildcards are available:
;
;  Now  Next  Field
;  --
;   %n   %N   The Rivendell cart number
;   %h   %H   Event length (in milliseconds)
;   %g   %G   The Rivendell group name
;   %t   %T   Title
;   %a   %A   Artist
;   %l   %L   Album
;   %y   %Y   Year
;   %b   %B   Record Label
;   %c   %C   Client
;   %e   %E   Agency
;   %m   %M   Composer
;   %p   %P   Publisher
;   %u   %U   User Definied
FormatString=%a  (%l) %t

; Log Selection
;
; Set the status for each log to 'Yes', 'No' or 'Onair' to indicate whether
; state changes on that log should be output to this account.  If set
; to 'Onair', then output will be generated only if RDAirPlays OnAir flag
; is active.
MasterLog=Yes
Aux1Log=No
Aux2Log=No

Everything appears to be configured accurately, but according to the icecast 
admin page (localhost:8000), no currently playing track shows up; Live365 
certainly isn't getting the data. I've tried to tweak everything I can think of 
in the rlm_icecast2.conf file, but to no avail. Any ideas?

Joseph Matthews


On Nov 13, 2011, at 8:24 AM, Rob Landry wrote:

> 
> I have a client that has been feeding Live365 from a Linux encoder for 
> several years. They have darkice feeding icecast running on the local 
> machine, and they have Live365 in relay mode pulling a stream from the 
> Icecast server. They rarely have a problem, and when they do, they can 
> connect to the Icecast server directly to determine whether it's their 
> problem or Live365's.
> 
> 
> Rob
> 
> On Thu, 10 Nov 2011, Wayne Merricks wrote:
> 
>> Sorry to break this to you but Live365 doesn't work with Linux streamers.  
>> They do funky things by hiding the ports the server is really on and you 
>> need to stream an MP3 format.  On top of this there are proprietary commands 
>> for turning the server on.  I ended up having to use an XP VM just to get 
>> this going, they aren't interested in making a Linux client either (check 
>> their forums for more info).
>> 
>> Regards,
>> 
>> Wayne
>> 
>> -Original Message-
>> From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Joseph 
>> Matthews
>> Sent: Thu 10/11/2011 19:07
>> To: User discussion about the Rivendell Radio Automation System
>> Subject: Re: [RDD] Streaming Questions
>> 
>> Perhaps I need a bit of clarification. I have installed darkice, and believe 
>> I have it configured correctly. My darkice.cfg:
>> 
>> [general]
>> duration= 0 # duration of encoding, in seconds. 0 means 
>> forever
>> bufferSecs  = 5 # size of internal slip buffer, in seconds
>> reconnect   = yes   # reconnect to the server(s) if disconnected
>> 
>> # this section describes the audio input that will be streamed
>> [input]
>> device  

Re: [RDD] Streaming Questions

2011-11-10 Thread Joseph Matthews
Can you then suggest a reasonable alternative to Live365 that WILL work with 
Linux?

Joseph Matthews

On Nov 10, 2011, at 6:02 PM, Wayne Merricks wrote:

> Sorry to break this to you but Live365 doesn't work with Linux streamers.  
> They do funky things by hiding the ports the server is really on and you need 
> to stream an MP3 format.  On top of this there are proprietary commands for 
> turning the server on.  I ended up having to use an XP VM just to get this 
> going, they aren't interested in making a Linux client either (check their 
> forums for more info).
> 
> Regards,
> 
> Wayne
> 
> -Original Message-
> From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Joseph 
> Matthews
> Sent: Thu 10/11/2011 19:07
> To: User discussion about the Rivendell Radio Automation System
> Subject: Re: [RDD] Streaming Questions
> 
> Perhaps I need a bit of clarification. I have installed darkice, and believe 
> I have it configured correctly. My darkice.cfg:
> 
> [general]
> duration= 0 # duration of encoding, in seconds. 0 means 
> forever
> bufferSecs  = 5 # size of internal slip buffer, in seconds
> reconnect   = yes   # reconnect to the server(s) if disconnected
> 
> # this section describes the audio input that will be streamed
> [input]
> device  = jack  # OSS DSP soundcard device for the audio input
> sampleRate  = 44100 # sample rate in Hz. try 11025, 22050 or 44100
> bitsPerSample   = 16# bits per sample. try 16
> channel = 2 # channels. 1 = mono, 2 = stereo
> 
> [icecast2-0]
> format  = vorbis
> bitrateMode = cbr
> bitrate = 96
> quality = 0.8
> server  = xxx.xxx.xx.xx   # Live365 IP address
> mountPoint  = # Live365 doesn't require a mount pint
> port= x   # Live365 port
> password= # Live365 account password
> public  = yes
> 
> As far as I can tell, this configuration is correct. However, when I run 
> darkice, I get this:
> 
> DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
> Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
> 
> Using config file: /etc/darkice.cfg
> Using JACK audio server as input device.
> Using POSIX real-time scheduling, priority 98
> Registering as JACK client darkice-12432
> DarkIce: VorbisLibEncoder.cpp:142: vorbis lib opening underlying sink error 
> [0]
> 
> From what I can tell Googling around, this error message typically means that 
> darkice can't connect to the server. Am I missing a step here?
> 
> Thanks for the help!
> 
> Joseph Matthews
> 
> On Nov 4, 2011, at 6:59 PM, James Harrison wrote:
> 
>> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>> 
>> Okay, here's how it fits together in theory:
>> 
>> * Rivendell talks to JACK, obviously
>> * Darkice accepts JACK input (configured in /etc/darkice.cfg usually)
>> and converts that audio to a stream of MPEG-3 data (or ogg, or whatnot)
>> * Icecast accepts that stream, and broadcasts it by retransmission
>> (effectively) to any clients who want to listen
>> 
>> So, all you need to do is connect darkice to Rivendell, point darkice at
>> an Icecast server (yours or a hosted one - will need appropriate
>> bandwidth) and point Live365 at your Icecast server.
>> 
>> The best way to set this up is probably using a small shell script - you
>> can connect ports with jack_connect. So if you configure darkice to
>> provide two ports named darkice:left and darkice:right, and want the
>> main RD output patched to that:
>> 
>> #!/bin/bash
>> # Run darkice in a screen session, detatched from this window (check my
>> options- doing this off memory so they may be wrong)
>> screen -DmS darkice darkice
>> # wait a bit
>> sleep 5
>> # patch it in
>> jack_connect rivendell:outport_left darkice:left
>> jack_connect rivendell:outport_right darkice:right
>> 
>> That should do the trick. If you want to just patch what you hear to
>> darkice you should check JACK's monitor mode - you can set up software
>> monitor ports so anything going out gets duplicated to an input you can
>> then patch to darkice.
>> 
>> Darkice is very much the way to go if you ask me but Liquidsoap is
>> another popular tool, if a little more complex to configure. It does
>> have the advantage of giving you more flexibility, and potentially some
>> processing of audio prior to TX, but I prefer to do that processing with
>> Jamin (a JACK audio mastering program, whic

Re: [RDD] Streaming Questions

2011-11-10 Thread Joseph Matthews
Perhaps I need a bit of clarification. I have installed darkice, and believe I 
have it configured correctly. My darkice.cfg:

[general]
duration= 0 # duration of encoding, in seconds. 0 means forever
bufferSecs  = 5 # size of internal slip buffer, in seconds
reconnect   = yes   # reconnect to the server(s) if disconnected

# this section describes the audio input that will be streamed
[input]
device  = jack  # OSS DSP soundcard device for the audio input
sampleRate  = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16# bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo

[icecast2-0]
format  = vorbis
bitrateMode = cbr
bitrate = 96
quality = 0.8
server  = xxx.xxx.xx.xx # Live365 IP address
mountPoint  =   # Live365 doesn't require a mount pint
port= x # Live365 port
password=   # Live365 account password
public  = yes

As far as I can tell, this configuration is correct. However, when I run 
darkice, I get this:

DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: /etc/darkice.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 98
Registering as JACK client darkice-12432
DarkIce: VorbisLibEncoder.cpp:142: vorbis lib opening underlying sink error [0]

>From what I can tell Googling around, this error message typically means that 
>darkice can't connect to the server. Am I missing a step here?

Thanks for the help!

Joseph Matthews

On Nov 4, 2011, at 6:59 PM, James Harrison wrote:

> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Okay, here's how it fits together in theory:
> 
> * Rivendell talks to JACK, obviously
> * Darkice accepts JACK input (configured in /etc/darkice.cfg usually)
> and converts that audio to a stream of MPEG-3 data (or ogg, or whatnot)
> * Icecast accepts that stream, and broadcasts it by retransmission
> (effectively) to any clients who want to listen
> 
> So, all you need to do is connect darkice to Rivendell, point darkice at
> an Icecast server (yours or a hosted one - will need appropriate
> bandwidth) and point Live365 at your Icecast server.
> 
> The best way to set this up is probably using a small shell script - you
> can connect ports with jack_connect. So if you configure darkice to
> provide two ports named darkice:left and darkice:right, and want the
> main RD output patched to that:
> 
> #!/bin/bash
> # Run darkice in a screen session, detatched from this window (check my
> options- doing this off memory so they may be wrong)
> screen -DmS darkice darkice
> # wait a bit
> sleep 5
> # patch it in
> jack_connect rivendell:outport_left darkice:left
> jack_connect rivendell:outport_right darkice:right
> 
> That should do the trick. If you want to just patch what you hear to
> darkice you should check JACK's monitor mode - you can set up software
> monitor ports so anything going out gets duplicated to an input you can
> then patch to darkice.
> 
> Darkice is very much the way to go if you ask me but Liquidsoap is
> another popular tool, if a little more complex to configure. It does
> have the advantage of giving you more flexibility, and potentially some
> processing of audio prior to TX, but I prefer to do that processing with
> Jamin (a JACK audio mastering program, which can do you a multiband
> compressor, lots of EQ and a lookahead limiter). You can patch in that
> or JACK-Rack or anything else like that (LinuxDSP has a multiband
> compressor with JACK support for instance) in the same way as described
> above. The jack_lsp (and jack_lsp -c) commands are helpful for
> debugging, and check out Patchage (available in the Ubuntu repos) for a
> nice simple GUI to help you play around with things.
> 
> Hope that helps!
> 
> Cheers,
> James Harrison
> 
> 
> On 04/11/2011 22:35, Joseph Matthews wrote:
>> I'm hoping that someone can perhaps provide me with a good starting
> point for streaming from Rivendell. I am using Rivendell 2.0.2 and JACK
> under Unbuntu 10.04 LTS. I want to stream directly from JACK to Live365.
> I have Googled and searched the Rivendell list, but really can't figure
> out where to start. I've read about dark ice, darksnow, icecast,
> edcast-jack…. But can't even begin to figure out how to configure
> anything or make connections to JACK.
>> 
>> Your help is greatly appreciated!
>> 
>> Joseph Matthews
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> htt

[RDD] Streaming Questions

2011-11-04 Thread Joseph Matthews
I'm hoping that someone can perhaps provide me with a good starting point for 
streaming from Rivendell. I am using Rivendell 2.0.2 and JACK under Unbuntu 
10.04 LTS. I want to stream directly from JACK to Live365. I have Googled and 
searched the Rivendell list, but really can't figure out where to start. I've 
read about dark ice, darksnow, icecast, edcast-jack…. But can't even begin to 
figure out how to configure anything or make connections to JACK.

Your help is greatly appreciated!

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