mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-31 06:03:51 +01:00 
			
		
		
		
	* Changed the PyPAD namespace from 'PyPAD' to 'pypad'. * Changed the installation location of PyPAD scripts from '@libdir@/rivendell/PyPAD/' to '@libdir@/rivendell/pypad/'.
		
			
				
	
	
		
			106 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ; This is the sample configuration for the 'pypad_udp.py' PyPAD script for 
 | |
| ; Rivendell, which can be used to output Now & Next data to one or more
 | |
| ; remote UDP ports.
 | |
| 
 | |
| ; Section Header
 | |
| ;
 | |
| ; One section per remote UDP port is configured, starting with 'Udp1' and 
 | |
| ; working up consecutively
 | |
| [Udp1]
 | |
| 
 | |
| ; IP Address
 | |
| ;
 | |
| ; The IP address of the remote UDP port, in dotted-quad notation.
 | |
| IpAddress=127.0.0.1
 | |
| 
 | |
| ; UDP Port
 | |
| ;
 | |
| ; The UDP port number of the remote UDP port, in the range 0 - 65,535.
 | |
| UdpPort=1234
 | |
| 
 | |
| ; Format String.  The string to be output 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
 | |
| 
 | |
| ; Null Update Handling.  Defines how 'null' updates --i.e. those with a cart
 | |
| ; number of '0' -- should be handled.
 | |
| ;
 | |
| ;  0 - Process all updates regardless of cart values.
 | |
| ;  1 - Process update only if the 'now' cart is not null.
 | |
| ;  2 - Process update only if the 'next' cart is not null.
 | |
| ;  3 - Process update only if both the 'now' and 'next' carts are not null.
 | |
| ProcessNullUpdates=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 on this udp port.  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
 | |
| 
 | |
| 
 | |
| ; Additional UDP destinations can be configured by adding new sections...
 | |
| ;[Udp2]
 | |
| ;FormatString=Artist: %a%r
 | |
| ;IpAddress=192.168.10.22
 | |
| ;UdpPort=6789
 | |
| ;ProcessNullUpdates=0
 | |
| ;MasterLog=Yes
 | |
| ;Aux1Log=No
 | |
| ;Aux2Log=Onair
 | |
| ;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
 |