forked from CIVLRadio/nowplaying
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnowplaying.cfg
More file actions
101 lines (92 loc) · 4.49 KB
/
Copy pathnowplaying.cfg
File metadata and controls
101 lines (92 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# nowplaying.cfg - config file for nowplaying.py
# config version 0.6.0
[Input]
# Settings for where and how to get the now playing info.
#
# type - The automation system you are using.
# The following options are supported:
# * rivendell - Rivendell. Supports 2.1.5 and later using the filewrite RLM (2.x)/PyPAD (3.x and later).
# * sam - SAM Broadcaster. Supports at least 4.8.0 and later.
# * azuracast - AzuraCast. Supports 0.17.6 and later. - EXPERIMENTAL AS HECK AND PROBABLY DOES NOT WORK YET
# * generic - A catch-all option. Should work with anything that can output now playing info to a text file.
# mode - Rivendell only: simple or fancy. Simple is will blindly read in and use whatever is in the watched file.
# Fancy will also include the cut description (useful if you're storing multiple version of the same song in one cart).
# Fancy REQUIRES (for now) the following wildcard format: %a\n%t\n%i
# default_cut_description - For fancy mode, the default cut title in the database.
# Any cut description that is NOT this value will be displayed in the metadata.
# directory - Folder where file is uploaded from automation.
# file - File inside directory to watch for updates.
# delete_file - True/False, should the file be deleted after reading? This might be needed for some more esoteric setups, e.g. FTP.
# push_file = True/False, should the file be pushed
type = rivendell
mode = fancy
directory = /ftp/upload/directory/here
file = nowplaying.txt
delete_file = False
push_file = False
[Icecast]
# Settings for updating an Icecast stream.
#
# enable - True/False, should Icecast be updated?
# server - Address of Icecast server where the stream is being broadcast.
# port - Port for Icecast. The default is usually 8000.
# ssl - True/False, use SSL for connection?
# mountpoint - Name of mountpoint to update. Do *not* include the preceding / - e.g. "live.mp3" rather than "/live.mp3"
# user - Source user for Icecast authentication, from icecast.xml on server.
# password - Source password for Icecast auth, also from icecast.xml on server.
enable = True
server = icecast.server
port = 8000
ssl = True
mountpoint = mount
user = source
password = hackme
[RDS]
# Settings for updating RDS.
#
# enable - True/False, should RDS be updated?
# protocol - Protocol to use when communicating with RDS encoder.
# The following options are supported:
# * inovonics - For Inovonics encoders (Novia 272, Model 732, Aaron 655)
# * deva - For DEVA Broadcast encoders (SmartGen series) - EXPERIMENTAL AS HECK AND PROBABLY DOES NOT WORK YET
# host - IP/hostname where RDS encoder is located.
# port - Port for Telnet access, set in encoder config. If the encoder is located on a different network, this port should be accessible from the internet.
# On Novia encoders the default is 10001.
# ps_prefix - Prefix command for sending PS data.
# On Novia encoders the default is DPS=
# rt_prefix - Prefix command for sending RT data.
# On Novia encoders the default is TEXT=
# dynamic_ps - True/False, should branding + now playing be sent as dynamic PS?
# Dynamic PS is not allowed in some countries, and in any case is *technically* noncompliant with the RDS standard.
# strip_separators - True/False, should separators (e.g. " - ") be removed from dynamic PS data? True is recommended for a cleaner look.
# separator - Separator to strip from dynamic PS data, wrapped in 'single quotes'. Most stations probably use ' - '.
enable = True
protocol = inovonics
host = rds.host
port = 10001
ps_prefix = DPS=
rt_prefix = TEXT=
dynamic_ps = False
strip_separators = True
separator = ' - '
[Branding]
# Settings for brandings to use on stream and RDS.
#
# long_branding - Used for Icecast.
# short_branding - Used for Icecast.
# rt_branding - Used for RDS RT.
# ps_branding - Used for RDS PS. Must be 8 characters or less if dynamic_ps is set to False.
# taglines - Generic promotional lines. These will be rotated through at random.
# taglines_on_rds - True/False, should RDS RT cycle between artist+song and taglines?
# taglines_switch_time - Number of seconds to wait before cycling between tagline and now playing info.
long_branding = 107.9 Ice Cream Radio
short_branding = Ice Cream Radio
rt_branding = 107.9 Ice Cream Radio
ps_branding = IceCream
taglines =
Wow!
You can place snappy slogans here.
Add as many as you like and one will be chosen randomly every cycle.
I like ponies :)
taglines_on_rds = false
taglines_switch_time = 10