mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-13 20:28:25 +10:00
version bump to 1.2.14.1141
activated: - Smart Shuffle - Group Sessions (premium is probably required) - Dynamic audio normalization - Funny progress bar (-funnyprogressBar) - Events list view - Enabled DJ educational nudge and added Your DJ to library on playback (premium required)
This commit is contained in:
16
Install.ps1
16
Install.ps1
@@ -51,6 +51,12 @@ param
|
||||
[Parameter(HelpMessage = 'Do not enable enhance liked songs.')]
|
||||
[switch]$enhance_like_off,
|
||||
|
||||
[Parameter(HelpMessage = 'Disable smart shuffle in playlists.')]
|
||||
[switch]$smartShuffle_off,
|
||||
|
||||
[Parameter(HelpMessage = 'enable funny progress bar.')]
|
||||
[switch]$funnyprogressBar,
|
||||
|
||||
[Parameter(HelpMessage = 'New theme activated (new right and left sidebar, some cover change)')]
|
||||
[switch]$new_theme,
|
||||
|
||||
@@ -324,7 +330,7 @@ if (!($version -and $version -match $match_v)) {
|
||||
}
|
||||
# Recommended version for Win 10-12
|
||||
else {
|
||||
$onlineFull = "1.2.13.661.ga588f749-4064"
|
||||
$onlineFull = "1.2.14.1141.gaab16bfe-881"
|
||||
}
|
||||
}
|
||||
$online = ($onlineFull -split ".g")[0]
|
||||
@@ -815,6 +821,10 @@ if (!($block_update_on) -and !($block_update_off)) {
|
||||
}
|
||||
if ($ch -eq 'y') { $block_update = $true }
|
||||
|
||||
if (!($new_theme -and [version]$offline -ge [version]"1.2.14.1141")) {
|
||||
Write-Host "This version does not support the old theme, use version 1.2.13.661 or below`n"
|
||||
}
|
||||
|
||||
if ($ch -eq 'n') {
|
||||
$ErrorActionPreference = 'SilentlyContinue'
|
||||
if ((Test-Path -LiteralPath $exe_bak) -and $offline -eq $offline_bak) {
|
||||
@@ -962,8 +972,10 @@ function Helper($paramname) {
|
||||
|
||||
if ($enhance_like_off) { $remEnable.remove('EnhanceLikedSongs') }
|
||||
if ($enhance_playlist_off) { $remEnable.remove('EnhancePlaylist') }
|
||||
if ($smartShuffle_off) { $remEnable.remove('SmartShuffle') }
|
||||
if (!($funnyprogressBar)) { $remEnable.remove('HeBringsNpb') }
|
||||
# Old theme
|
||||
if (!($new_theme)) {
|
||||
if (!($new_theme -and [version]$offline -le [version]"1.2.13.661")) {
|
||||
$LeftSidebar = $webjson.others.EnableExp.LeftSidebar
|
||||
$webjson.others.DisableExp | Add-Member -MemberType NoteProperty -Name "LeftSidebar" -Value $LeftSidebar
|
||||
|
||||
|
||||
@@ -219,6 +219,15 @@
|
||||
"fr": "1.2.12",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"Dsa": {
|
||||
"name": "enableDsa",
|
||||
"description": "Enable showing DSA (Digital Services Act) context menu and modal for ads",
|
||||
"native_description": "Enable showing DSA (Digital Services Act) context menu and modal for ads",
|
||||
"version": {
|
||||
"fr": "1.2.12",
|
||||
"to": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"EnableExp": {
|
||||
@@ -309,7 +318,7 @@
|
||||
"native_description": "Enable Your Library X view of the left sidebar",
|
||||
"version": {
|
||||
"fr": "1.2.0",
|
||||
"to": ""
|
||||
"to": "1.2.14"
|
||||
}
|
||||
},
|
||||
"RightSidebar": {
|
||||
@@ -363,7 +372,7 @@
|
||||
"native_description": "playback speed range from 0.5-3.5 with every 0.1 increment",
|
||||
"version": {
|
||||
"fr": "1.2.0",
|
||||
"to": ""
|
||||
"to": "1.2.14"
|
||||
}
|
||||
},
|
||||
"ShowFollowsSetting": {
|
||||
@@ -402,6 +411,24 @@
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"DJNudge": {
|
||||
"name": "enableDJNudge",
|
||||
"description": "Enable DJ educational nudge",
|
||||
"native_description": "Enable DJ educational nudge",
|
||||
"version": {
|
||||
"fr": "1.2.12",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"YourDJToLibraryOnPlayback": {
|
||||
"name": "addYourDJToLibraryOnPlayback",
|
||||
"description": "Add Your DJ to library on playback",
|
||||
"native_description": "Add Your DJ to library on playback",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"RightSidebarTransitionAnimations": {
|
||||
"name": "enableRightSidebarTransitionAnimations",
|
||||
"description": "Enable the slide-in/out transition on the right sidebar",
|
||||
@@ -453,7 +480,7 @@
|
||||
"native_description": "Enable My Little Mermaid playlist easter egg",
|
||||
"version": {
|
||||
"fr": "1.2.12",
|
||||
"to": ""
|
||||
"to": "1.2.13"
|
||||
}
|
||||
},
|
||||
"MyLittleMermaidEasterEggVideo": {
|
||||
@@ -462,7 +489,7 @@
|
||||
"native_description": "Enable My Little Mermaid playlist easter egg video background",
|
||||
"version": {
|
||||
"fr": "1.2.12",
|
||||
"to": ""
|
||||
"to": "1.2.13"
|
||||
}
|
||||
},
|
||||
"AlbumCoverArtModal": {
|
||||
@@ -473,6 +500,60 @@
|
||||
"fr": "1.2.13",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"SmartShuffle": {
|
||||
"name": "enableSmartShuffle",
|
||||
"description": "Enable Smart Shuffle in playlists",
|
||||
"native_description": "Enable Smart Shuffle",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"LiveEventsListView": {
|
||||
"name": "enableLiveEventsListView",
|
||||
"description": "Enable list view for Live Events feed",
|
||||
"native_description": "Enable list view for Live Events feed",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"DynamicNormalizer": {
|
||||
"name": "enableDynamicNormalizer",
|
||||
"description": "Enable the dynamic normalizer/compressor",
|
||||
"native_description": "Enable the dynamic normalizer/compressor",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"HeBringsNpb": {
|
||||
"name": "enableHeBringsNpb",
|
||||
"description": "he brings you playback progress",
|
||||
"native_description": "he brings you playback progress",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"SocialConnectOnDesktop": {
|
||||
"name": "enableSocialConnectOnDesktop",
|
||||
"description": "Enable the Social Connect API that powers group listening sessions for Desktop",
|
||||
"native_description": "Enable the Social Connect API that powers group listening sessions for Desktop",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
},
|
||||
"SocialConnectOnDesktopWebPlayer": {
|
||||
"name": "enableSocialConnectOnDesktopWebPlayer",
|
||||
"description": "Enable the Social Connect API that powers group listening sessions for Desktop Web Player",
|
||||
"native_description": "Enable the Social Connect API that powers group listening sessions for Desktop Web Player",
|
||||
"version": {
|
||||
"fr": "1.2.14",
|
||||
"to": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"CustomExp": {
|
||||
@@ -984,7 +1065,7 @@
|
||||
"fix-old-theme": {
|
||||
"version": {
|
||||
"fr": "1.1.74",
|
||||
"to": ""
|
||||
"to": "1.2.13"
|
||||
},
|
||||
"match": "((LKgm9fCDTO7wqig_5U1q|eFQFeXVbY8rrcTagg0oH){--left-sidebar-item-height.+?margin-top)(:\\d+px)",
|
||||
"replace": "$1:0px"
|
||||
@@ -1050,4 +1131,4 @@
|
||||
"replace": "min:250,max:400"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user