From 3b588b3aad55a1b08e580d1af958eca7377f38c1 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:20:01 +0300 Subject: [PATCH] version bump to 1.2.26.1180 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fixed patches for hiding podcasts and sections similar to ads - changing the list of sections #195 - included exp • encore cards • queue on right panel --- patches/patches.json | 54 +++++++++++++++++++++++++++++++++----------- run.ps1 | 7 +++--- 2 files changed, 44 insertions(+), 17 deletions(-) diff --git a/patches/patches.json b/patches/patches.json index 65a0a01..4973940 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -308,7 +308,7 @@ "native_description": "Use Gabito AdEvent instead of Gabo AdEvent", "version": { "fr": "1.1.93", - "to": "" + "to": "1.2.25" } }, "YourListeningUpsell": { @@ -346,6 +346,15 @@ "fr": "1.1.70", "to": "" } + }, + "betamaxAutoSeekToAdPosition": { + "name": "AutoSeekToAdPosition", + "description": "If true, the player will seek to the ad position when an stop position is registered. Usefull for debugging ads.", + "native_description": "If true, the player will seek to the ad position when an stop position is registered. Usefull for debugging ads.", + "version": { + "fr": "1.2.26", + "to": "" + } } }, "EnableExp": { @@ -355,7 +364,7 @@ "native_description": "Enable Enhance Liked Songs UI and functionality", "version": { "fr": "1.1.86", - "to": "" + "to": "1.2.25" } }, "EnhancePlaylist": { @@ -364,7 +373,7 @@ "native_description": "Enable Enhance Playlist UI and functionality for end-users", "version": { "fr": "1.1.84", - "to": "" + "to": "1.2.25" } }, "IgnoreInRecommendations": { @@ -391,7 +400,7 @@ "native_description": "Use carousels on Home", "version": { "fr": "1.1.93", - "to": "" + "to": "1.2.25" } }, "AttackOnTitanEaster": { @@ -508,7 +517,7 @@ "native_description": "Show credits in the right sidebar", "version": { "fr": "1.2.7", - "to": "" + "to": "1.2.25" } }, "WhatsNewFeed": { @@ -696,7 +705,7 @@ "description": "Enable Queue on the right panel", "native_description": "Enable About Podcast section in NPV", "version": { - "fr": "1.2.21", + "fr": "1.2.26", "to": "" } }, @@ -706,7 +715,7 @@ "native_description": "Show Recently Played shortcut in home view. Also increase max number of shortcuts to 8", "version": { "fr": "1.2.21", - "to": "" + "to": "1.2.25" } }, "EncoreCards": { @@ -714,7 +723,7 @@ "description": "Enables all cards throughout app to be Encore Cards", "native_description": "Enables all cards throughout app to be Encore Cards", "version": { - "fr": "1.2.21", + "fr": "1.2.26", "to": "" } }, @@ -744,6 +753,25 @@ "fr": "1.2.22", "to": "" } + }, + "EightShortcuts": { + "name": "enableEightShortcuts", + "description": "Increase max number of shortcuts on home to 8", + "native_description": "Increase max number of shortcuts on home to 8", + "version": { + "fr": "1.2.26", + "to": "" + } + } + , + "NPVCredits": { + "name": "enableNPVCredits", + "description": "Show credits in the right sidebar", + "native_description": "Show credits in the right sidebar", + "version": { + "fr": "1.2.26", + "to": "" + } } }, "CustomExp": { @@ -860,16 +888,16 @@ "fr": "1.1.93", "to": "" }, - "match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)", - "replace": "$1 for (let i=0; i<(e.children?e.children.length:e.length); i++) {const key=(e.children?.[i]||e[i])?.key; if(!key||key.match(/(episode|show)/)||(e.title||t)?.match(/podcasts/i)) return null;};" + "match": "(\\!?Array.isArray\\(.\\)[\\|&]{2}.===(.).length\\)return null;)", + "replace": "$1 if (!Array.isArray($2)) { $2 = e; } for (let q=0; q<($2.children?$2.children.length:$2.length); q++) {const key=($2.children?.[q]||$2[q])?.key; if(!key||key.match(/(episode|show)/)||($2.title)?.match(/podcasts/i)) return null;};" }, "adsectionsoff": { "version": { "fr": "1.1.93", "to": "" }, - "match": "(\"Carousel\".+?{seeAllUri:(.),index.+?(UBIWrapper|id:.}\\)|\\.spec);)", - "replace": "$1 if ($2.match(/(0JQ5DAnM3wGh0gz1MXnu3B|0JQ5DAnM3wGh0gz1MXnu3D|0JQ5IMCbQBLupUQrQFeCzx|0JQ5IMCbQBLqTJyy28YCa9|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-1406,4 +1434,4 @@ "replace": "min:250,max:400" } } -} +} \ No newline at end of file diff --git a/run.ps1 b/run.ps1 index c96112b..44ea5d0 100644 --- a/run.ps1 +++ b/run.ps1 @@ -348,7 +348,7 @@ if (!($version -and $version -match $match_v)) { } else { # Recommended version for Win 10-12 - $onlineFull = "1.2.25.1011.g0348b2ea-701" + $onlineFull = "1.2.26.1180.g6af55bfb-74" } } else { @@ -1062,7 +1062,8 @@ function Helper($paramname) { if ($enhance_like_off) { Remove-Json -j $Enable -p'EnhanceLikedSongs' } if ($enhance_playlist_off) { Remove-Json -j $Enable -p 'EnhancePlaylist' } - if ($EnhanceSongs) { + + if ($EnhanceSongs -and [version]$offline -le [version]'1.2.25.1011') { Move-Json -n 'SmartShuffle' -t $Enable -f $Disable } else { @@ -1077,8 +1078,6 @@ function Helper($paramname) { Move-Json -n 'Plus' -t $Enable -f $Disable } - Remove-Json -j $Enable -p "EncoreCards", "QueueOnRightPanel" - if (!($funnyprogressBar)) { Remove-Json -j $Enable -p "HeBringsNpb" } # Old theme