Add a new smart playlist "Not played lately" playlist (#613)
* Add "Not played lately" playlist (#1) * Fix bad recent playlist construction (#6) * Revert History rename * Code review
This commit is contained in:
parent
71f5072624
commit
764751381a
9 changed files with 126 additions and 8 deletions
|
|
@ -129,6 +129,7 @@
|
|||
<string name="pref_title_ignore_media_store_artwork">Ignore Media Store covers</string>
|
||||
<string name="pref_title_gapless_playback">Gapless playback</string>
|
||||
<string name="pref_title_audio_ducking">Reduce volume on focus loss</string>
|
||||
<string name="pref_title_recently_played_interval">Recently played playlist interval</string>
|
||||
<string name="pref_title_last_added_interval">Last added playlist interval</string>
|
||||
<string name="pref_title_synchronized_lyrics_show">Show synchronized lyrics</string>
|
||||
<string name="pref_title_remember_last_tab">Remember last tab</string>
|
||||
|
|
@ -174,6 +175,7 @@
|
|||
<string name="last_added">Last added</string>
|
||||
<string name="history">History</string>
|
||||
<string name="my_top_tracks">My top tracks</string>
|
||||
<string name="not_recently_played">Not recently played</string>
|
||||
<string name="remove_cover">Remove cover</string>
|
||||
<string name="download_from_last_fm">Download from Last.fm</string>
|
||||
<string name="pick_from_local_storage">Pick from local storage</string>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@
|
|||
<item>never</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_playlists_recently_played_interval_titles">
|
||||
<item>@string/today</item>
|
||||
<item>@string/this_week</item>
|
||||
<item>@string/this_month</item>
|
||||
<item>@string/past_three_months</item>
|
||||
<item>@string/this_year</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_playlists_recently_played_interval_values">
|
||||
<item>today</item>
|
||||
<item>this_week</item>
|
||||
<item>this_month</item>
|
||||
<item>past_three_months</item>
|
||||
<item>this_year</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_playlists_last_added_interval_titles">
|
||||
<item>@string/today</item>
|
||||
<item>@string/this_week</item>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,15 @@
|
|||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory android:title="@string/pref_header_playlists">
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
android:defaultValue="this_month"
|
||||
android:entries="@array/pref_playlists_recently_played_interval_titles"
|
||||
android:entryValues="@array/pref_playlists_recently_played_interval_values"
|
||||
android:key="recently_played_interval"
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_recently_played_interval" />
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
android:defaultValue="this_month"
|
||||
android:entries="@array/pref_playlists_last_added_interval_titles"
|
||||
android:entryValues="@array/pref_playlists_last_added_interval_values"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue