-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqueezy.conf.sample
More file actions
126 lines (111 loc) · 4.04 KB
/
Copy pathsqueezy.conf.sample
File metadata and controls
126 lines (111 loc) · 4.04 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
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
# 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
# - the server defaults to localhost, if no value is specified here
# - the port defaults to 9090, if no value is specified here
server xxx.xxx.xxx.xxx
port 9090
# ###############################################
# 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 user
password password
# ###############################################
# players
#
# there are two formats for specifying players:
# - player <PLAYER_NAME>
# - player <GROUP_INDEX> <PLAYER_NAME>
#
# - 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 player
# 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