mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2024-04-10 Fred Gleason <fredg@paravelsystems.com>
* Stubbed out a 'pypad_sftpfilewrite.py'. PyPAD script. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
97
apis/pypad/scripts/pypad_sftpwrite.exemplar
Normal file
97
apis/pypad/scripts/pypad_sftpwrite.exemplar
Normal file
@@ -0,0 +1,97 @@
|
||||
; This is the configuration for the 'pypad_sftpwrite' script for
|
||||
; Rivendell, which can be used to a remote system via the SFTP protocol
|
||||
; using Now & Next data.
|
||||
|
||||
; Section Header
|
||||
;
|
||||
; One section per file to be written should be configured, starting with
|
||||
; 'Url1' and working up consecutively
|
||||
[Url1]
|
||||
|
||||
; Url
|
||||
;
|
||||
; The URL to which to send the file, which may contain filepath
|
||||
; wildcards as defined in Appendix C of the Rivendell Operations and
|
||||
; Administration Guide.
|
||||
;
|
||||
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'
|
||||
; appendix of the Rivendell Operations Guide.
|
||||
;
|
||||
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 - "URL" escaping: Escape reserved characters as per RFC 2396 Section 2.4
|
||||
; 3 - "JSON" escaping: Escape reserved characters as per ECMA-404
|
||||
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
|
||||
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...
|
||||
Reference in New Issue
Block a user