49 Commits

Author SHA1 Message Date
inotia00
2b77e46f5e feat(YouTube - Shorts components): Add Restore old player layout setting (YouTube 18.29.38 ~ 19.16.39) 2024-12-21 14:07:30 +09:00
inotia00
20eaad51d8 fix(YouTube): When clicking on timestamps in comments, playback speed sometimes changes to 1.0x (unpatched YouTube bug) 2024-12-21 13:49:59 +09:00
inotia00
f848b9fcac chore(YouTube): Match some Extension with ReVanced 2024-12-21 13:41:15 +09:00
inotia00
1c06f2eee4 feat(YouTube - Swipe controls): Change the setting name Enable watch panel gestures to Disable watch panel gestures, and change the setting name Enable swipe to change video to Disable swipe to change video 2024-12-21 13:38:12 +09:00
inotia00
cd19073dd4 feat(YouTube - Navigation bar components): Add Disable translucent status bar setting 2024-12-21 13:34:21 +09:00
inotia00
ca4edcd3a5 fix(YouTube - Miniplayer): Use estimated maximum on screen size for devices with low density screens 2024-12-21 13:31:35 +09:00
inotia00
b5f9a951d3 feat(YouTube - Navigation bar components): Separate Enable translucent navigation bar setting into Disable light translucent bar and Disable dark translucent bar settings 2024-12-21 13:30:25 +09:00
inotia00
8e02716d95 fix(YouTube - Hide feed components): Hide carousel shelf hiding in library in certain situations 2024-12-21 11:47:27 +09:00
inotia00
c3b2e5c0fc fix(SponsorBlock): Show create new segment error messages using a dialog 2024-12-21 11:42:56 +09:00
inotia00
3c8e61c850 feat(Spoof streaming data): Separate Sync video length before playback setting 2024-12-20 17:29:06 +09:00
Francesco Marastoni
7653041595
feat(YouTube - Shorts components): Add styles to custom actions dialog (#107)
* feat(YouTube - Shorts components): add styles to the menu

* feat(YouTube - Shorts components): make style similar to flyout menu

* feat(YouTube - Shorts components): add padding around the menu

* fix(YouTube - Shorts components): make enums constants and fix the missing icons

* fix(YouTube - Shorts components): icons were in the wrong color with custom themes

* Fix dialog not closing, Remove unnecessary Maps, Move some duplicate code to shared classes

* fix: Dependency of settings is inverted (at least one custom action must be enabled to appear in the toolbar or flyout menu)

* fix: Some actions do not work when `Enable custom actions in flyout menu` is turned off

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
2024-12-19 14:54:06 +09:00
inotia00
b32301fd85 chore: Lint code 2024-12-17 14:17:15 +09:00
inotia00
4c24f4569c fix(YouTube - Hide feed components): Hide carousel shelf hiding in library in certain situations 2024-12-17 13:40:41 +09:00
inotia00
2def0d4cc7 feat(YouTube): Support version 19.38.41 2024-12-17 13:38:32 +09:00
inotia00
d1b2fe16db fix(YouTube - Spoof streaming data): On iOS clients, livestreams always start from the beginning 2024-12-16 21:54:57 +09:00
inotia00
e8090243b1 fix build error 2024-12-16 21:48:52 +09:00
inotia00
5a677e691b fix(YouTube - Hide feed components): new kind of community posts are not hidden 2024-12-16 21:47:55 +09:00
inotia00
7f065547eb feat(YouTube - Shorts components): add Change Shorts background repeat state setting (YouTube 19.34.42+) 2024-12-16 21:45:47 +09:00
inotia00
254c766347 feat(YouTube - Player components): Add Hide Chat summary in live chat setting 2024-12-16 13:17:35 +09:00
inotia00
4aad9297e3 fix(YouTube - Hide ads): Hide new type of featured promotions 2024-12-16 13:08:05 +09:00
inotia00
90601e53fb fix(YouTube - Shorts components): Hide Shorts shelves not hiding in home feed in certain situations 2024-12-16 13:06:01 +09:00
inotia00
d97447f7a8 fix(YouTube - Hide feed components): Hide carousel shelf not hiding in home feed in certain situations 2024-12-16 13:05:01 +09:00
inotia00
831d2a1e76 feat(YouTube - Navigation bar components): Add missing resource for Cairo notification icon (YouTube 19.34.42+) https://github.com/inotia00/ReVanced_Extended/issues/2553 2024-12-16 12:55:12 +09:00
inotia00
7dfd817ba3 feat(YouTube Music): Add Spoof streaming data patch 2024-12-15 18:29:05 +09:00
Hoàng Gia Bảo
59b0c7168c
refactor(YouTube - Spoof streaming data): Remove Force iOS AVC setting (#103)
* refactor(YouTube - Spoof Streaming Data): Remove `Force AVC` settings

* Add missing header

* Apply code suggestion
2024-12-15 17:46:03 +09:00
Francesco Marastoni
73b95a5143
feat(YouTube - Shorts components): add Custom actions in toolbar setting (YouTube 18.38.44+) (#106)
* feat(YouTube - Shorts Player):  Hook `More` button

* fix(YouTube - Shorts Player): Incorrect videoId when playing a Short

* fix(YouTube - Shorts Player): `Open in normal player` didn't work when `Enable open links directly` was disabled

* fix: Use an existing class

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
2024-12-15 16:54:33 +09:00
Hoàng Gia Bảo
7023e5b323
feat(YouTube - Overlay buttons): Add missing ALL_CONTENTS_WITH_TIME_ASCENDING type (#105)
* Add `ALL_CONTENTS_WITH_TIME_ASCENDING` type

* Rewrite function

* Update arrays.xml

* Update strings.xml

* Update strings.xml

* chore: Simplify

* fix: Apply code review suggestions

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
2024-12-15 15:33:50 +09:00
inotia00
dad6b3d5e4 feat(YouTube - Shorts components): add Custom actions setting (YouTube 19.05.36+) 2024-12-15 15:03:05 +09:00
inotia00
169dc9acba fix(YouTube - Player components): Hide seek message not working on YouTube 19.34.42 2024-12-15 14:58:25 +09:00
inotia00
9e50e0d874 feat(YouTube - Remove background playback restrictions): Add PiP mode support in Shorts 2024-12-15 14:39:22 +09:00
inotia00
10b5119afc feat(YouTube - Seekbar components): Change default seekbar color to match new branding 2024-12-15 14:36:14 +09:00
inotia00
2bd7b5aeed fix(YouTube - Seekbar components): Custom seekbar color not applied to gradient seekbar in YouTube 19.34.42 2024-12-15 14:34:03 +09:00
inotia00
231f897bcc feat(YouTube - Seekbar components): Remove Enable Cairo seekbar setting, which is no longer needed (Enabled by default in YouTube 19.34.42) 2024-12-15 14:26:18 +09:00
inotia00
969e845a87 fix(YouTube/Hide player flyout menu): Sleep timer menu always hidden in YouTube 19.34.42 2024-12-15 14:21:40 +09:00
inotia00
53c64552dd feat(YouTube): Support version 19.34.42 2024-12-09 22:50:53 +09:00
inotia00
69f51ba088 revert(YouTube - Spoof streaming data): Block the domain in the blockInitPlaybackRequest method 2024-12-09 22:27:40 +09:00
inotia00
f2363bc954 feat(YouTube - Shorts components): Add Hide in watch history setting 2024-12-08 18:10:57 +09:00
inotia00
48a3bd0275 fix(YouTube - Video playback): Correctly set default quality when changing from a low quality video 2024-12-08 18:09:51 +09:00
inotia00
e5bbc036f4 fix(YouTube - Video playback): Correctly set default quality when changing from a low quality video 2024-12-08 15:52:40 +09:00
inotia00
9f2276813c refactor(YouTube - Hide feed components): Do not search path or buffer unless Hide mix playlists setting is enabled 2024-12-08 15:52:06 +09:00
inotia00
481b1537e0 feat(YouTube Music): add Spoof client patch 2024-12-08 15:49:46 +09:00
inotia00
da10e62286 chore: Lint code 2024-12-08 15:46:41 +09:00
inotia00
654368ffe2 fix(YouTube - SponsorBlock): Fix create new segment crash on tablet custom roms 2024-12-08 11:52:02 +09:00
inotia00
e0bdce0c19 refactor(YouTube - PlayerTypeHook): Use search query instead of View to determine whether a user is in search results or not 2024-12-08 11:50:12 +09:00
inotia00
19bce281ef fix(YouTube - Shorts components): Do not hide Shorts action buttons on app first launch 2024-12-08 11:49:21 +09:00
inotia00
d312833c55 fix(YouTube - Return YouTube Dislike): Show Shorts dislikes with new A/B button icons 2024-12-08 11:48:35 +09:00
inotia00
99530e098c chore: lint code 2024-12-08 11:47:53 +09:00
Hoàng Gia Bảo
cbac88b2b5
fix(YouTube - Spoof Streaming Data): Fix memory leak in ByteArrayOutputStream (#102) 2024-12-08 10:06:19 +09:00
inotia00
b31865afbe refactor: Bump ReVanced Patcher & merge integrations by using ReVanced Patches Gradle plugin
BREAKING CHANGE: ReVanced Patcher >= 21 required
2024-12-07 22:13:39 +09:00