diff --git a/patches/patches.json b/patches/patches.json index 96a1243..9e48297 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1845,6 +1845,14 @@ "match": "(withPath\\(\"\/liked-songs\"\\))", "replace": "$1.withLocale(\"en\")" }, + "lyrics-on": { + "version": { + "fr": "1.1.70", + "to": "1.2.35" + }, + "match": "((?:\\(?await )?.\\.build.{20,60}encodeURIComponent.{20,140}\"\/track\/{trackId}.+?)(.send)", + "replace": "$1.withHeaders([{key:'spotify-app-version',value:'1.2.43'}])$2" + }, "lyrics-block": { "version": { "fr": "1.1.70", diff --git a/run.ps1 b/run.ps1 index 36c2a9a..97592d3 100644 --- a/run.ps1 +++ b/run.ps1 @@ -1308,6 +1308,9 @@ function Helper($paramname) { if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" } + else { + Remove-Json -j $VarJs -p "lyrics-on" + } if (!($devtools)) { Remove-Json -j $VarJs -p "dev-tools" }