Commit 6c659d58 authored by Geoffrey Métais's avatar Geoffrey Métais

Move "auto_rescan" setting in main setting page

parent 1ff3ef73
......@@ -438,6 +438,7 @@
<string name="player_touch_disable_all">Disable all Touch controls</string>
<string name="tv_ui_title">Android TV interface</string>
<string name="tv_ui_summary">Change UI to TV adapted theme</string>
<string name="medialibrary">Media library</string>
<string name="medialibrary_directories">Media library folders</string>
<!--Accessibility-->
......
......@@ -2,31 +2,43 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/preferences">
<PreferenceScreen
android:key="directories"
android:summary="@string/directories_summary"
android:title="@string/medialibrary_directories" />
<ListPreference
android:defaultValue="-1"
android:entries="@array/hardware_acceleration_list"
android:entryValues="@array/hardware_acceleration_values"
android:key="hardware_acceleration"
android:summary="@string/hardware_acceleration_summary"
android:title="@string/hardware_acceleration" />
<ListPreference
android:defaultValue="99"
android:entries="@array/screen_orientation_list"
android:entryValues="@array/screen_orientation_values"
android:key="screen_orientation"
android:title="@string/screen_orientation" />
<CheckBoxPreference
android:defaultValue="true"
android:key="playback_history"
android:summary="@string/playback_history_summary"
android:title="@string/playback_history_title" />
<PreferenceCategory android:title="@string/medialibrary" >
<PreferenceScreen
android:key="directories"
android:summary="@string/directories_summary"
android:title="@string/medialibrary_directories" />
<CheckBoxPreference
android:defaultValue="true"
android:key="auto_rescan"
android:summary="@string/auto_rescan_summary"
android:title="@string/auto_rescan" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/video_prefs_category" >
<ListPreference
android:defaultValue="-1"
android:entries="@array/hardware_acceleration_list"
android:entryValues="@array/hardware_acceleration_values"
android:key="hardware_acceleration"
android:summary="@string/hardware_acceleration_summary"
android:title="@string/hardware_acceleration" />
<ListPreference
android:defaultValue="99"
android:entries="@array/screen_orientation_list"
android:entryValues="@array/screen_orientation_values"
android:key="screen_orientation"
android:title="@string/screen_orientation" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/history" >
<CheckBoxPreference
android:defaultValue="true"
android:key="playback_history"
android:summary="@string/playback_history_summary"
android:title="@string/playback_history_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/extra_prefs_category" >
<Preference
......
......@@ -3,12 +3,6 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/advanced_prefs_category">
<CheckBoxPreference
android:defaultValue="true"
android:key="auto_rescan"
android:summary="@string/auto_rescan_summary"
android:title="@string/auto_rescan" />
<CheckBoxPreference
android:defaultValue="false"
android:key="browser_show_hidden_files"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment