Rivendellaudio/apis/pypad/scripts/pypad_icecast2.exemplar
Fred Gleason c672155788 2021-08-31 Fred Gleason <fredg@paravelsystems.com>
* Added support for [NowGroups] and [NextGroups] sections in
	PyPAD script configurations.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-31 14:20:27 -04:00

97 lines
2.2 KiB
Plaintext

; This is the sample configuration for the 'pypad_icecast2.py' PyPAD script
; for Rivendell, which can be used to update the metadata on an Icecast2
; mountpoint using Now & Next data.
;
; 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 list of available wildcards can be found in the 'metadata_wildcards.txt'
; file in the Rivendell documentation directory.
;
FormatString=%a - %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
VLog101=No
VLog102=No
VLog103=No
VLog104=No
VLog105=No
VLog106=No
VLog107=No
VLog108=No
VLog109=No
VLog110=No
VLog111=No
VLog112=No
VLog113=No
VLog114=No
VLog115=No
VLog116=No
VLog117=No
VLog118=No
VLog119=No
VLog120=No
[NowGroups]
; Group Selection
;
; Filter updates according to the Group membership of the 'now' playing
; event. If no groups are listed here and in the [NextGroups] section,
; then ALL updates will be forwarded
; without regard to Group.
; Group1=MUSIC
; Group2=LEGAL
; [...] ; Additional groups can be added...
[NextGroups]
; Group Selection
;
; Filter updates according to the Group membership of the 'next' playing
; event. If no groups are listed here, If no groups are listed here and in
; the [NowGroups] section,then ALL updates will be forwarded
; without regard to Group.
; Group1=MUSIC
; Group2=LEGAL
; [...] ; Additional groups can be added...