aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/xml/settings.xml
blob: 49c8a63408f982626da09e09029048f4b4dea6e8 (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
<?xml version="1.0" encoding="utf-8"?>

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

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

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

    </PreferenceCategory>

    <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"/>

    </PreferenceCategory>

    <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.playlist_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"/>

			<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.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"/>

    </PreferenceCategory>

	<PreferenceCategory
		android:title="@string/button_bar.chat">
		
		<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.scrobble_title"
                android:summary="@string/settings.scrobble_summary"
                android:key="scrobble"
                android:defaultValue="false"/>

        <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.media_button_title"
                android:summary="@string/settings.media_button_summary"
                android:key="mediaButtons"
                android:defaultValue="true"/>

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

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

        <Preference
                android:key="clearSearchHistory"
                android:title="@string/settings.clear_search_history"
                android:persistent="false"/>

    </PreferenceCategory>

</PreferenceScreen>