diff --git a/src/main/kotlin/app/revanced/patches/music/video/customspeed/patch/CustomPlaybackSpeedPatch.kt b/src/main/kotlin/app/revanced/patches/music/video/customspeed/patch/CustomPlaybackSpeedPatch.kt
new file mode 100644
index 000000000..d70bda3b2
--- /dev/null
+++ b/src/main/kotlin/app/revanced/patches/music/video/customspeed/patch/CustomPlaybackSpeedPatch.kt
@@ -0,0 +1,33 @@
+package app.revanced.patches.music.video.customspeed.patch
+
+import app.revanced.patcher.annotation.Description
+import app.revanced.patcher.annotation.Name
+import app.revanced.patcher.data.BytecodeContext
+import app.revanced.patcher.patch.annotations.DependsOn
+import app.revanced.patcher.patch.annotations.Patch
+import app.revanced.patches.music.utils.annotations.MusicCompatibility
+import app.revanced.patches.music.utils.intenthook.patch.IntentHookPatch
+import app.revanced.patches.music.utils.settings.resource.patch.SettingsPatch
+import app.revanced.patches.shared.patch.customspeed.AbstractCustomPlaybackSpeedPatch
+import app.revanced.util.enum.CategoryType
+import app.revanced.util.integrations.Constants.MUSIC_VIDEO_PATH
+
+@Patch
+@Name("Custom playback speed")
+@Description("Adds more playback speed options.")
+@DependsOn([IntentHookPatch::class])
+@MusicCompatibility
+class CustomPlaybackSpeedPatch : AbstractCustomPlaybackSpeedPatch(
+ "$MUSIC_VIDEO_PATH/CustomPlaybackSpeedPatch;",
+ 3.0f
+) {
+ override fun execute(context: BytecodeContext) {
+ super.execute(context)
+
+ SettingsPatch.addMusicPreferenceWithIntent(
+ CategoryType.VIDEO,
+ "revanced_custom_playback_speeds"
+ )
+
+ }
+}
diff --git a/src/main/resources/music/settings/host/values/strings.xml b/src/main/resources/music/settings/host/values/strings.xml
index 87ad216d7..c1a358e61 100644
--- a/src/main/resources/music/settings/host/values/strings.xml
+++ b/src/main/resources/music/settings/host/values/strings.xml
@@ -12,6 +12,10 @@
Edit custom filter
Enables custom filter to hide layout components.
Enable custom filter
+ Invalid custom playback speeds! Reset to default values.
+ Custom speeds must be less than %sx
+ Add or change the playback speeds available
+ Edit custom playback speeds
Disables forced auto captions.
Disable forced auto captions
%s is not installed. Please install it.