1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-04-12 15:52:29 +02:00
Rivendellaudio/conf/rlm_urlwrite.conf
Fred Gleason 1ac9a20c33 2017-08-03 Fred Gleason <fredg@paravelsystems.com>
* Added an 'rlm_urlwrite' RLM in 'rlm/rlm_urlwrite.c'.
2017-08-03 09:11:45 -04:00

75 lines
2.1 KiB
Plaintext

; rlm_urlwrite.conf
;
; This is the sample configuration file for the 'rlm_urlwrite' RLM for
; Rivendell, which can be used to send one or more files to a local or
; remote system 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.
; Section Header
;
; One section per file to be written should be configured, starting with
; 'File1' and working up consecutively
[Url1]
; Url
;
; The URL to which to send the file. The follow URL schemes are recognized:
; file://
; ftp://
; http:// (uses the PUT method)
; sftp://
;
Url=sftp://server.example.com/myfile.txt
; Username
;
; The username to be used when authenticating to the remote server.
;
Username=someuser
; Password
;
; The password to be used when authenticating to the remote server.
Password=hackme
; Format String. The string to be sent each time RDAirPlay changes
; play state, including any wildcards as placeholders for metadata values.
;
; The list of available wildcards can be found in the 'metadata_wildcards.txt'
; file in the Rivendell documentation directory.
;
FormatString=NOW: %d(ddd MMM d hh:mm:ss yyyy): %t - %a\nNEXT: %D(ddd MMM d hh:mm:ss yyyy): %T - %A\n
; Encoding. Defines the set of escapes to be applied to the PAD fields.
; The following options are available:
;
; 0 - Perform no character escaping.
; 1 - "XML" escaping: Escape reserved characters as per XML-v1.0
; 2 - "Web" escaping: Escape reserved characters as per RFC 2396 Section 2.4
Encoding=0
; Log Selection
;
; Set the status for each log to 'Yes', 'No' or 'Onair' to indicate whether
; state changes on that log should be output. If set to 'Onair', then
; output will be generated only if RDAirPlays OnAir flag is active.
MasterLog=Yes
Aux1Log=Yes
Aux2Log=Yes
; Additional files can be written by adding new sections...
;
;[Url2]
;Url=file:///home/rd/somefile.txt
;Username=janedoe
;Password=crackme
;FormatString=%t by %a\r\n
;Encoding=0
;MasterLog=Yes
;Aux1Log=No
;Aux2Log=Onair