aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-23 21:19:39 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-23 21:19:39 -0700
commit4963016fd6022db53766b439e5bc5d33b6bbca49 (patch)
tree412569e265187d91773a1353b2f8b1eb6dc01792 /subsonic-android/res
parent9d0c9e0f8c836b5a054fde95f71184bad0833fef (diff)
downloaddsub-4963016fd6022db53766b439e5bc5d33b6bbca49.tar.gz
dsub-4963016fd6022db53766b439e5bc5d33b6bbca49.tar.bz2
dsub-4963016fd6022db53766b439e5bc5d33b6bbca49.zip
Added settings for chat auto refresh
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/values/strings.xml3
-rw-r--r--subsonic-android/res/xml/settings.xml10
2 files changed, 12 insertions, 1 deletions
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 30bf5230..b61895dc 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -274,7 +274,8 @@
<string name="settings.persistent_summary">Show the notification even after pausing. Press the stop button to clear it away.</string>
<string name="settings.gapless_playback">Gapless Playback</string>
<string name="settings.gapless_playback_summary">The Galaxy S3 seems to be experiencing freezes/other weird issue since the introduction of gapless playback. Turn this off to fix the issue.</string>
-
+ <string name="settings.chat_refresh">Chat Refresh Rate (Secs)</string>
+
<string name="shuffle.startYear">Start Year:</string>
<string name="shuffle.endYear">End Year:</string>
<string name="shuffle.genre">Genre:</string>
diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml
index efa4a7da..49c8a634 100644
--- a/subsonic-android/res/xml/settings.xml
+++ b/subsonic-android/res/xml/settings.xml
@@ -129,6 +129,16 @@
</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">