mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 20:42:34 +01:00
Add new preference for seek duration.
Add new ListPreference under settings/ video & audio for the duration of a seek. With options for 5, 10, 15, 20, 25, 30 seconds.
This commit is contained in:
parent
fa8483bbb6
commit
550364906d
@ -28,6 +28,25 @@
|
|||||||
<string name="screen_brightness_key" translatable="false">screen_brightness_key</string>
|
<string name="screen_brightness_key" translatable="false">screen_brightness_key</string>
|
||||||
<string name="screen_brightness_timestamp_key" translatable="false">screen_brightness_timestamp_key</string>
|
<string name="screen_brightness_timestamp_key" translatable="false">screen_brightness_timestamp_key</string>
|
||||||
|
|
||||||
|
<string name="seek_duration_key" translatable="false">seek_duration</string>
|
||||||
|
<string name="seek_duration_default_key" translatable="false">10000</string>
|
||||||
|
<string-array name="seek_duration_description" translatable="false">
|
||||||
|
<item>5 seconds</item>
|
||||||
|
<item>10 seconds</item>
|
||||||
|
<item>15 seconds</item>
|
||||||
|
<item>20 seconds</item>
|
||||||
|
<item>25 seconds</item>
|
||||||
|
<item>30 seconds</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="seek_duration_value" translatable="false">
|
||||||
|
<item>5000</item>
|
||||||
|
<item>10000</item>
|
||||||
|
<item>15000</item>
|
||||||
|
<item>20000</item>
|
||||||
|
<item>25000</item>
|
||||||
|
<item>30000</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
<string name="minimize_on_exit_key" translatable="false">minimize_on_exit_key</string>
|
<string name="minimize_on_exit_key" translatable="false">minimize_on_exit_key</string>
|
||||||
<string name="minimize_on_exit_value" translatable="false">@string/minimize_on_exit_none_key</string>
|
<string name="minimize_on_exit_value" translatable="false">@string/minimize_on_exit_none_key</string>
|
||||||
<string name="minimize_on_exit_none_key" translatable="false">minimize_on_exit_none_key</string>
|
<string name="minimize_on_exit_none_key" translatable="false">minimize_on_exit_none_key</string>
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
<string name="popup_remember_size_pos_summary">Remember last size and position of popup</string>
|
<string name="popup_remember_size_pos_summary">Remember last size and position of popup</string>
|
||||||
<string name="use_inexact_seek_title">Use fast inexact seek</string>
|
<string name="use_inexact_seek_title">Use fast inexact seek</string>
|
||||||
<string name="use_inexact_seek_summary">Inexact seek allows the player to seek to positions faster with reduced precision</string>
|
<string name="use_inexact_seek_summary">Inexact seek allows the player to seek to positions faster with reduced precision</string>
|
||||||
|
<string name="seek_duration_title">Seek duration</string>
|
||||||
<string name="download_thumbnail_title">Load thumbnails</string>
|
<string name="download_thumbnail_title">Load thumbnails</string>
|
||||||
<string name="show_comments_title">Show comments</string>
|
<string name="show_comments_title">Show comments</string>
|
||||||
<string name="show_comments_summary">Disable to stop showing comments</string>
|
<string name="show_comments_summary">Disable to stop showing comments</string>
|
||||||
|
@ -146,5 +146,14 @@
|
|||||||
android:key="@string/use_inexact_seek_key"
|
android:key="@string/use_inexact_seek_key"
|
||||||
android:summary="@string/use_inexact_seek_summary"
|
android:summary="@string/use_inexact_seek_summary"
|
||||||
android:title="@string/use_inexact_seek_title"/>
|
android:title="@string/use_inexact_seek_title"/>
|
||||||
|
|
||||||
|
<ListPreference
|
||||||
|
app:iconSpaceReserved="false"
|
||||||
|
android:defaultValue="@string/seek_duration_default_key"
|
||||||
|
android:entries="@array/seek_duration_description"
|
||||||
|
android:entryValues="@array/seek_duration_value"
|
||||||
|
android:key="@string/seek_duration_key"
|
||||||
|
android:summary="%s"
|
||||||
|
android:title="@string/seek_duration_title"/>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
Loading…
Reference in New Issue
Block a user