; 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=hackme ; Host Name ; ; The fully-qualified domain name or IP address of the Icecast2 server Hostname=icecast.example.com ; Host Port ; ; The TCP port number of the Icecast2 server Tcpport=8000 ; Mountpoint ; ; The Icecast2 mountpoint Mountpoint=/audio.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 ; %r %R Conductor ; %s %S Song ID ; %u %U User Definied ; %o %O Outcue ; %i %I Description FormatString=%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=Yes Aux2Log=Yes ; Additional Icecast2 mountpoints can be configured by adding new sections... ;[Icecast2] ;Username=source ;Password=letmein ;Hostname=anotherone.example.com ;Tcpport=80 ;Mountpoint=moreaudio.mp3 ;FormatString=%t by %a ;MasterLog=Yes ;Aux1Log=No ;Aux2Log=Onair