From 7de30eff8f1877bbd0c807f751f3cb31b904ae34 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 10 Jan 2025 19:59:49 +0000 Subject: [PATCH] chore: Release v3.2.0-dev.2 [skip ci] # [3.2.0-dev.2](https://github.com/anddea/revanced-patches/compare/v3.2.0-dev.1...v3.2.0-dev.2) (2025-01-10) ### Bug Fixes * **YouTube - Spoof streaming data:** Enhanced bitrate not available on `Android VR`, `Android TV` ([07614ad](https://github.com/anddea/revanced-patches/commit/07614ad93f18f5631ff86bb1893003ec5282e4f5)) * **YouTube Music - Player components:** `Restore old comments popup panels` not working on YouTube Music 7.25.53 ([2ce0bc4](https://github.com/anddea/revanced-patches/commit/2ce0bc42e88699f4f1043d87b723d5956bf83fc2)) ### Features * **YouTube - Seekbar components:** Add `Gradient seekbar colors` and `Gradient seekbar bounds` settings (for YouTube 19.25+) ([2a7b022](https://github.com/anddea/revanced-patches/commit/2a7b02267234b64d8983dd1b5525143a009aa566)) * **YouTube - Shorts components:** Add `Playback speed` option to custom actions ([4c50517](https://github.com/anddea/revanced-patches/commit/4c50517693735078ff8aefe58b918e5240f2edb4)) * **YouTube & YouTube Music - Settings:** Allow to export API key for `Return YouTube Username` (Caution: Do not share with others) ([e86ae68](https://github.com/anddea/revanced-patches/commit/e86ae68198b0ff10f940b6a084839aabdad29271)) * **YouTube Music - Disable music video in album:** Remove `Dismiss queue` options ([5d8ce8e](https://github.com/anddea/revanced-patches/commit/5d8ce8eb08fc4fa62fd3f7175b345d5a105de993)) * **YouTube Music:** Add `Dark theme` patch, remove `Amoled` patch ([097845b](https://github.com/anddea/revanced-patches/commit/097845b3e6acabcaaf886adf6a34c6dce6798681)) --- CHANGELOG.md | 17 +++++++++ README.md | 4 +-- gradle.properties | 2 +- patches.json | 91 +++++++++++++++++++++++++---------------------- 4 files changed, 69 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c355a74df..b3a3ffafe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# [3.2.0-dev.2](https://github.com/anddea/revanced-patches/compare/v3.2.0-dev.1...v3.2.0-dev.2) (2025-01-10) + + +### Bug Fixes + +* **YouTube - Spoof streaming data:** Enhanced bitrate not available on `Android VR`, `Android TV` ([07614ad](https://github.com/anddea/revanced-patches/commit/07614ad93f18f5631ff86bb1893003ec5282e4f5)) +* **YouTube Music - Player components:** `Restore old comments popup panels` not working on YouTube Music 7.25.53 ([2ce0bc4](https://github.com/anddea/revanced-patches/commit/2ce0bc42e88699f4f1043d87b723d5956bf83fc2)) + + +### Features + +* **YouTube - Seekbar components:** Add `Gradient seekbar colors` and `Gradient seekbar bounds` settings (for YouTube 19.25+) ([2a7b022](https://github.com/anddea/revanced-patches/commit/2a7b02267234b64d8983dd1b5525143a009aa566)) +* **YouTube - Shorts components:** Add `Playback speed` option to custom actions ([4c50517](https://github.com/anddea/revanced-patches/commit/4c50517693735078ff8aefe58b918e5240f2edb4)) +* **YouTube & YouTube Music - Settings:** Allow to export API key for `Return YouTube Username` (Caution: Do not share with others) ([e86ae68](https://github.com/anddea/revanced-patches/commit/e86ae68198b0ff10f940b6a084839aabdad29271)) +* **YouTube Music - Disable music video in album:** Remove `Dismiss queue` options ([5d8ce8e](https://github.com/anddea/revanced-patches/commit/5d8ce8eb08fc4fa62fd3f7175b345d5a105de993)) +* **YouTube Music:** Add `Dark theme` patch, remove `Amoled` patch ([097845b](https://github.com/anddea/revanced-patches/commit/097845b3e6acabcaaf886adf6a34c6dce6798681)) + # [3.2.0-dev.1](https://github.com/anddea/revanced-patches/compare/v3.1.0...v3.2.0-dev.1) (2025-01-05) diff --git a/README.md b/README.md index 801480620..5429c5c8d 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,6 @@ Check the [wiki](https://github.com/anddea/revanced-patches/wiki) for resources | 💊 Patch | 📜 Description | 🏹 Target Version | |:--------:|:--------------:|:-----------------:| -| `Amoled` | Applies a pure black theme to some components. | 6.20.51 ~ 7.25.53 | | `Bitrate default value` | Sets the audio quality to 'Always High' when you first install the app. | 6.20.51 ~ 7.25.53 | | `Bypass image region restrictions` | Adds an option to use a different host for static images, so that images blocked in some countries can be received. | 6.20.51 ~ 7.25.53 | | `Certificate spoof` | Enables YouTube Music to work with Android Auto by spoofing the YouTube Music certificate. | 6.20.51 ~ 7.25.53 | @@ -92,11 +91,12 @@ Check the [wiki](https://github.com/anddea/revanced-patches/wiki) for resources | `Custom branding icon for YouTube Music` | Changes the YouTube Music app icon to the icon specified in patch options. | 6.20.51 ~ 7.25.53 | | `Custom branding name for YouTube Music` | Renames the YouTube Music app to the name specified in patch options. | 6.20.51 ~ 7.25.53 | | `Custom header for YouTube Music` | Applies a custom header in the top left corner within the app. | 6.20.51 ~ 7.25.53 | +| `Dark theme` | Changes the app's dark theme to the values specified in patch options. | 6.20.51 ~ 7.25.53 | | `Disable Cairo splash animation` | Adds an option to disable Cairo splash animation. | 7.06.54 ~ 7.25.53 | | `Disable DRC audio` | Adds an option to disable DRC (Dynamic Range Compression) audio. | 6.20.51 ~ 7.25.53 | | `Disable auto captions` | Adds an option to disable captions from being automatically enabled. | 6.20.51 ~ 7.25.53 | | `Disable dislike redirection` | Adds an option to disable redirection to the next track when clicking the Dislike button. | 6.20.51 ~ 7.25.53 | -| `Disable music video in album` | Adds option to redirect music videos from albums. | 6.20.51 ~ 7.25.53 | +| `Disable music video in album` | Adds option to redirect music videos from albums for non-premium users. | 6.20.51 ~ 7.25.53 | | `Enable OPUS codec` | Adds an options to enable the OPUS audio codec if the player response includes. | 6.20.51 ~ 7.25.53 | | `Enable debug logging` | Adds an option to enable debug logging. | 6.20.51 ~ 7.25.53 | | `Enable landscape mode` | Adds an option to enable landscape mode when rotating the screen on phones. | 6.20.51 ~ 7.25.53 | diff --git a/gradle.properties b/gradle.properties index e56e57aa2..c878f7a15 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,4 +4,4 @@ org.gradle.parallel = true android.useAndroidX = true kotlin.code.style = official kotlin.jvm.target.validation.mode = IGNORE -version = 3.2.0-dev.1 +version = 3.2.0-dev.2 diff --git a/patches.json b/patches.json index ae375197e..a67819a25 100644 --- a/patches.json +++ b/patches.json @@ -43,26 +43,6 @@ }, "options": [] }, - { - "name": "Amoled", - "description": "Applies a pure black theme to some components.", - "use": true, - "dependencies": [ - "BytecodePatch", - "Settings for YouTube Music" - ], - "compatiblePackages": { - "com.google.android.apps.youtube.music": [ - "6.20.51", - "6.29.59", - "6.42.55", - "6.51.53", - "7.16.53", - "7.25.53" - ] - }, - "options": [] - }, { "name": "Bitrate default value", "description": "Sets the audio quality to \u0027Always High\u0027 when you first install the app.", @@ -657,6 +637,53 @@ } ] }, + { + "name": "Dark theme", + "description": "Changes the app\u0027s dark theme to the values specified in patch options.", + "use": true, + "dependencies": [ + "BytecodePatch" + ], + "compatiblePackages": { + "com.google.android.apps.youtube.music": [ + "6.20.51", + "6.29.59", + "6.42.55", + "6.51.53", + "7.16.53", + "7.25.53" + ] + }, + "options": [ + { + "key": "darkThemeBackgroundColor", + "title": "Dark theme background color", + "description": "Can be a hex color (#AARRGGBB) or a color resource reference.", + "required": false, + "type": "kotlin.String", + "default": "@android:color/black", + "values": { + "Amoled Black": "@android:color/black", + "Catppuccin (Mocha)": "#FF181825", + "Dark Pink": "#FF290025", + "Dark Blue": "#FF001029", + "Dark Green": "#FF002905", + "Dark Yellow": "#FF282900", + "Dark Orange": "#FF291800", + "Dark Red": "#FF290000" + } + }, + { + "key": "materialYou", + "title": "MaterialYou", + "description": "Applies the MaterialYou theme for Android 12+ devices.", + "required": true, + "type": "kotlin.Boolean", + "default": false, + "values": null + } + ] + }, { "name": "Description components", "description": "Adds options to hide and disable description components.", @@ -842,12 +869,11 @@ }, { "name": "Disable music video in album", - "description": "Adds option to redirect music videos from albums.", + "description": "Adds option to redirect music videos from albums for non-premium users.", "use": false, "dependencies": [ "Settings for YouTube Music", "BytecodePatch", - "BytecodePatch", "BytecodePatch" ], "compatiblePackages": { @@ -2384,26 +2410,7 @@ "19.44.39" ] }, - "options": [ - { - "key": "cairoStartColor", - "title": "Cairo start color", - "description": "Set Cairo start color for the seekbar.", - "required": false, - "type": "kotlin.String", - "default": "#FFFF0033", - "values": null - }, - { - "key": "cairoEndColor", - "title": "Cairo end color", - "description": "Set Cairo end color for the seekbar.", - "required": false, - "type": "kotlin.String", - "default": "#FFFF2791", - "values": null - } - ] + "options": [] }, { "name": "Settings for Reddit",