diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/authenticator.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/mostrecent_syncadapter.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/playlists_syncadapter.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/podcasts_syncadapter.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/searchable.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/starred_syncadapter.xml | 4 |
7 files changed, 12 insertions, 10 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 17e96487..a3dd6af2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -284,6 +284,8 @@ <string name="settings.server_open_browser">Open in browser</string> <string name="settings.server_sync_summary">Whether or not syncing is enabled for this server</string> <string name="settings.server_sync">Sync Enabled</string> + <string name="settings.server_authheaders_summary">If this is enabled the request headers will include Authorization: Basic</string> + <string name="settings.server_authheaders">Authorization Basic headers</string> <string name="settings.cache_title">Music cache</string> <string name="settings.preload_wifi">Songs to preload (Wifi)</string> <string name="settings.preload_mobile">Songs to preload (Mobile)</string> diff --git a/app/src/main/res/xml/authenticator.xml b/app/src/main/res/xml/authenticator.xml index 3055240b..23e4621a 100644 --- a/app/src/main/res/xml/authenticator.xml +++ b/app/src/main/res/xml/authenticator.xml @@ -1,7 +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:accountType="@string/account_type.subsonic" 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/mostrecent_syncadapter.xml b/app/src/main/res/xml/mostrecent_syncadapter.xml index 0195edeb..a0172501 100644 --- a/app/src/main/res/xml/mostrecent_syncadapter.xml +++ b/app/src/main/res/xml/mostrecent_syncadapter.xml @@ -1,7 +1,7 @@ <?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:contentAuthority="@string/provider.recently_added" + android:accountType="@string/account_type.subsonic" android:userVisible="true" android:supportsUploading="false" android:allowParallelSyncs="false" diff --git a/app/src/main/res/xml/playlists_syncadapter.xml b/app/src/main/res/xml/playlists_syncadapter.xml index 6c56557b..1cea7a2d 100644 --- a/app/src/main/res/xml/playlists_syncadapter.xml +++ b/app/src/main/res/xml/playlists_syncadapter.xml @@ -1,7 +1,7 @@ <?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:contentAuthority="@string/provider.playlist" + android:accountType="@string/account_type.subsonic" android:userVisible="true" android:supportsUploading="false" android:allowParallelSyncs="false" diff --git a/app/src/main/res/xml/podcasts_syncadapter.xml b/app/src/main/res/xml/podcasts_syncadapter.xml index 52340ae4..c992fc96 100644 --- a/app/src/main/res/xml/podcasts_syncadapter.xml +++ b/app/src/main/res/xml/podcasts_syncadapter.xml @@ -1,7 +1,7 @@ <?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:contentAuthority="@string/provider.podcast" + android:accountType="@string/account_type.subsonic" android:userVisible="true" android:supportsUploading="false" android:allowParallelSyncs="false" diff --git a/app/src/main/res/xml/searchable.xml b/app/src/main/res/xml/searchable.xml index 35ff18f3..5967ae45 100644 --- a/app/src/main/res/xml/searchable.xml +++ b/app/src/main/res/xml/searchable.xml @@ -4,7 +4,7 @@ android:hint="@string/search.title" android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" android:voiceLanguageModel="web_search" - android:searchSuggestAuthority="github.daneren2005.dsub.provider.DSubSearchProvider" + android:searchSuggestAuthority="@string/provider.search" android:searchSuggestSelection=" unused" android:searchSuggestIntentAction="android.intent.action.VIEW"> </searchable>
\ No newline at end of file diff --git a/app/src/main/res/xml/starred_syncadapter.xml b/app/src/main/res/xml/starred_syncadapter.xml index d1d0e1e2..1d855057 100644 --- a/app/src/main/res/xml/starred_syncadapter.xml +++ b/app/src/main/res/xml/starred_syncadapter.xml @@ -1,7 +1,7 @@ <?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:contentAuthority="@string/provider.starred" + android:accountType="@string/account_type.subsonic" android:userVisible="true" android:supportsUploading="false" android:allowParallelSyncs="false" |