From 334e64d7fca4e6cd32e5038048400d075b100569 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:49:12 +0300 Subject: [PATCH] version bump to 1.2.66.444 - lyrics returned to right sidebar for 1.2.66 + - fixed incorrect behavior for canvashome_off parameter in some cases - enabled search suggestions --- patches/patches.json | 33 ++++++++++++++++++++++++++++++--- run.ps1 | 10 +++++++--- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/patches/patches.json b/patches/patches.json index 4929401..afaa4a1 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -626,6 +626,24 @@ "fr": "1.2.65", "to": "" } + }, + "SponsoredPlaylistV2": { + "name": "enableSponsoredPlaylistV2", + "description": "Enables the new suite of interfaces for Sponsored Playlists V2", + "native_description": "Enables the new suite of interfaces for Sponsored Playlists V2", + "version": { + "fr": "1.2.66", + "to": "" + } + }, + "SponsoredPlaylistV2ScrollCard": { + "name": "enableSponsoredPlaylistV2ScrollCard", + "description": "Enables the music NPV scroll card rendering during a sponsored playlist playback", + "native_description": "Enables the music NPV scroll card rendering during a sponsored playlist playback", + "version": { + "fr": "1.2.66", + "to": "" + } } }, "EnableExp": { @@ -743,7 +761,7 @@ "native_description": "Show lyrics in the right sidebar", "version": { "fr": "1.2.0", - "to": "" + "to": "1.2.61" } }, "RightSidebarColors": { @@ -1519,6 +1537,15 @@ "fr": "1.2.65", "to": "" } + }, + "SearchSuggestions": { + "name": "enableSearchSuggestions", + "description": "Enables the search suggestions dropdown", + "native_description": "Enables the search suggestions dropdown", + "version": { + "fr": "1.2.66", + "to": "" + } } }, "CustomExp": { @@ -1686,9 +1713,9 @@ "name": "enableLyricsVariationsInNPV", "description": "Enable Lyrics in NPV and reducing accidental view", "native_description": "Enable Lyrics in NPV and reducing accidental view", - "value": "CONTROL", + "value": "REDUCED_VISIBILITY", "version": { - "fr": "1.2.61", + "fr": "1.2.66", "to": "" } }, diff --git a/run.ps1 b/run.ps1 index 329896f..aac1061 100644 --- a/run.ps1 +++ b/run.ps1 @@ -378,7 +378,7 @@ if (!($version -and $version -match $match_v)) { } else { # latest tested version for Win 10-12 - $onlineFull = "1.2.65.255.g85e641b4-609" + $onlineFull = "1.2.66.444.gf7d4ad52-343" } } else { @@ -1197,7 +1197,11 @@ function Helper($paramname) { } else { if (!($rightsidebarcolor)) { Remove-Json -j $Enable -p 'RightSidebarColors' } - if ($old_lyrics) { Remove-Json -j $Enable -p 'RightSidebarLyrics' } + + if ($old_lyrics) { + Remove-Json -j $Enable -p 'RightSidebarLyrics' + $Custom.GlobalNavBar.value = "CONTROL" + } } } if (!$premium) { Remove-Json -j $Enable -p 'RemoteDownloads' } @@ -1923,7 +1927,7 @@ if ($test_spa) { extract -counts 'one' -method 'zip' -name 'xpui.js' -helper 'ForcedExp' -add $webjson.others.byspotx.add # Hiding Ad-like sections or turn off podcasts from the homepage - if ($podcast_off -or $adsections_off) { + if ($podcast_off -or $adsections_off -or $canvashome_off) { $section = Get -Url (Get-Link -e "/js-helper/sectionBlock.js")