mirror of https://github.com/deniscerri/ytdlnis
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
4.5 KiB
XML
135 lines
4.5 KiB
XML
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<PreferenceCategory android:title="@string/directories">
|
|
<Preference
|
|
app:icon="@drawable/ic_music_downloaded"
|
|
app:key="music_path"
|
|
app:defaultValue="@string/music_path"
|
|
app:title="@string/music_directory" />
|
|
|
|
<Preference
|
|
app:icon="@drawable/ic_video_downloaded"
|
|
app:key="video_path"
|
|
app:defaultValue="@string/video_path"
|
|
app:title="@string/video_directory" />
|
|
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_keyboard_arrow_right_24"
|
|
app:key="command_path"
|
|
app:defaultValue="@string/command_path"
|
|
app:title="@string/command_directory" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/downloading">
|
|
<EditTextPreference
|
|
android:icon="@drawable/ic_key"
|
|
app:key="api_key"
|
|
app:defaultValue=""
|
|
app:summary="@string/api_key_summary"
|
|
app:title="@string/api_key" />
|
|
|
|
<SeekBarPreference
|
|
app:dependency="aria2"
|
|
android:defaultValue="1"
|
|
android:icon="@drawable/ic_lines"
|
|
android:max="10"
|
|
app:key="concurrent_fragments"
|
|
app:min="1"
|
|
app:showSeekBarValue="true"
|
|
android:dependency="aria2"
|
|
app:summary="@string/concurrent_fragments_summary"
|
|
app:title="@string/concurrent_fragments" />
|
|
|
|
<EditTextPreference
|
|
android:icon="@drawable/ic_down"
|
|
app:key="limit_rate"
|
|
app:summary="@string/limit_rate_summary"
|
|
app:title="@string/limit_rate" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
android:icon="@drawable/ic_speed"
|
|
android:key="aria2"
|
|
app:summary="@string/aria2_summary"
|
|
android:disableDependentsState="true"
|
|
app:title="Aria2" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
<PreferenceCategory android:title="@string/processing">
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_music"
|
|
app:key="remove_non_music"
|
|
app:summary="@string/remove_non_music_summary"
|
|
app:title="@string/remove_non_music" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_subtitles"
|
|
app:key="embed_subtitles"
|
|
app:summary="@string/embed_subs_summary"
|
|
app:title="@string/embed_subs" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_image"
|
|
app:key="embed_thumbnail"
|
|
app:summary="@string/embed_thumb_summary"
|
|
app:title="@string/embed_thumb" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_chapters"
|
|
app:key="add_chapters"
|
|
app:summary="@string/add_chapters_summary"
|
|
app:title="@string/add_chapters" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_image"
|
|
app:key="write_thumbnail"
|
|
app:summary="@string/save_thumb_summary"
|
|
app:title="@string/save_thumb" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="mp3"
|
|
android:entries="@array/music_formats"
|
|
android:entryValues="@array/music_formats"
|
|
android:icon="@drawable/ic_code"
|
|
app:key="audio_format"
|
|
app:summary="mp3"
|
|
app:title="@string/audio_format" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="mkv"
|
|
android:entries="@array/video_formats"
|
|
android:entryValues="@array/video_formats"
|
|
android:icon="@drawable/ic_code"
|
|
app:key="video_format"
|
|
app:summary="mkv"
|
|
app:title="@string/video_format" />
|
|
|
|
|
|
<SeekBarPreference
|
|
android:defaultValue="0"
|
|
android:icon="@drawable/ic_music"
|
|
android:max="10"
|
|
app:key="audio_quality"
|
|
app:min="0"
|
|
app:showSeekBarValue="true"
|
|
app:summary="@string/audio_quality_summary"
|
|
app:title="@string/audio_quality" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<Preference
|
|
app:allowDividerAbove="true"
|
|
app:icon="@drawable/ic_info"
|
|
app:key="version"
|
|
app:title="@string/version"/>
|
|
|
|
</PreferenceScreen> |