LibreTube/app/src/main/res/xml/audio_video_settings.xml

121 lines
4.2 KiB
XML
Raw Normal View History

2022-08-28 19:10:12 +05:30
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
2022-09-11 21:24:04 +05:30
<PreferenceCategory app:title="@string/wifi">
2022-08-28 19:10:12 +05:30
<ListPreference
android:icon="@drawable/ic_hd"
app:defaultValue=""
app:entries="@array/defres"
app:entryValues="@array/defresValue"
app:key="default_res"
app:title="@string/defres"
app:useSimpleSummaryProvider="true" />
<!--
2022-08-28 19:10:12 +05:30
<ListPreference
android:icon="@drawable/ic_headphones"
app:defaultValue="best"
app:entries="@array/audioQuality"
app:entryValues="@array/audioQualityValues"
app:key="player_audio_quality"
app:title="@string/playerAudioQuality"
app:useSimpleSummaryProvider="true" />
-->
2022-08-28 19:10:12 +05:30
2022-09-11 21:24:04 +05:30
</PreferenceCategory>
<PreferenceCategory app:title="@string/mobile_data">
<ListPreference
android:icon="@drawable/ic_hd"
app:defaultValue=""
app:entries="@array/defres"
app:entryValues="@array/defresValue"
app:key="default_res_mobile"
app:title="@string/defres"
app:useSimpleSummaryProvider="true" />
<!--
2022-09-11 21:24:04 +05:30
<ListPreference
android:icon="@drawable/ic_headphones"
app:defaultValue="best"
app:entries="@array/audioQuality"
app:entryValues="@array/audioQualityValues"
app:key="player_audio_quality_mobile"
app:title="@string/playerAudioQuality"
app:useSimpleSummaryProvider="true" />
-->
2022-09-11 21:24:04 +05:30
</PreferenceCategory>
2022-11-16 23:12:57 +05:30
2022-09-11 21:24:04 +05:30
<PreferenceCategory app:title="@string/quality">
2022-08-28 19:10:12 +05:30
<ListPreference
android:icon="@drawable/ic_videocam"
app:defaultValue="webm"
app:entries="@array/playerVideoFormat"
app:entryValues="@array/playerVideoFormatValues"
2022-11-16 23:12:57 +05:30
app:isPreferenceVisible="false"
2022-08-28 19:10:12 +05:30
app:key="player_video_format"
app:title="@string/playerVideoFormat"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_music"
app:defaultValue="all"
app:entries="@array/playerAudioFormat"
app:entryValues="@array/playerAudioFormatValues"
2022-11-16 23:12:57 +05:30
app:isPreferenceVisible="false"
2022-08-28 19:10:12 +05:30
app:key="player_audio_format"
app:title="@string/playerAudioFormat"
app:useSimpleSummaryProvider="true" />
2022-09-26 22:42:52 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
2022-11-16 23:12:57 +05:30
android:icon="@drawable/ic_list"
android:summary="@string/hls_instead_of_dash_summary"
android:title="@string/hls_instead_of_dash"
app:key="use_hls" />
2023-03-05 17:07:41 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_library"
android:summary="@string/lbry_hls_summary"
android:title="@string/lbry_hls"
app:key="lbry_hls" />
2022-08-28 19:10:12 +05:30
</PreferenceCategory>
2023-02-08 14:11:59 +05:30
<PreferenceCategory app:title="@string/advanced">
<ListPreference
android:entries="@array/videoCodecs"
android:entryValues="@array/videoCodecValues"
android:icon="@drawable/ic_equalizer"
android:key="video_codecs"
app:defaultValue="all"
app:title="@string/codecs"
app:useSimpleSummaryProvider="true" />
2023-03-11 20:41:43 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_server"
android:summary="@string/disable_proxy_summary"
android:title="@string/disable_proxy"
app:key="disable_video_image_proxy" />
2023-03-11 20:41:43 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
android:dependency="disable_video_image_proxy"
android:icon="@drawable/ic_music"
android:summary="@string/fallback_piped_proxy_desc"
android:title="@string/fallback_piped_proxy"
app:defaultValue="true"
app:key="fallback_piped_proxy" />
2023-02-08 14:11:59 +05:30
</PreferenceCategory>
2022-08-28 19:10:12 +05:30
</PreferenceScreen>