mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-22 18:23:59 +00:00
Compare commits
4 Commits
v2.174.0-d
...
v2.174.0-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8399eaa288 | ||
|
|
63460542d0 | ||
|
|
ba52570ad6 | ||
|
|
bb303713bd |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
# [2.174.0-dev.24](https://github.com/revanced/revanced-patches/compare/v2.174.0-dev.23...v2.174.0-dev.24) (2023-05-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **twitch/auto-claim-channel-points:** use correct casing for "Channel Points" ([#2138](https://github.com/revanced/revanced-patches/issues/2138)) ([76a3bf2](https://github.com/revanced/revanced-patches/commit/76a3bf23b5e5591ae635e612af07cbbd78d49f53))
|
||||||
|
|
||||||
|
# [2.174.0-dev.23](https://github.com/revanced/revanced-patches/compare/v2.174.0-dev.22...v2.174.0-dev.23) (2023-05-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **youtube/custom-video-speed:** add missing class for `video-speeds` patch ([#2137](https://github.com/revanced/revanced-patches/issues/2137)) ([758ef42](https://github.com/revanced/revanced-patches/commit/758ef42f9cd36d665b1737b67bcdde22d3e3eb98))
|
||||||
|
|
||||||
# [2.174.0-dev.22](https://github.com/revanced/revanced-patches/compare/v2.174.0-dev.21...v2.174.0-dev.22) (2023-05-12)
|
# [2.174.0-dev.22](https://github.com/revanced/revanced-patches/compare/v2.174.0-dev.21...v2.174.0-dev.22) (2023-05-12)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ The official ReVanced Patches.
|
|||||||
|
|
||||||
| 💊 Patch | 📜 Description | 🏹 Target Version |
|
| 💊 Patch | 📜 Description | 🏹 Target Version |
|
||||||
|:--------:|:--------------:|:-----------------:|
|
|:--------:|:--------------:|:-----------------:|
|
||||||
| `auto-claim-channel-points` | Automatically claim channel points. | all |
|
| `auto-claim-channel-points` | Automatically claim Channel Points. | all |
|
||||||
| `block-audio-ads` | Blocks audio ads in streams and VODs. | 14.6.1 |
|
| `block-audio-ads` | Blocks audio ads in streams and VODs. | 14.6.1 |
|
||||||
| `block-embedded-ads` | Blocks embedded stream ads using services like TTV.lol or PurpleAdBlocker. | 14.6.1 |
|
| `block-embedded-ads` | Blocks embedded stream ads using services like TTV.lol or PurpleAdBlocker. | 14.6.1 |
|
||||||
| `block-video-ads` | Blocks video ads in streams and VODs. | 14.6.1 |
|
| `block-video-ads` | Blocks video ads in streams and VODs. | 14.6.1 |
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 2.174.0-dev.22
|
version = 2.174.0-dev.24
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
|||||||
@Patch
|
@Patch
|
||||||
@DependsOn([SettingsPatch::class])
|
@DependsOn([SettingsPatch::class])
|
||||||
@Name("auto-claim-channel-points")
|
@Name("auto-claim-channel-points")
|
||||||
@Description("Automatically claim channel points.")
|
@Description("Automatically claim Channel Points.")
|
||||||
@AutoClaimChannelPointsCompatibility
|
@AutoClaimChannelPointsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class AutoClaimChannelPointPatch : BytecodePatch(
|
class AutoClaimChannelPointPatch : BytecodePatch(
|
||||||
@@ -34,16 +34,16 @@ class AutoClaimChannelPointPatch : BytecodePatch(
|
|||||||
"revanced_auto_claim_channel_points",
|
"revanced_auto_claim_channel_points",
|
||||||
StringResource(
|
StringResource(
|
||||||
"revanced_auto_claim_channel_points",
|
"revanced_auto_claim_channel_points",
|
||||||
"Automatically claim channel points"
|
"Automatically claim Channel Points"
|
||||||
),
|
),
|
||||||
true,
|
true,
|
||||||
StringResource(
|
StringResource(
|
||||||
"revanced_auto_claim_channel_points_on",
|
"revanced_auto_claim_channel_points_on",
|
||||||
"Channel points are claimed automatically"
|
"Channel Points are claimed automatically"
|
||||||
),
|
),
|
||||||
StringResource(
|
StringResource(
|
||||||
"revanced_auto_claim_channel_points_off",
|
"revanced_auto_claim_channel_points_off",
|
||||||
"Channel points are not claimed automatically"
|
"Channel Points are not claimed automatically"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
package app.revanced.patches.youtube.video.speed
|
||||||
|
|
||||||
|
import app.revanced.patcher.annotation.Description
|
||||||
|
import app.revanced.patcher.annotation.Name
|
||||||
|
import app.revanced.patcher.annotation.Version
|
||||||
|
import app.revanced.patcher.data.BytecodeContext
|
||||||
|
import app.revanced.patcher.patch.BytecodePatch
|
||||||
|
import app.revanced.patcher.patch.PatchResult
|
||||||
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
|
import app.revanced.patches.youtube.video.speed.custom.patch.CustomVideoSpeedPatch
|
||||||
|
import app.revanced.patches.youtube.video.speed.remember.patch.RememberPlaybackSpeedPatch
|
||||||
|
|
||||||
|
@Patch
|
||||||
|
@Name("video-speed")
|
||||||
|
@Description("Adds custom video speeds and ability to remember the playback speed you chose in the video playback speed flyout.")
|
||||||
|
@DependsOn([CustomVideoSpeedPatch::class, RememberPlaybackSpeedPatch::class])
|
||||||
|
@Version("0.0.1")
|
||||||
|
class VideoSpeeds : BytecodePatch() {
|
||||||
|
override fun execute(context: BytecodeContext): PatchResult {
|
||||||
|
return PatchResultSuccess() // All patches this patch depends on succeed.
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class CustomVideoSpeedPatch : BytecodePatch(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
override fun execute(context: BytecodeContext): PatchResult {
|
override fun execute(context: BytecodeContext): PatchResult {
|
||||||
SettingsPatch.PreferenceScreen.MISC.addPreferences(
|
SettingsPatch.PreferenceScreen.VIDEO.addPreferences(
|
||||||
TextPreference(
|
TextPreference(
|
||||||
key = "revanced_custom_video_speeds",
|
key = "revanced_custom_video_speeds",
|
||||||
title = StringResource(
|
title = StringResource(
|
||||||
|
|||||||
Reference in New Issue
Block a user