aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values-de/strings.xml5
-rw-r--r--app/src/main/res/values/arrays.xml13
-rw-r--r--app/src/main/res/values/strings.xml5
-rw-r--r--app/src/main/res/xml/settings.xml7
4 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 327df3cb..45b89df9 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -636,5 +636,10 @@
<string name="details.year">Jahr</string>
<string name="details.version">Version</string>
<string name="playlist.mine">Meine Wiedergabelisten</string>
+ <string name="settings.keep_played_count_none">Alle abgespielten Lieder entfernen</string>
+ <string name="settings.keep_played_count_one">Das letzte abgespielte Lied behalten</string>
+ <string name="settings.keep_played_count_three">3 abgespielte Lieder behalten</string>
+ <string name="settings.keep_played_count_two">2 abgespielte Lieder behalten</string>
+ <string name="settings.keep_played_count_title">Abgespielte Lieder behalten</string>
</resources>
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index d876ecdb..a7dd932d 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -163,6 +163,19 @@
<item>@string/settings.temp_loss_nothing</item>
</string-array>
+ <string-array name="keepPlayedCountValues">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ <item>3</item>
+ </string-array>
+ <string-array name="keepPlayedCountNames">
+ <item>@string/settings.keep_played_count_none</item>
+ <item>@string/settings.keep_played_count_one</item>
+ <item>@string/settings.keep_played_count_two</item>
+ <item>@string/settings.keep_played_count_three</item>
+ </string-array>
+
<string-array name="disconnectPauseValues">
<item>0</item>
<item>3</item>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ec6c45b4..1cb85711 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -371,6 +371,11 @@
<string name="settings.temp_loss_pause_lower">Pause, lower volume when requested</string>
<string name="settings.temp_loss_lower">Always lower volume</string>
<string name="settings.temp_loss_nothing">Do Nothing</string>
+ <string name="settings.keep_played_count_title">Keep played songs</string>
+ <string name="settings.keep_played_count_none">Remove all played songs</string>
+ <string name="settings.keep_played_count_one">Keep last played songs</string>
+ <string name="settings.keep_played_count_two">Keep 2 played songs</string>
+ <string name="settings.keep_played_count_three">Keep 3 played songs</string>
<string name="settings.disconnect_pause_title">Pause on Disconnect</string>
<string name="settings.disconnect_pause_both">Pause</string>
<string name="settings.disconnect_pause_neither">Do Nothing</string>
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
index b1cbdd8c..b23825bf 100644
--- a/app/src/main/res/xml/settings.xml
+++ b/app/src/main/res/xml/settings.xml
@@ -335,6 +335,13 @@
myns:max="100"/>
<ListPreference
+ android:title="@string/settings.keep_played_count_title"
+ android:key="keepPlayedCount"
+ android:defaultValue="0"
+ android:entryValues="@array/keepPlayedCountValues"
+ android:entries="@array/keepPlayedCountNames"/>
+
+ <ListPreference
android:title="@string/settings.temp_loss_title"
android:key="tempLoss"
android:defaultValue="1"