aboutsummaryrefslogtreecommitdiff
path: root/res/xml/settings.xml
blob: 4355d89079e628cf4eb47f6b9c8d503d615ed54e (plain)
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
	android:title="@string/settings.title">

    <PreferenceScreen
		android:title="@string/settings.servers_title">

		<PreferenceCategory
			android:key="server"
			android:title="@string/settings.servers_title">

			<Preference
				android:key="serverAdd"
				android:order="1000000"
				android:title="@string/settings.servers_add"/>
		</PreferenceCategory>

    </PreferenceScreen>

	<PreferenceScreen
		android:title="@string/settings.appearance_title">

		<PreferenceCategory
				android:title="@string/settings.appearance_title">

			<ListPreference
				android:title="@string/settings.theme_title"
				android:key="theme"
				android:defaultValue="holo"
				android:entryValues="@array/themeValues"
				android:entries="@array/themeNames"/>
				
			<CheckBoxPreference
				android:title="@string/settings.theme_fullscreen"
				android:summary="@string/settings.theme_fullscreen_summary"
				android:key="fullScreen"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.track_title"
				android:summary="@string/settings.track_summary"
				android:key="displayTrack"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.hide_widget_title"
				android:summary="@string/settings.hide_widget_summary"
				android:key="hideWidget"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.custom_sort"
				android:summary="@string/settings.custom_sort_summary"
				android:key="customSortEnabled"
				android:defaultValue="true"/>

		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/button_bar.chat">

			<CheckBoxPreference
				android:title="@string/settings.chat_enabled"
				android:summary="@string/settings.chat_enabled_summary"
				android:key="chatEnabled"
				android:defaultValue="true"/>

			<EditTextPreference
				android:title="@string/settings.chat_refresh"
				android:key="chatRefreshRate"
				android:defaultValue="30"
				android:digits="0123456789"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.other_title">

			<CheckBoxPreference
				android:title="@string/settings.podcasts_enabled"
				android:summary="@string/settings.podcasts_enabled_summary"
				android:key="podcastsEnabled"
				android:defaultValue="true"/>

			<CheckBoxPreference
				android:title="@string/settings.bookmarks_enabled"
				android:summary="@string/settings.bookmarks_enabled_summary"
				android:key="bookmarksEnabled"
				android:defaultValue="true"/>
		</PreferenceCategory>
	</PreferenceScreen>

	<PreferenceScreen
		android:title="@string/settings.cache_screen_title">

		<PreferenceCategory
				android:title="@string/settings.network_title">

			<ListPreference
				android:title="@string/settings.max_bitrate_wifi"
				android:key="maxBitrateWifi"
				android:defaultValue="0"
				android:entryValues="@array/maxBitrateValues"
				android:entries="@array/maxBitrateNames"/>

			<ListPreference
				android:title="@string/settings.max_bitrate_mobile"
				android:key="maxBitrateMobile"
				android:defaultValue="0"
				android:entryValues="@array/maxBitrateValues"
				android:entries="@array/maxBitrateNames"/>

			<ListPreference
				android:title="@string/settings.max_video_bitrate_wifi"
				android:key="maxVideoBitrateWifi"
				android:defaultValue="0"
				android:entryValues="@array/maxVideoBitrateValues"
				android:entries="@array/maxVideoBitrateNames"/>

			<ListPreference
				android:title="@string/settings.max_video_bitrate_mobile"
				android:key="maxVideoBitrateMobile"
				android:defaultValue="0"
				android:entryValues="@array/maxVideoBitrateValues"
				android:entries="@array/maxVideoBitrateNames"/>

			<CheckBoxPreference
				android:title="@string/settings.wifi_required_title"
				android:summary="@string/settings.wifi_required_summary"
				android:key="wifiRequiredForDownload"
				android:defaultValue="false"/>

			<ListPreference
				android:title="@string/settings.network_timeout_title"
				android:key="networkTimeout"
				android:defaultValue="15000"
				android:entryValues="@array/networkTimeoutValues"
				android:entries="@array/networkTimeoutNames"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.cache_title">

			<EditTextPreference
				android:title="@string/settings.cache_size"
				android:key="cacheSize"
				android:defaultValue="2000"
				android:digits="0123456789"/>

			<EditTextPreference
				android:title="@string/settings.cache_location"
				android:key="cacheLocation"/>

			<ListPreference
				android:title="@string/settings.preload_wifi"
				android:key="preloadCountWifi"
				android:defaultValue="3"
				android:entryValues="@array/preloadCountValues"
				android:entries="@array/preloadCountNames"/>

			<ListPreference
				android:title="@string/settings.preload_mobile"
				android:key="preloadCountMobile"
				android:defaultValue="3"
				android:entryValues="@array/preloadCountValues"
				android:entries="@array/preloadCountNames"/>

			<Preference
				android:key="clearCache"
				android:title="@string/settings.cache_clear"
				android:persistent="false"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.sync_title">

			<CheckBoxPreference
				android:title="@string/settings.sync_enabled"
				android:summary="@string/settings.sync_enabled_summary"
				android:key="syncEnabled"
				android:defaultValue="true"/>

			<ListPreference
				android:title="@string/settings.sync_interval"
				android:key="syncInterval"
				android:defaultValue="60"
				android:entryValues="@array/syncIntervalValues"
				android:entries="@array/syncIntervalNames"/>

			<CheckBoxPreference
				android:title="@string/settings.sync_wifi"
				android:summary="@string/settings.sync_wifi_summary"
				android:key="syncWifi"
				android:defaultValue="true"/>

			<CheckBoxPreference
				android:title="@string/settings.sync_starred"
				android:summary="@string/settings.sync_starred_summary"
				android:key="syncStarred"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.sync_most_recent"
				android:summary="@string/settings.sync_most_recent_summary"
				android:key="syncMostRecent"
				android:defaultValue="false"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.other_title">

			<CheckBoxPreference
				android:title="@string/settings.hide_media_title"
				android:summary="@string/settings.hide_media_summary"
				android:key="hideMedia"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.screen_lit_title"
				android:summary="@string/settings.screen_lit_summary"
				android:key="screenLitOnDownload"
				android:defaultValue="true"/>
		</PreferenceCategory>
	</PreferenceScreen>

	<PreferenceScreen
		android:title="@string/settings.playback_title">

		<PreferenceCategory
				android:title="@string/settings.playback_title">

				<EditTextPreference
					android:title="@string/settings.buffer_length"
					android:key="bufferLength"
					android:defaultValue="5"
					android:digits="0123456789"/>

				<EditTextPreference
					android:title="@string/settings.playlist_random_size_title"
					android:key="randomSize"
					android:defaultValue="20"
					android:digits="0123456789"/>

				<ListPreference
					android:title="@string/settings.temp_loss_title"
					android:key="tempLoss"
					android:defaultValue="1"
					android:entryValues="@array/tempLossValues"
					android:entries="@array/tempLossNames"/>

				<ListPreference
					android:title="@string/settings.disconnect_pause_title"
					android:key="pauseOnDisconnect"
					android:defaultValue="0"
					android:entryValues="@array/disconnectPauseValues"
					android:entries="@array/disconnectPauseNames"/>

				<CheckBoxPreference
					android:title="@string/settings.persistent_title"
					android:summary="@string/settings.persistent_summary"
					android:key="persistentNotification"
					android:defaultValue="false"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.video_title">

			<ListPreference
				android:title="@string/settings.video_player"
				android:key="videoPlayer"
				android:defaultValue="raw"
				android:entryValues="@array/videoPlayerValues"
				android:entries="@array/videoPlayerNames"/>
		</PreferenceCategory>

		<PreferenceCategory
			android:title="@string/settings.other_title">

			<CheckBoxPreference
				android:title="@string/settings.scrobble_title"
				android:summary="@string/settings.scrobble_summary"
				android:key="scrobble"
				android:defaultValue="false"/>

			<CheckBoxPreference
				android:title="@string/settings.media_button_title"
				android:summary="@string/settings.media_button_summary"
				android:key="mediaButtons"
				android:defaultValue="true"/>

			<CheckBoxPreference
				android:title="@string/settings.gapless_playback"
				android:summary="@string/settings.gapless_playback_summary"
				android:key="gaplessPlayback"
				android:defaultValue="true"/>
		</PreferenceCategory>
	</PreferenceScreen>
</PreferenceScreen>