From 3e560496b7951cda1724fa2580ee0601dbe5b88c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 7 Jul 2012 11:23:48 -0700 Subject: Basic Network Timeout setting --- subsonic-android/res/values/arrays.xml | 15 +++++++++++++++ subsonic-android/res/values/strings.xml | 7 +++++++ subsonic-android/res/xml/settings.xml | 7 +++++++ 3 files changed, 29 insertions(+) (limited to 'subsonic-android/res') diff --git a/subsonic-android/res/values/arrays.xml b/subsonic-android/res/values/arrays.xml index 087206a9..17ea4b6a 100644 --- a/subsonic-android/res/values/arrays.xml +++ b/subsonic-android/res/values/arrays.xml @@ -58,5 +58,20 @@ @string/settings.max_bitrate_320 @string/settings.max_bitrate_unlimited + + + 10000 + 15000 + 30000 + 45000 + 60000 + + + @string/settings.network_timeout_10000 + @string/settings.network_timeout_15000 + @string/settings.network_timeout_30000 + @string/settings.network_timeout_45000 + @string/settings.network_timeout_60000 + \ No newline at end of file diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml index 6acfed87..47487e43 100644 --- a/subsonic-android/res/values/strings.xml +++ b/subsonic-android/res/values/strings.xml @@ -157,11 +157,18 @@ Unlimited Wi-Fi streaming only Only stream media if connected to Wi-Fi + Network Timeout + 10 seconds + 15 seconds + 30 seconds + 45 seconds + 60 seconds 1 song 2 songs 3 songs 5 songs 10 songs + Unlimited Clear search history Search history cleared Other settings diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml index 4e4cd7dd..21d0568a 100644 --- a/subsonic-android/res/xml/settings.xml +++ b/subsonic-android/res/xml/settings.xml @@ -137,6 +137,13 @@ android:summary="@string/settings.wifi_required_summary" android:key="wifiRequiredForDownload" android:defaultValue="false"/> + + -- cgit v1.2.3