aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorowner <owner@DeeDee-Laptop>2012-07-12 12:01:17 -0700
committerowner <owner@DeeDee-Laptop>2012-07-12 12:01:17 -0700
commit1b51a47f0e43403aa4d454d2775f325a2072255f (patch)
tree6a9d5bcd0cfd2606b3800d074e69fb3f50981dea /subsonic-android/res
parent4a0e49a915192a315e56fe25690bc9c277534311 (diff)
downloaddsub-1b51a47f0e43403aa4d454d2775f325a2072255f.tar.gz
dsub-1b51a47f0e43403aa4d454d2775f325a2072255f.tar.bz2
dsub-1b51a47f0e43403aa4d454d2775f325a2072255f.zip
Added options for size of randomized playlists
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/values/strings.xml2
-rw-r--r--subsonic-android/res/xml/settings.xml14
2 files changed, 14 insertions, 2 deletions
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 47487e43..2431bb34 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -181,6 +181,8 @@
<string name="settings.media_button_summary">Respond to phone, headset and Bluetooth media buttons</string>
<string name="settings.screen_lit_title">Keep screen on</string>
<string name="settings.screen_lit_summary">Keeping the screen on while downloading improves download speed.</string>
+ <string name="settings.playlist_title">Playlists</string>
+ <string name="settings.playlist_random_size_title">Random Size</string>
<string name="music_service.retry">A network error occurred. Retrying %1$d of %2$d.</string>
diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml
index 21d0568a..daa98b90 100644
--- a/subsonic-android/res/xml/settings.xml
+++ b/subsonic-android/res/xml/settings.xml
@@ -146,8 +146,18 @@
android:entries="@array/networkTimeoutNames"/>
</PreferenceCategory>
-
- <PreferenceCategory
+
+ <PreferenceCategory
+ android:title="@string/settings.playlist_title">
+
+ <EditTextPreference
+ android:title="@string/settings.playlist_random_size_title"
+ android:key="randomSize"
+ android:defaultValue="20"
+ android:digits="0123456789"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
android:title="@string/settings.cache_title">
<EditTextPreference