Skip to content

Commit

Permalink
De-Arrow implemented (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
YT-Advanced authored Oct 8, 2023
1 parent 113541d commit b35510e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
13 changes: 8 additions & 5 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@

<string name="revanced_ads">Ads</string>
<string name="revanced_alt_thumbnails">Alternative thumbnails</string>
<string name="revanced_alt_thumbnail_about_summary">Alternative thumbnails are still images from the beginning/middle/end of each video. No external API is used, as these images are built into YouTube</string>
<string name="revanced_alt_thumbnail_about_summary">A feature that replaced default video thumbnails with Alternative ones to reduce sensationalism.</string>
<string name="revanced_alt_thumbnail_about_title">About</string>
<string name="revanced_alt_thumbnail_enabled_summary_off">Original YouTube thumbnails shown</string>
<string name="revanced_alt_thumbnail_enabled_summary_on">YouTube thumbnails replaced with alternative ones</string>
<string name="revanced_alt_thumbnail_enabled_summary_on">YouTube thumbnails replaced with Alternative ones</string>
<string name="revanced_alt_thumbnail_enabled_title">Enable alternative thumbnails</string>
<string name="revanced_alt_thumbnail_fast_quality_summary_off">Using high quality stills but will have more delay</string>
<string name="revanced_alt_thumbnail_fast_quality_summary_on">Using medium quality stills. Thumbnails will load faster, but live streams, unreleased, or very old videos may show blank thumbnails</string>
<string name="revanced_alt_thumbnail_fast_quality_title">Use fast alternative thumbnails</string>
<string name="revanced_alt_thumbnail_dearrow_enabled_summary_off">Thumbnails is generated without external API</string>
<string name="revanced_alt_thumbnail_dearrow_enabled_summary_on">Thumbnails is generated using DeArrow API</string>
<string name="revanced_alt_thumbnail_dearrow_enabled_title">Using DeArrow API</string>
<string name="revanced_alt_thumbnail_fast_quality_summary_off">Thumbnails will be checked if exist or not before replacing</string>
<string name="revanced_alt_thumbnail_fast_quality_summary_on">Thumbnails will load faster, but some video will show blank thumbnails</string>
<string name="revanced_alt_thumbnail_fast_quality_title">Skip checking for thumbnails</string>
<string name="revanced_alt_thumbnail_type_entry_1">Beginning of video</string>
<string name="revanced_alt_thumbnail_type_entry_2">Middle of video</string>
<string name="revanced_alt_thumbnail_type_entry_3">End of video</string>
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<PreferenceScreen android:title="@string/revanced_alt_thumbnails" android:key="alt_thumbnails">
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_alt_thumbnails" />
<SwitchPreference android:title="@string/revanced_alt_thumbnail_enabled_title" android:key="revanced_alt_thumbnail_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_alt_thumbnail_enabled_summary_on" android:summaryOff="@string/revanced_alt_thumbnail_enabled_summary_off" />
<SwitchPreference android:title="@string/revanced_alt_thumbnail_dearrow_enabled_title" android:key="revanced_alt_thumbnail_dearrow_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_alt_thumbnail_dearrow_enabled_summary_on" android:summaryOff="@string/revanced_alt_thumbnail_dearrow_enabled_summary_off" />
<ListPreference android:title="@string/revanced_alt_thumbnail_type_title" android:key="revanced_alt_thumbnail_type" android:entries="@array/revanced_alt_thumbnail_type_entries" android:defaultValue="1" android:entryValues="@array/revanced_alt_thumbnail_type_entry_values" />
<SwitchPreference android:title="@string/revanced_alt_thumbnail_fast_quality_title" android:key="revanced_alt_thumbnail_fast_quality" android:defaultValue="false" android:summaryOn="@string/revanced_alt_thumbnail_fast_quality_summary_on" android:summaryOff="@string/revanced_alt_thumbnail_fast_quality_summary_off" />
<Preference android:title="@string/revanced_alt_thumbnail_about_title" android:selectable="false" android:summary="@string/revanced_alt_thumbnail_about_summary" />
Expand Down Expand Up @@ -654,4 +655,4 @@
<!-- PREFERENCE: VIDEO_SETTINGS
</PreferenceScreen>PREFERENCE: VIDEO_SETTINGS -->

</PreferenceScreen>
</PreferenceScreen>

0 comments on commit b35510e

Please sign in to comment.