mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-30 17:23:53 +01:00 
			
		
		
		
	* Fixed a bug in 'lib/rdcut.cpp' that caused the 'Title' value to be applied to the 'Description' field in the 'RDCut::setMetadata()' method. * Added 'docs/metadata_wildcards.txt'. * Implemented support for the '%i' ['Cut Description'] wildcard in rdimport(1)'s '--metadata-pattern' switch in 'utils/rdimport/rdimport.cpp' [Github Issue #6]. * Implemented support for the '%o' ['Outcue'] wildcard in rdimport(1)'s '--metadata-pattern' switch in 'utils/rdimport/rdimport.cpp'. * Implemented support for the '%y' ['Release Year'] wildcard in rdimport(1)'s '--metadata-pattern' switch in 'utils/rdimport/rdimport.cpp'.
		
			
				
	
	
		
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ; rlm_spottrap.conf
 | |
| ;
 | |
| ; This is the sample configuration file for the 'rlm_spottrap' module for 
 | |
| ; Rivendell, which can be used to output Now & Next data to one or more
 | |
| ; remote UDP ports on the basis of Group and Length.
 | |
| ;
 | |
| ; 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.
 | |
| ;
 | |
| ; Module configuration consists of a list of rules, each of which consists
 | |
| ; in turn with a set of filter parameters and actions.  Each PAD update is
 | |
| ; compared against the filter parameters of each rule.  If the filter matches,
 | |
| ; then the rule actions are performed.
 | |
| ;
 | |
| 
 | |
| ; Rule Header
 | |
| ;
 | |
| ; One section per rule is configured, starting with 'Rule1' and 
 | |
| ; working up consecutively
 | |
| [Rule1]
 | |
| 
 | |
| ; FILTER PARAMETERS
 | |
| ;
 | |
| ; Group Name
 | |
| ;
 | |
| ; The name of the Rivendell group to match.
 | |
| GroupName=BEDS
 | |
| 
 | |
| ; Minimum Length
 | |
| ;
 | |
| ; The minimum length, in milliseconds.  A PAD update with a Length of less
 | |
| ; than this value will not be matched.
 | |
| MinimumLength=0
 | |
| 
 | |
| ; Maximum Length
 | |
| ; The maximum length, in milliseconds.  A PAD update with a Length of more
 | |
| ; than this value will not be matched.  
 | |
| MaximumLength=10000000
 | |
| 
 | |
| ; ACTION PARAMETERS
 | |
| ;
 | |
| ; IP Address
 | |
| ;
 | |
| ; The IP address of the remote UDP port, in dotted-quad notation.
 | |
| IpAddress=192.168.10.30
 | |
| 
 | |
| ; UDP Port
 | |
| ;
 | |
| ; The UDP port number of the remote UDP port, in the range 0 - 65,535.
 | |
| UdpPort=5859
 | |
| 
 | |
| ; 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=DX 1 %h!
 | |
| 
 | |
| ; Default Format String.  Similar to the 'FormatString=' parameter described
 | |
| ; above, but this string is output when the rule *doesn't* match.  All of
 | |
| ; the wildcards described in the 'FormatString=' section apply here as well.
 | |
| DefaultFormatString=DX 1 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 RDAirPlay's OnAir flag
 | |
| ; is active.
 | |
| MasterLog=Yes
 | |
| Aux1Log=Yes
 | |
| Aux2Log=Yes
 | |
| 
 | |
| 
 | |
| ; Additional Rules can be configured by adding new sections...
 | |
| ;[Rule2]
 | |
| ;GroupName=TEST
 | |
| ;MinimumLength=0
 | |
| ;MaximumLength=1000000
 | |
| ;FormatString=Artist: %a%r
 | |
| ;DefaultFormatString=Artist: %a%r
 | |
| ;IpAddress=192.168.10.30
 | |
| ;UdpPort=6789
 | |
| ;MasterLog=Yes
 | |
| ;Aux1Log=No
 | |
| ;Aux2Log=Onair
 |