aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-25 17:03:02 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-25 17:03:05 -0700
commitcfd014d38cba03ba05f571597b361ab253bff578 (patch)
tree4256723561dec7ef3ed3507382eb7020724ec570 /app/src/main/res/xml
parent8a332a20ec272d59fe74520825b18017a8f0cac3 (diff)
downloaddsub-cfd014d38cba03ba05f571597b361ab253bff578.tar.gz
dsub-cfd014d38cba03ba05f571597b361ab253bff578.tar.bz2
dsub-cfd014d38cba03ba05f571597b361ab253bff578.zip
Update to gradle
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/appwidget4x1.xml8
-rw-r--r--app/src/main/res/xml/appwidget4x2.xml8
-rw-r--r--app/src/main/res/xml/appwidget4x3.xml8
-rw-r--r--app/src/main/res/xml/appwidget4x4.xml10
-rw-r--r--app/src/main/res/xml/authenticator.xml7
-rw-r--r--app/src/main/res/xml/changelog.xml214
-rw-r--r--app/src/main/res/xml/mostrecent_syncadapter.xml8
-rw-r--r--app/src/main/res/xml/playlists_syncadapter.xml8
-rw-r--r--app/src/main/res/xml/podcasts_syncadapter.xml8
-rw-r--r--app/src/main/res/xml/searchable.xml10
-rw-r--r--app/src/main/res/xml/settings.xml450
-rw-r--r--app/src/main/res/xml/starred_syncadapter.xml8
12 files changed, 747 insertions, 0 deletions
diff --git a/app/src/main/res/xml/appwidget4x1.xml b/app/src/main/res/xml/appwidget4x1.xml
new file mode 100644
index 00000000..f3ab5d56
--- /dev/null
+++ b/app/src/main/res/xml/appwidget4x1.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="272dip"
+ android:minHeight="56dip"
+ android:updatePeriodMillis="0"
+ android:resizeMode="horizontal|vertical"
+ android:previewImage="@drawable/appwidget4x1_preview"
+ android:initialLayout="@layout/appwidget4x1"/>
diff --git a/app/src/main/res/xml/appwidget4x2.xml b/app/src/main/res/xml/appwidget4x2.xml
new file mode 100644
index 00000000..d687d952
--- /dev/null
+++ b/app/src/main/res/xml/appwidget4x2.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="272dip"
+ android:minHeight="110dip"
+ android:updatePeriodMillis="0"
+ android:resizeMode="horizontal|vertical"
+ android:previewImage="@drawable/appwidget4x2_preview"
+ android:initialLayout="@layout/appwidget4x2"/>
diff --git a/app/src/main/res/xml/appwidget4x3.xml b/app/src/main/res/xml/appwidget4x3.xml
new file mode 100644
index 00000000..4d1b4e08
--- /dev/null
+++ b/app/src/main/res/xml/appwidget4x3.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="272dip"
+ android:minHeight="180dp"
+ android:updatePeriodMillis="0"
+ android:resizeMode="horizontal|vertical"
+ android:previewImage="@drawable/appwidget4x3_preview"
+ android:initialLayout="@layout/appwidget4x3"/>
diff --git a/app/src/main/res/xml/appwidget4x4.xml b/app/src/main/res/xml/appwidget4x4.xml
new file mode 100644
index 00000000..74a8ed0c
--- /dev/null
+++ b/app/src/main/res/xml/appwidget4x4.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="272dip"
+ android:minHeight="250dp"
+ android:updatePeriodMillis="0"
+ android:resizeMode="horizontal|vertical"
+ android:initialLayout="@layout/appwidget4x4"
+ android:initialKeyguardLayout="@layout/appwidget4x4"
+ android:previewImage="@drawable/appwidget4x4_preview"
+ android:widgetCategory="keyguard|home_screen"/>
diff --git a/app/src/main/res/xml/authenticator.xml b/app/src/main/res/xml/authenticator.xml
new file mode 100644
index 00000000..3055240b
--- /dev/null
+++ b/app/src/main/res/xml/authenticator.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<account-authenticator
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:accountType="subsonic.org"
+ android:icon="@drawable/launch"
+ android:smallIcon="@drawable/launch"
+ android:label="@string/common.appname"/> \ No newline at end of file
diff --git a/app/src/main/res/xml/changelog.xml b/app/src/main/res/xml/changelog.xml
new file mode 100644
index 00000000..005ddf44
--- /dev/null
+++ b/app/src/main/res/xml/changelog.xml
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="utf-8"?>
+<changelog>
+ <release version="4.9.6" versioncode="150" releasedate="4/20/2015">
+ <change>New setting: Automatic renaming of duplicate songs</change>
+ <change>New setting: auto play on headphone insert</change>
+ <change>New setting: make automatic renaming of duplicate songs optional</change>
+ <change>Persistent Notification: dismissible when not playing</change>
+ <change>Duplicate artists: combine them into a single listing when browsing all folders</change>
+ <change>No internet: display last loaded version of albums lists</change>
+ <change>Bug fixes for Ampache users</change>
+ </release>
+ <release version="4.9.5" versioncode="149" releasedate="3/25/2015">
+ <change>Handoff: move to another DSub client and pickup where you left off (Subsonic 5.2+)</change>
+ <change>DLNA: gapless playback on supported renders</change>
+ <change>Option to warning on back press</change>
+ <change>Better handle date for Subsonic 5.1+</change>
+ <change>Handle more ReplayGain tag formats</change>
+ <change>Minor bug fixes</change>
+ </release>
+ <release version="4.9.4" versioncode="147" releasedate="3/9/2015">
+ <change>Cast proxy setting for fixing casting with self-signed certificates</change>
+ <change>View all albums in alphabetical order from Home tab</change>
+ <change>View all videso from Home tab</change>
+ <change>Artist Radio for Madsonic users</change>
+ <change>Minor bug fixes</change>
+ </release>
+ <release version="4.9.3" versioncode="146" releasedate="2/27/2015">
+ <change>Browse starred by folder as well (Subsonic 5.2+)</change>
+ <change>Crash fixes</change>
+ </release>
+ <release version="4.9.2" versioncode="145" releasedate="2/20/2015">
+ <change>Fix some more DLNA issues (still working on others)</change>
+ <change>Artist Radio (Subsonic 5.1+)</change>
+ <change>Checkbox to browse Recently Added, etc by folder (Subsonic 5.1+)</change>
+ <change>Ability to open straight to other tabs</change>
+ <change>Add play/shuffle to similar artists menu</change>
+ <change>Offline Podcasts: dont show duplicate folder</change>
+ <change>Fix crash with Madsonic servers</change>
+ <change>Fix widget not showing info when app is not running</change>
+ <change>Show folder as empty immediately after deleting last song in it</change>
+ </release>
+ <release version="4.9.1" versioncode="143" releasedate="1/29/2015">
+ <change>Fix searching with spaces in it</change>
+ <change>Fix pressing play on widget before app starts not working</change>
+ </release>
+ <release version="4.9" versioncode="142" releasedate="1/27/2015">
+ <change>Cast audio to DLNA (email me with issues)</change>
+ <change>Artist image + details header (Subsonic 5.1+)</change>
+ <change>Similar Artists option (Subsonic 5.1+)</change>
+ <change>View similar artists missing from your server (Subsonic 5.1+)</change>
+ <change>On starred list, load artist image (Subsonic 5.1+)</change>
+ <change>Podcasts: clicking on description wrapers around image</change>
+ <change>Hide folder selection if user only has one</change>
+ <change>Fix seeking after file finished downloading restarting the song</change>
+ <change>Fix sleep timer incrementing on it's own</change>
+ <change>Fix bookmarks not being auto deleted while casting</change>
+ <change>Fix clean cache not deleting artwork/avatars</change>
+ <change>Fix search with tag browsing on Ampache servers</change>
+ </release>
+ <release version="4.8.6" versioncode="134" releasedate="12/27/2014">
+ <change>Play/shuffle quick album lists such as Recently Added or Random</change>
+ <change>Change download status to a percentage</change>
+ <change>Improved unknown album art</change>
+ <change>Allow any size cache to be set</change>
+ <change>Improved search sort order</change>
+ <change>Fix settings coloring on older versions of Android</change>
+ <change>Fix sleep timer not remembering last value</change>
+ <change>Fix caching not working while casting</change>
+ </release>
+ <release version="4.8.5" versioncode="133" releasedate="11/26/2014">
+ <change>Fix crash on GB</change>
+ <change>Fix some theme issues</change>
+ </release>
+ <release version="4.8.4" versioncode="132" releasedate="11/22/2014">
+ <change>Partial Material Theme update</change>
+ <change>Make playing notification public for Lolipop</change>
+ <change>Fix Lolipop connectivity issues for some users</change>
+ <change>Fix cache from playlist view downloading starred songs instead</change>
+ <change>Fix remove from playlist not showing up on MusicCabinet servers</change>
+ </release>
+ <release version="4.8.3" versioncode="131" releasedate="11/14/2014">
+ <change>Fix color on Lolipop lockscreen notification</change>
+ <change>Various bug fixes</change>
+ </release>
+ <release version="4.8.2" versioncode="130" releasedate="11/2/2014">
+ <change>Improve automatic bookmark logic</change>
+ <change>Tasker: Toggle online/offline</change>
+ <change>Tasker: Set start/end year + genre for shuffle</change>
+ <change>Remove files no longer on server</change>
+ <change>Calculate bitrate instead of relying on tags</change>
+ <change>Work around for issue of EQ sometimes not starting</change>
+ <change>Fix issues with offline playlists</change>
+ <change>Fix all servers sharing a recently added count</change>
+ <change>Fix star options not showing up when using Show Album</change>
+ </release>
+ <release version="4.8.1" versioncode="128" releasedate="10/12/2014">
+ <change>Delete songs removed from server</change>
+ <change>Fix crash on GB devices</change>
+ </release>
+ <release version="4.8" versioncode="127" releasedate="10/8/2014">
+ <change>ReplayGain: read tags to normalize sound</change>
+ <change>ReplayGain: choose smart tag reading or specify track/album tags</change>
+ <change>Scrobbling: implemented according to Last.FM standard</change>
+ <change>Scrobbling: scrobble if more then 4 minutes or 50% in</change>
+ <change>Scrobbling: do not scrobble if less then 30 seconds</change>
+ <change>Madsonic: view artists Top Tracks from Last.FM (Madsonic 5.1+)</change>
+ <change>Settings: changed a few to be seek bars</change>
+ <change>Tasker: fix issue with not always starting</change>
+ <change>Artist view: add recursive cache/delete menu options</change>
+ <change>SSID Settings: added copy current button</change>
+ <change>Conditionally remove Cache/Delete Cache from context menus</change>
+ <change>Added transition animations</change>
+ <change>Fix crash when casting on GB</change>
+ <change>Fix widget showing blank on restart</change>
+ <change>Fix Show all media</change>
+ <change>Various bug fixes</change>
+ </release>
+ <release version="4.7.8" versioncode="126" releasedate="9/17/2014">
+ <change>Rating: show rating directly on albums</change>
+ <change>Albums: rate/star from album's screen</change>
+ <change>Limit misc artwork from growing above 100 MB</change>
+ <change>Fix cover art bug with latest Subsonic Beta</change>
+ <change>Fix Set Rating from now playing screen</change>
+ <change>Fix offline starring of albums with tag browsing</change>
+ <change>Fix current position on Nexus 5 going above duration</change>
+ <change>Windows Server: SNI support</change>
+ <change>Minor memory optimizations</change>
+ <change>Misc bug fixes</change>
+ </release>
+ <release version="4.7.7" versioncode="124" releasedate="9/8/2014">
+ <change>Add Set Rating to Now Playing's songs menu</change>
+ <change>Fix "overwrite existing playlist" not showing</change>
+ <change>Fix duplicate songs display status in Now Playing</change>
+ </release>
+ <release version="4.7.6" versioncode="123" releasedate="9/5/2014">
+ <change>Ratings: set album/song ratings</change>
+ <change>Ratings: quick thumbs up/down from now playing screen</change>
+ <change>Ratings: automatically ignore 1-starred songs</change>
+ <change>Add To Playlist: show when song already in</change>
+ <change>Recently Added: show count from Home</change>
+ <change>Bookmarks: auto bookmark tagged Audio Books</change>
+ <change>Bookmarks: show indicator in listing/now playing screen</change>
+ <change>Video: Download using hls transcode settings</change>
+ <change>Sync: Disable per server</change>
+ <change>Global Shuffle: optimize for large list preferences</change>
+ <change>Global Shuffle: don't add duplicates</change>
+ <change>Offline Shuffle: improve randomness</change>
+ <change>Move EQ to options menu</change>
+ <change>Fix issue with empty folder</change>
+ <change>Fix various cache coherency issues</change>
+ <change>Old Servers: fix broken scrobbling</change>
+ <change>Fix cache location reseting</change>
+ </release>
+ <release version="4.7.5" versioncode="121" releasedate="8/24/2014">
+ <change>Bookmarks: Resume from albums/playlists</change>
+ <change>Bookmarks: Auto bookmark long songs/podcasts</change>
+ <change>Bookmarks: Auto delete after played</change>
+ <change>Bookmarks Tab: Show artist/album</change>
+ <change>Bookmarks: Delete from album/playlist</change>
+ <change>Stars: Update without refresh</change>
+ </release>
+ <release version="4.7.4" versioncode="120" releasedate="8/8/2014">
+ <change>Tasker Plugin: Start + optional start Shuffle Mode</change>
+ <change>Madsonic 5.1+: Add Rescan Server option to Home tab</change>
+ <change>Sort quick search results by closeness to query (instead of Artists -> Albums -> Songs)</change>
+ <change>Clicking on Sync notifications goes to corresponding tab</change>
+ <change>Fix no podcasts showing up if one of them is the error state</change>
+ <change>Fix starring some albums when browsing by tags</change>
+ <change>A few crash fixes</change>
+ </release>
+ <release version="4.7.3" versioncode="119" releasedate="7/18/2014">
+ <change>Require password for entering admin tab for security</change>
+ <change>Improvements to sync notifications</change>
+ <change>Fix crash on sharing</change>
+ <change>Misc bug fixes</change>
+ </release>
+ <release version="4.7.2" versioncode="116" releasedate="7/10/2014">
+ <change>Android Wear notification support</change>
+ <change>Selected drawer tab is now bold</change>
+ <change>Scroll to song when clicked in search results</change>
+ <change>Custom sort is now a toggle between sorting by year and alphabetical</change>
+ <change>For persistent notification, use standard notification layout + x in corner</change>
+ <change>Don't display type information for each song</change>
+ <change>Properly save songs for use with external players</change>
+ <change>Return fast scrolling hack for devices still on Android 4.4.2</change>
+ <change>Various bug fixes and enhancements</change>
+ </release>
+ <release version="4.7.1" versioncode="113" releasedate="6/25/2014">
+ <change>Only show podcast, share, and jukebox options when user has server permissions</change>
+ <change>Remove playlist options from public, non-owned lists (throws error anyways)</change>
+ <change>Add avatars to chat tab</change>
+ <change>Better refresh status</change>
+ <change>Better downloading notification</change>
+ <change>Use system volume menu for Jukebox/casting</change>
+ <change>Fix infinite errors when selecting bad server</change>
+ <change>Fix context menu errors on old small album art view</change>
+ <change>Fix issue with background downloads stalling</change>
+ <change>New language: French (thanks Cotib)</change>
+ </release>
+ <release version="4.7" versioncode="112" releasedate="6/16/2014">
+ <change>Admin tab</change>
+ <change>Create/delete users, change others passwords/emails/permissions if admin</change>
+ <change>Change own password either way</change>
+ <change>FAQ dialog</change>
+ <change>Click on Podcast Channel description to expand it</change>
+ <change>Add Podcast Episode description to Details dialog</change>
+ <change>Don't switch views when clicking on bottom portion of album art</change>
+ <change>Keep notification open when receiving a call</change>
+ <change>Fix for delay between headset disconnect and pause</change>
+ <change>Fix background bluetooth disconnects causing playback to stop</change>
+ <change>Fix app trying to upsample songs in mp3 -> mp3 transcode</change>
+ <change>Fix for DSub preempting bluetooth events</change>
+ </release>
+</changelog> \ No newline at end of file
diff --git a/app/src/main/res/xml/mostrecent_syncadapter.xml b/app/src/main/res/xml/mostrecent_syncadapter.xml
new file mode 100644
index 00000000..0195edeb
--- /dev/null
+++ b/app/src/main/res/xml/mostrecent_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.mostrecent.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file
diff --git a/app/src/main/res/xml/playlists_syncadapter.xml b/app/src/main/res/xml/playlists_syncadapter.xml
new file mode 100644
index 00000000..6c56557b
--- /dev/null
+++ b/app/src/main/res/xml/playlists_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.playlists.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file
diff --git a/app/src/main/res/xml/podcasts_syncadapter.xml b/app/src/main/res/xml/podcasts_syncadapter.xml
new file mode 100644
index 00000000..52340ae4
--- /dev/null
+++ b/app/src/main/res/xml/podcasts_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.podcasts.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file
diff --git a/app/src/main/res/xml/searchable.xml b/app/src/main/res/xml/searchable.xml
new file mode 100644
index 00000000..35ff18f3
--- /dev/null
+++ b/app/src/main/res/xml/searchable.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<searchable xmlns:android="http://schemas.android.com/apk/res/android"
+ android:label="@string/common.appname"
+ android:hint="@string/search.title"
+ android:voiceSearchMode="showVoiceSearchButton|launchRecognizer"
+ android:voiceLanguageModel="web_search"
+ android:searchSuggestAuthority="github.daneren2005.dsub.provider.DSubSearchProvider"
+ android:searchSuggestSelection=" unused"
+ android:searchSuggestIntentAction="android.intent.action.VIEW">
+</searchable> \ No newline at end of file
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
new file mode 100644
index 00000000..b1cbdd8c
--- /dev/null
+++ b/app/src/main/res/xml/settings.xml
@@ -0,0 +1,450 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:myns="http://schemas.android.com/apk/res/github.daneren2005.dsub"
+ android:title="@string/settings.title">
+
+ <PreferenceScreen
+ android:title="@string/settings.servers_title">
+
+ <PreferenceCategory
+ android:key="server"
+ android:title="@string/settings.servers_title">
+
+ <Preference
+ android:key="serverAdd"
+ android:order="1000000"
+ android:title="@string/settings.servers_add"/>
+ </PreferenceCategory>
+
+ </PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.appearance_title">
+
+ <PreferenceCategory
+ android:title="@string/settings.appearance_title">
+
+ <ListPreference
+ android:title="@string/settings.theme_title"
+ android:key="theme"
+ android:defaultValue="light"
+ android:entryValues="@array/themeValues"
+ android:entries="@array/themeNames"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.theme_fullscreen"
+ android:summary="@string/settings.theme_fullscreen_summary"
+ android:key="fullScreen"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.track_title"
+ android:summary="@string/settings.track_summary"
+ android:key="displayTrack"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.hide_widget_title"
+ android:summary="@string/settings.hide_widget_summary"
+ android:key="hideWidget"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.custom_sort"
+ android:summary="@string/settings.custom_sort_summary"
+ android:key="customSortEnabled"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.rename_duplicates"
+ android:summary="@string/settings.rename_duplicates_summary"
+ android:key="renameDuplicates"
+ android:defaultValue="true"/>
+
+ <ListPreference
+ android:title="@string/settings.open_to_tab"
+ android:summary="@string/settings.open_to_tab_summary"
+ android:key="openToTab"
+ android:entryValues="@array/defaultDrawerItemsDescriptions"
+ android:entries="@array/defaultDrawerItems"
+ android:defaultValue="Home"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.disable_exit_prompt"
+ android:summary="@string/settings.disable_exit_prompt_summary"
+ android:key="disableExitPrompt"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.override_system_language"
+ android:summary="@string/settings.override_system_language_summary"
+ android:key="overrideSystemLanguage"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.large_album_art"
+ android:summary="@string/settings.large_album_art_summary"
+ android:key="largeAlbumArt"
+ android:defaultValue="true"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.menu_options.title">
+
+ <CheckBoxPreference
+ android:title="@string/common.play_next"
+ android:summary="@string/settings.menu_options.play_next_summary"
+ android:key="showPlayNext"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/common.play_last"
+ android:summary="@string/settings.menu_options.play_last_summary"
+ android:key="showPlayLast"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/common.star"
+ android:summary="@string/settings.menu_options.star_summary"
+ android:key="showStar"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/menu.share"
+ android:summary="@string/settings.menu_options.shared_summary"
+ android:key="showShared"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/menu.rate"
+ android:summary="@string/settings.menu_options.rate_summary"
+ android:key="showRating"
+ android:defaultValue="true"/>
+
+ </PreferenceCategory>
+ </PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.drawer_items_title">
+
+ <PreferenceCategory
+ android:title="@string/settings.drawer_items_title">
+
+ <CheckBoxPreference
+ android:title="@string/settings.podcasts_enabled"
+ android:summary="@string/settings.podcasts_enabled_summary"
+ android:key="podcastsEnabled"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.bookmarks_enabled"
+ android:summary="@string/settings.bookmarks_enabled_summary"
+ android:key="bookmarksEnabled"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.shares_enabled"
+ android:summary="@string/settings.shares_enabled_summary"
+ android:key="sharedEnabled"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.chat_enabled"
+ android:summary="@string/settings.chat_enabled_summary"
+ android:key="chatEnabled"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.admin_enabled"
+ android:summary="@string/settings.admin_enabled_summary"
+ android:key="adminEnabled"
+ android:defaultValue="true"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/button_bar.chat">
+
+ <github.daneren2005.dsub.view.SeekBarPreference
+ android:title="@string/settings.chat_refresh"
+ android:key="chatRefreshRate"
+ android:defaultValue="30"
+ android:dialogLayout="@layout/seekbar_preference"
+ myns:max="120"
+ myns:display="%.0f seconds"/>
+ </PreferenceCategory>
+ </PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.cache_screen_title">
+
+ <PreferenceCategory
+ android:title="@string/settings.network_title">
+
+ <ListPreference
+ android:title="@string/settings.max_bitrate_wifi"
+ android:key="maxBitrateWifi"
+ android:defaultValue="0"
+ android:entryValues="@array/maxBitrateValues"
+ android:entries="@array/maxBitrateNames"/>
+
+ <ListPreference
+ android:title="@string/settings.max_bitrate_mobile"
+ android:key="maxBitrateMobile"
+ android:defaultValue="0"
+ android:entryValues="@array/maxBitrateValues"
+ android:entries="@array/maxBitrateNames"/>
+
+ <ListPreference
+ android:title="@string/settings.max_video_bitrate_wifi"
+ android:key="maxVideoBitrateWifi"
+ android:defaultValue="0"
+ android:entryValues="@array/maxVideoBitrateValues"
+ android:entries="@array/maxVideoBitrateNames"/>
+
+ <ListPreference
+ android:title="@string/settings.max_video_bitrate_mobile"
+ android:key="maxVideoBitrateMobile"
+ android:defaultValue="0"
+ android:entryValues="@array/maxVideoBitrateValues"
+ android:entries="@array/maxVideoBitrateNames"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.wifi_required_title"
+ android:summary="@string/settings.wifi_required_summary"
+ android:key="wifiRequiredForDownload"
+ android:defaultValue="false"/>
+
+ <ListPreference
+ android:title="@string/settings.network_timeout_title"
+ android:key="networkTimeout"
+ android:defaultValue="15000"
+ android:entryValues="@array/networkTimeoutValues"
+ android:entries="@array/networkTimeoutNames"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.cache_title">
+
+ <EditTextPreference
+ android:title="@string/settings.cache_size"
+ android:key="cacheSize"
+ android:defaultValue="2000"
+ android:digits="0123456789"/>
+
+ <EditTextPreference
+ android:title="@string/settings.cache_location"
+ android:key="cacheLocation"/>
+
+ <ListPreference
+ android:title="@string/settings.preload_wifi"
+ android:key="preloadCountWifi"
+ android:defaultValue="3"
+ android:entryValues="@array/preloadCountValues"
+ android:entries="@array/preloadCountNames"/>
+
+ <ListPreference
+ android:title="@string/settings.preload_mobile"
+ android:key="preloadCountMobile"
+ android:defaultValue="3"
+ android:entryValues="@array/preloadCountValues"
+ android:entries="@array/preloadCountNames"/>
+
+ <Preference
+ android:key="clearCache"
+ android:title="@string/settings.cache_clear"
+ android:persistent="false"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.other_title">
+
+ <CheckBoxPreference
+ android:title="@string/settings.hide_media_title"
+ android:summary="@string/settings.hide_media_summary"
+ android:key="hideMedia"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.screen_lit_title"
+ android:summary="@string/settings.screen_lit_summary"
+ android:key="screenLitOnDownload"
+ android:defaultValue="true"/>
+ </PreferenceCategory>
+ </PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.sync_title">
+ <PreferenceCategory
+ android:title="@string/settings.sync_title">
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_enabled"
+ android:summary="@string/settings.sync_enabled_summary"
+ android:key="syncEnabled"
+ android:defaultValue="true"/>
+
+ <ListPreference
+ android:title="@string/settings.sync_interval"
+ android:key="syncInterval"
+ android:defaultValue="60"
+ android:entryValues="@array/syncIntervalValues"
+ android:entries="@array/syncIntervalNames"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_wifi"
+ android:summary="@string/settings.sync_wifi_summary"
+ android:key="syncWifi"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_notification"
+ android:summary="@string/settings.sync_notification_summary"
+ android:key="syncNotification"
+ android:defaultValue="true"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.other_title">
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_starred"
+ android:summary="@string/settings.sync_starred_summary"
+ android:key="syncStarred"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_most_recent"
+ android:summary="@string/settings.sync_most_recent_summary"
+ android:key="syncMostRecent"
+ android:defaultValue="false"/>
+ </PreferenceCategory>
+ </PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.playback_title">
+
+ <PreferenceCategory
+ android:title="@string/settings.playback_title">
+
+ <github.daneren2005.dsub.view.SeekBarPreference
+ android:title="@string/settings.playlist_random_size_title"
+ android:key="randomSize"
+ android:defaultValue="20"
+ android:dialogLayout="@layout/seekbar_preference"
+ myns:max="100"/>
+
+ <ListPreference
+ android:title="@string/settings.temp_loss_title"
+ android:key="tempLoss"
+ android:defaultValue="1"
+ android:entryValues="@array/tempLossValues"
+ android:entries="@array/tempLossNames"/>
+
+ <ListPreference
+ android:title="@string/settings.disconnect_pause_title"
+ android:key="pauseOnDisconnect"
+ android:defaultValue="0"
+ android:entryValues="@array/disconnectPauseValues"
+ android:entries="@array/disconnectPauseNames"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.persistent_title"
+ android:summary="@string/settings.persistent_summary"
+ android:key="persistentNotification"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.play_now_after"
+ android:summary="@string/settings.play_now_after_summary"
+ android:key="playNowAfter"
+ android:defaultValue="false"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.video_title">
+
+ <ListPreference
+ android:title="@string/settings.video_player"
+ android:key="videoPlayer"
+ android:defaultValue="raw"
+ android:entryValues="@array/videoPlayerValues"
+ android:entries="@array/videoPlayerNames"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.casting">
+
+ <CheckBoxPreference
+ android:title="@string/settings.casting_proxy"
+ android:summary="@string/settings.casting_proxy_summary"
+ android:key="castProxy"
+ android:defaultValue="false"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.replay_gain">
+
+ <CheckBoxPreference
+ android:title="@string/settings.replay_gain"
+ android:summary="@string/settings.replay_gain_summary"
+ android:key="replayGain"
+ android:defaultValue="false"/>
+
+ <ListPreference
+ android:title="@string/settings.replay_gain_type"
+ android:key="replayGainType"
+ android:defaultValue="1"
+ android:entryValues="@array/replayGainTypeValues"
+ android:entries="@array/replayGainTypeNames"/>
+
+ <github.daneren2005.dsub.view.SeekBarPreference
+ android:key="replayGainBump2"
+ android:dialogLayout="@layout/seekbar_preference"
+ android:title="@string/settings.replay_gain_bump"
+ android:defaultValue="150"
+ myns:max="150"
+ myns:min="-150"
+ myns:stepSize="10"
+ myns:display="%+.1f dB"/>
+
+ <github.daneren2005.dsub.view.SeekBarPreference
+ android:key="replayGainUntagged2"
+ android:dialogLayout="@layout/seekbar_preference"
+ android:title="@string/settings.replay_gain_untagged"
+ android:defaultValue="150"
+ myns:max="0"
+ myns:min="-150"
+ myns:stepSize="10"
+ myns:display="%+.1f dB"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/settings.other_title">
+
+ <CheckBoxPreference
+ android:title="@string/settings.scrobble_title"
+ android:summary="@string/settings.scrobble_summary"
+ android:key="scrobble"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.media_button_title"
+ android:summary="@string/settings.media_button_summary"
+ android:key="mediaButtons"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.gapless_playback"
+ android:summary="@string/settings.gapless_playback_summary"
+ android:key="gaplessPlayback"
+ android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.start_on_headphones"
+ android:summary="@string/settings.start_on_headphones_summary"
+ android:key="startOnHeadphones"
+ android:defaultValue="false"/>
+ </PreferenceCategory>
+ </PreferenceScreen>
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/starred_syncadapter.xml b/app/src/main/res/xml/starred_syncadapter.xml
new file mode 100644
index 00000000..d1d0e1e2
--- /dev/null
+++ b/app/src/main/res/xml/starred_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.starred.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file