From 4e78342c681efe809bc1f75cf4172c84a7837d15 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:06:31 +0300 Subject: [PATCH] disabling similar playlists - the tab in the "Create similar playlist" menu was removed in older versions because the developers disabled it on the server side --- patches/patches.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/patches.json b/patches/patches.json index 4785813..f68198e 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1801,8 +1801,8 @@ "fr": "1.1.85", "to": "1.2.24" }, - "match": ",(.\\.isOwnedBySelf&&)((\\(.{0,11}\\)|..createElement)\\(.{1,3}Fragment,.+?{(uri:.|).+?contextmenu.create-similar-playlist\"\\)}\\),)", - "replace": ",$2$1" + "match": "(Fragment,(?:null,|{children:\\[))(?:(?!\\1).)*?contextmenu\\.create-similar-playlist\"\\)}\\),", + "replace": "$1" }, "sidebar_fix": { "version": {