feat(YouTube - Change start page): Add more start pages

This commit is contained in:
oSumAtrIX 2024-02-08 21:10:27 +01:00
parent 1a10238db6
commit cc1d9b7436
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 25 additions and 12 deletions

View file

@ -20,12 +20,16 @@
</patch> </patch>
<patch id="layout.startpage.ChangeStartPagePatch"> <patch id="layout.startpage.ChangeStartPagePatch">
<string-array name="revanced_start_page_entries"> <string-array name="revanced_start_page_entries">
<item>@string/revanced_start_page_home_entry_0</item> <item>@string/revanced_start_page_entry_0</item>
<item>@string/revanced_start_page_home_entry_1</item> <item>@string/revanced_start_page_entry_1</item>
<item>@string/revanced_start_page_search_entry_2</item> <item>@string/revanced_start_page_entry_2</item>
<item>@string/revanced_start_page_subscriptions_entry_3</item> <item>@string/revanced_start_page_entry_3</item>
<item>@string/revanced_start_page_explore_entry_4</item> <item>@string/revanced_start_page_entry_4</item>
<item>@string/revanced_start_page_shorts_entry_5</item> <item>@string/revanced_start_page_entry_5</item>
<item>@string/revanced_start_page_entry_6</item>
<item>@string/revanced_start_page_entry_7</item>
<item>@string/revanced_start_page_entry_8</item>
<item>@string/revanced_start_page_entry_9</item>
</string-array> </string-array>
<string-array name="revanced_start_page_entry_values"> <string-array name="revanced_start_page_entry_values">
<item/> <item/>
@ -34,6 +38,11 @@
<item>open.subscriptions</item> <item>open.subscriptions</item>
<item>open.explore</item> <item>open.explore</item>
<item>open.shorts</item> <item>open.shorts</item>
<item>www.youtube.com/feed/library</item>
<!-- Liked videos -->
<item>www.youtube.com/playlist?list=LL</item>
<item>www.youtube.com/feed/history</item>
<item>www.youtube.com/feed/trending</item>
</string-array> </string-array>
</patch> </patch>
<patch id="layout.thumbnails.AlternativeThumbnailsPatch"> <patch id="layout.thumbnails.AlternativeThumbnailsPatch">

View file

@ -792,12 +792,16 @@
</patch> </patch>
<patch id="layout.startpage.ChangeStartPagePatch"> <patch id="layout.startpage.ChangeStartPagePatch">
<string name="revanced_start_page_title">Set start page</string> <string name="revanced_start_page_title">Set start page</string>
<string name="revanced_start_page_home_entry_0">Default</string> <string name="revanced_start_page_entry_0">Default</string>
<string name="revanced_start_page_home_entry_1">Home</string> <string name="revanced_start_page_entry_1">Home</string>
<string name="revanced_start_page_search_entry_2">Search</string> <string name="revanced_start_page_entry_2">Search</string>
<string name="revanced_start_page_subscriptions_entry_3">Subscriptions</string> <string name="revanced_start_page_entry_3">Subscriptions</string>
<string name="revanced_start_page_explore_entry_4">Explore</string> <string name="revanced_start_page_entry_4">Explore</string>
<string name="revanced_start_page_shorts_entry_5">Shorts</string> <string name="revanced_start_page_entry_5">Shorts</string>
<string name="revanced_start_page_entry_6">Library</string>
<string name="revanced_start_page_entry_7">Liked videos</string>
<string name="revanced_start_page_entry_8">History</string>
<string name="revanced_start_page_entry_9">Trending</string>
</patch> </patch>
<patch id="layout.startupshortsreset.DisableResumingShortsOnStartupPatch"> <patch id="layout.startupshortsreset.DisableResumingShortsOnStartupPatch">
<string name="revanced_disable_resuming_shorts_player_title">Disable resuming Shorts player</string> <string name="revanced_disable_resuming_shorts_player_title">Disable resuming Shorts player</string>