-
Notifications
You must be signed in to change notification settings - Fork 7
/
squeezy.conf
157 lines (136 loc) · 5.04 KB
/
squeezy.conf
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# absent some extraordinary coincidence, you will have to change the
# settings in this file to get anything useful out of squeezy
# ###############################################
# options:
# server <servername/address>
# port <portnumber>
# username <username>
# password <password>
# player <name>
# player <group-number> <name>
# shortcut <shortcut> <file/url>
# small_volume <amount>
# large_volume <amount>
# prefixpre <path>
# prefixpos <path>
#
# whitespace is not allowed within tokens (although extra whitespace
# between tokens is ok)
#
# ###############################################
# server
#
# server <hostname|IP> [<cli port>|<cli port> <json_port>|
# aws <AWS Access Id> <AWS Secret> <Queue Send URL> <Queue Recive URL>]
#
# - the server defaults to localhost, if no value is specified here
# - the port defaults to 9090, if no value is specified here
#
# - AWS Communication via Simple Queue service is now available.
# - <Queue Send URL> - AWS Access Id need send message, FIFO queue
# - <Queue Recive URL> - AWS Access Id needs revice and delete message, FIFO queue
#
# - autodiscovery will work in additon to this.
#server 192.168.4.72
#server 192.168.4.72 8080
#server 192.168.5.73 8080 8000
#server erebor aws 12345678901234567890 0123456789012345678901234567890123456789 https://sqs.us-west-2.amazonaws.com/123456789012/server-recv.fifo https://sqs.us-west-2.amazonaws.com/124742781706/squeezy1-recv.fifo
#port 9090
#verbose
#debug
# autodiscover servers (default yes)
autodiscover yes
# autodiscover players (default yes)
playerdiscover yes
# ###############################################
# authentication
# - if username is unset here, then no authentication takes place
# - if username is set here, then password must be set here too
#
# if you don't use authentication on your server, then just remove (or
# comment out) these two lines
#
#username blott
password YOUR_PASSWORD
# ###############################################
# players
#
# there are two formats for specifying players:
# - player <PLAYER_NAME>
# - player <GROUP_INDEX> <PLAYER_NAME> <SERVER> [<player_id(mac)>]
#
# - if <GROUP_INDEX> is omitted, then group 0 is assumed
# - the first player in group 0 is the default player; so, if you don't
# use groups at all, then that would be the first player listed here
# - <PLAYER_NAME> should be the human-readable name of your player, as
# configured on your squeezeserver, and may not contain any whitespace
# - for each player, a new option is added to squeezy; for example,
# with the configuration below, you can invoke:
# squeezy -kitchen
# squeezy -bedroom
# - at least one player must be in <GROUP_INDEX> 0 for squeezy to do anything
# much useful at all
#
player Hungry
player Living
player squeezepi-iq-pi2
player 1 squeezepi-test-pi2
player 1 squeezepi-test-piB
player 2 Sleepy 192.168.1.1
player 3 blackpi3 erebor macid
# also, if squeezy is executed from an executable whose names matches
# one of these players, than that player is used as the default
#
# configure some players and then try 'squeezy -printlinks'
# ###############################################
# the maginitude of small and large changes to volume levels:
# see -louder, -quieter, -Louder, -Quieter, -, +, --, ++
#
small_volume 4
large_volume 13
# ###############################################
# prefixes
#
# this is an oddity to handle file systems being mounted at different places on
# the client and the server; if you're running squeezy on the same host as the
# server then you can ignore (remove or comment out) these two lines
#
# whenever the '-play' and '-add' options are used, squeezy checks
# whether the thing to be played is a file or a directory
#
# if it is, then realpath is called, then squeezy premoves the prefix
# 'prefixpre' from the start of the path, and replaces it with 'prefixpos'
#
# so 'prefixpre' should be the path to the root of your music collection
# on the client, and 'prefixpos' should be the corresponding path on the
# server
#
# clear?
#
# either or both of these can be left empty; if provided, they should probably
# be absolute paths; they SHOULD NOT include trailling backslashes
#
# here are my own settings:
#
# prefixpre /mnt
# prefixpos
prefixpre
prefixpos
# ###############################################
# shortcuts
# - playlist/filename/directory name/url may not contain whitespace
# - for each shortcut, a new option is added to squeezy; for example,
# with the configuration below, you can invoke:
# squeezy -dvb
# squeezy -r4, etc.
# to play the first shortcut, or the fifth
# - "squeezy -default" plays the first shortcut
#
shortcut dvb http://localhost:7654/dvb-last.mp3
shortcut last http://localhost:7654/dvb-last.mp3
shortcut r1 http://localhost:7654/dvb-r1.mp3
shortcut r3 http://localhost:7654/dvb-r3.mp3
shortcut r4 http://localhost:7654/dvb-r4.mp3
shortcut r5 http://localhost:7654/dvb-r5.mp3
shortcut r5x http://localhost:7654/dvb-r5x.mp3
shortcut ws http://localhost:7654/dvb-ws.mp3