49 Commits

Author SHA1 Message Date
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
9ed8754bb7 refactor(Spoof streaming data): Improve hooking performance 2024-12-18 20:21:18 +09:00
Hoàng Gia Bảo
5ffbb4714a
fix(Spoof Streaming Data): Performance degradation on iOS client (#110)
* fix(Spoof Streaming Data): Apply workarounds to the correct client

* Lint code

* Lint

* Correct the logic

* Use `put` to update the client type

* Fix build error

* Fix logic

* Apply HLS fix for all client

* Remove unused method

* fix: Apply code review suggestions

* fix: Apply code review suggestions

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
2024-12-18 09:43:35 +09:00
inotia00
b32301fd85 chore: Lint code 2024-12-17 14:17:15 +09:00
inotia00
e0b6d33df5 fix(YouTube - Spoof streaming data): Videos end 1 second early on iOS client 2024-12-17 13:57:19 +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
50850a1fc6 fix(YouTube Music - Spoof client): Action bar not loading as of YouTube Music 7.17.51 2024-12-17 13:27:09 +09:00
inotia00
a27a04d1f2 feat(YouTube Music): Support version 7.25.52 https://github.com/inotia00/ReVanced_Extended/issues/2554 2024-12-17 13:20:44 +09:00
inotia00
72fbc4489a feat(YouTube - Spoof streaming data): Remove Skip iOS livestream playback setting (no longer needed) 2024-12-16 22:04:28 +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
4e85c77d53 feat(YouTube Music): Add Disable DRC audio patch https://github.com/inotia00/ReVanced_Extended/issues/2552 2024-12-15 19:08:31 +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
Hoàng Gia Bảo
04b137ddd2
feat(YouTube Music - Hide player flyout menu): add Hide Speed dial menu setting (#104)
* Update enum

* Add settings

* Add strings

* Add settings pref
2024-12-15 14:12:35 +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
ac72748834 feat(YouTube Music - Hide ads): Changed the default value of Hide fullscreen ads setting to off and added a warning to the setting 2024-12-08 15:44:50 +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