Hi,

Just a quick note to say its solved. The 400 error was caused by bad credentials, I had to use the Icecast admin login in order to change the now and next data. Was under the impression that it should use the source user name which obviously wasn't the case.

Thanks all for continuing to put up with my interruptions,

Wayne


On 08/04/13 18:32, MICHAEL SMITH wrote:
That was going to be my next suggestion!

The only other thing I did when I couldn't get this working was to recompile just the rlm module. Notes I made for myself are below:

Make sure libcurl4-gnutls-dev is installed and curl
Build the rlm by going to the Rivendell rlm source dir and editing the rlm_icecast2.c file so that #include <rlm/rlm/h> reads #include "rlm.h" (this might need to be the full location e.g. /home/user/source etc.../rlm.h)
Then type:
gcc -fPIC -Wall -lcurl -I.. -shared rlm_icecast2.c -o rlm_icecast2.rlm
Again: full path names may be required
Copy the rlm file and the conf file to your chosen directory

Mike


------------------------------------------------------------------------
*From:* Wayne Merricks <[email protected]>
*To:* User discussion about the Rivendell Radio Automation System <[email protected]>
*Sent:* Monday, 8 April 2013, 18:25
*Subject:* Re: [RDD] Confused: RLM Icecast2

Hi again,

Sorry being the idiot that I am, the libs were there but the tool
wasn't.  Fixed that and now dealing with HTTP 400 errors

"GET /admin/metadata HTTP/1.1" 400 83 "-" "curl/7.26.0" 0"

At least I have something to go on now.

Thanks again,

Wayne

On 08/04/13 18:23, Mike wrote:
>
> Wayne Merricks <[email protected] <mailto:[email protected]>> wrote:
>
>> Hi,
>>
>> I have a source install and I do have libcurl as far as I'm aware,
>> synaptic shows the following curl related packages as installed:
>>
>> libcurl4-gnutls-dev
>> libcurl3-gnutls
>> libcurl3
>>
>> Regards,
>>
>> Wayne
>>
>> On 08/04/13 17:30, Mike wrote:
>>> Hi Wayne,
>>> Did you compile from source?
>>> Have you installed curl?
>>> Mike
>>>
>>> Wayne Merricks <[email protected] <mailto:[email protected]>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Theres been quite a delay since I've been able to look at this again.
>>>> Write File works fine, its just the icecast part thats giving me grief.
>>>>
>>>> I'm still not sure why icecast is not connecting.  Has anyone on the
>>>> list actually used icecast now and next since it all changed?
>>>>
>>>> Regards,
>>>>
>>>> Wayne
>>>>
>>>> On 28/01/13 19:17, Alessio Elmi wrote:
>>>>> I know it's a noob approach... try with something easier (like
>>>>> write-file RLM) and check if it works. In that case work on the
>>>>> icecast side...
>>>>>
>>>>> 2013/1/28 Wayne Merricks <[email protected] <mailto:[email protected]>>:
>>>>>> Hi all,
>>>>>>
>>>>>> This is probably something trivial that I've misunderstood. I'm trying >>>>>> to get riv to send the now playing data to an Icecast 2 server. The >>>>>> audio is already being fed by an external machine hanging off the end of
>>>>>> the broadcast chain.
>>>>>>
>>>>>> After enabling rlm_icecast2 under the host now and next nothing seems to
>>>>>> actually happen.
>>>>>>
>>>>>> Heres what I did up until now:
>>>>>>
>>>>>> rdadmin -> edit hosts -> myhost -> rdairplay -> configure now and next
>>>>>>
>>>>>> Inside there are fields for IP addresses, I ignored all of those and >>>>>> added an RLM to be loaded. Browsed to rlm_icecast2 and then gave it an
>>>>>> argument of: /home/myuser/icecast.conf
>>>>>>
>>>>>> Inside icecast.conf I copied the source/conf/rlm_icecast2.conf and
>>>>>> edited it to the following:
>>>>>>
>>>>>> [Icecast1]
>>>>>> Username=source
>>>>>> Password=my_password
>>>>>> Hostname=ip_of_icecast_server
>>>>>> Tcpport=8000
>>>>>> Mountpoint=/stream
>>>>>> FormatString=%t
>>>>>> MasterLog=Yes
>>>>>> Aux1Log=No
>>>>>> Aux2Log=No
>>>>>>
>>>>>> Saved everything and quit airplay. Loaded it back up and played a
>>>>>> random song with no change to the now playing info.
>>>>>>
>>>>>> The groups have now and next enabled, are there any logs I can look at
>>>>>> which might shed some light on the situation?
>>>>>>
>>>>>> I've looked in syslog on the riv client and the icecast machine as well
>>>>>> as the icecast log on the icecast machine with no luck.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Wayne
>>>>>> _______________________________________________
>>>>>> Rivendell-dev mailing list
>>>>>> [email protected] <mailto:[email protected]>
>>>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>>> _______________________________________________
>>>>> Rivendell-dev mailing list
>>>>> [email protected] <mailto:[email protected]>
>>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected] <mailto:[email protected]>
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>> _______________________________________________
>> Rivendell-dev mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> _______________________________________________
> Rivendell-dev mailing list
> [email protected] <mailto:[email protected]>
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected] <mailto:[email protected]>
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev




_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to