; rlm_spinitron_plus.conf
;
; This is the sample configuration file for the 'rlm_spinitron_plus' module
; for Rivendell, which can be used log Now & Next data to the Spinitron
; online playlist service [http://www.spinitron.com].
;
; 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 Spinitron account is configured, starting with 
; 'Spinitron1' and working up consecutively
[Spinitron1]

; Station;
;
; The station to be used for the Spinitron account to which to log the
; play-out.
Station=wxyz

; Username
;
; Username for the Spinitron account to which to log the play-out.
Username=user@example.com

; Password
;
; The password of the Spinitron account to which to log the play-out.
Password=changeme

; PlaylistMode
;
; Set the Spinitron playlist mode to use when sending updates.
;
; (For a discussion of the implications of this setting on your
; Spinitron playlists, see Section 3.2 of the 'Spinitron Automation
; Integration' document, available from Spinitron).
;
; The following options are recognized:
;
;  Full - Always use the Spinitron 'Full Automation' mode.
;  Assist - Always use the Spinitron 'Live Assist' mode.
;  Follow - Use the Spinitron 'Full Automation' mode when RDAirPlay
;           is in Automatic, otherwise use the Spinitron 'Live Assist' mode.
PlaylistMode=Follow

; Title.  The string to be sent as the 'Title' field for each update,
; 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
Title=%t

; Artist.  The string to be sent as the 'Artist' field for each update,
; including any wildcards as placeholders for metadata values.
; (See the 'Title' section above for a list of available wildcards).
Artist=%a

; Album.  The string to be sent as the 'Album' field for each update,
; including any wildcards as placeholders for metadata values.
; (See the 'Title' section above for a list of available wildcards).
Album=%l

; Label.  The string to be sent as the 'Label' field for each update,
; including any wildcards as placeholders for metadata values.
; (See the 'Title' section above for a list of available wildcards).
Label=%b

; Composer.  The string to be sent as the 'Composer' field for each update,
; including any wildcards as placeholders for metadata values.
; (See the 'Title' section above for a list of available wildcards).
Composer=%m

; Notes.  The string to be sent as the 'Notes' field for each update,
; including any wildcards as placeholders for metadata values.
; (See the 'Title' section above for a list of available wildcards).
Notes=%u

; 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 Spinitron instances can be configured by adding new
; sections...
;
;[Spinitron2]
;Station=abcd
;Username=metoo
;Password=letmein
;Title=%t
;Artist=%a
;Album=%l
;Label=%b
;Composer=%m
;Notes=%u
;MasterLog=Yes
;Aux1Log=No
;Aux2Log=Onair
