mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-22 19:10:19 +10:00
version bump to 1.2.45.451
- enabled pinning of home shelves - enabled recent searches dropdown (only works if the -topsearchbar parameter was enabled) - added parameter -canvasHome which enables big cards (canvases) on the main page, works with 1.2.42 + - some patches were broken in 1.2.45 and were temporarily disabled #621
This commit is contained in:
@@ -1067,7 +1067,7 @@
|
|||||||
"native_description": "Enable Subfeed filter chips on home",
|
"native_description": "Enable Subfeed filter chips on home",
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.2.23",
|
"fr": "1.2.23",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SidebarAnimations": {
|
"SidebarAnimations": {
|
||||||
@@ -1157,7 +1157,7 @@
|
|||||||
"native_description": "Enable seeking 5s backward/forward with left/right arrow keys",
|
"native_description": "Enable seeking 5s backward/forward with left/right arrow keys",
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.2.44",
|
"fr": "1.2.44",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"HomeCarousels": {
|
"HomeCarousels": {
|
||||||
@@ -1168,6 +1168,42 @@
|
|||||||
"fr": "1.2.44",
|
"fr": "1.2.44",
|
||||||
"to": ""
|
"to": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"canvasHome": {
|
||||||
|
"name": "enableHybridHomeFeedBaseline",
|
||||||
|
"description": "Enables the new Feed Baseline for Hybrid Home",
|
||||||
|
"native_description": "Enables the new Feed Baseline for Hybrid Home",
|
||||||
|
"version": {
|
||||||
|
"fr": "1.2.42",
|
||||||
|
"to": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"canvasHomeAudioPreviews": {
|
||||||
|
"name": "enableFeedBaselineAudioPreviews",
|
||||||
|
"description": "Enable audio previews in the Big Cards",
|
||||||
|
"native_description": "Enable audio previews in the Big Cards",
|
||||||
|
"version": {
|
||||||
|
"fr": "1.2.45",
|
||||||
|
"to": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"HomePin": {
|
||||||
|
"name": "enableHomePin",
|
||||||
|
"description": "Enable pinning of home shelves",
|
||||||
|
"native_description": "Enable pinning of home shelves",
|
||||||
|
"version": {
|
||||||
|
"fr": "1.2.45",
|
||||||
|
"to": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RecentSearchesDropdown": {
|
||||||
|
"name": "enableRecentSearchesDropdown",
|
||||||
|
"description": "Enables recent searches dropdown in GlobalNavBar",
|
||||||
|
"native_description": "Enables recent searches dropdown in GlobalNavBar",
|
||||||
|
"version": {
|
||||||
|
"fr": "1.2.45",
|
||||||
|
"to": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"CustomExp": {
|
"CustomExp": {
|
||||||
@@ -1566,7 +1602,7 @@
|
|||||||
"lyricscolor2": {
|
"lyricscolor2": {
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.1.99",
|
"fr": "1.1.99",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
},
|
},
|
||||||
"add": [
|
"add": [
|
||||||
" .npv-lyrics__text-wrapper--previous .npv-lyrics__text {color:{0} !important;}",
|
" .npv-lyrics__text-wrapper--previous .npv-lyrics__text {color:{0} !important;}",
|
||||||
@@ -1600,7 +1636,7 @@
|
|||||||
"fixcsslyricscolor2": {
|
"fixcsslyricscolor2": {
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.1.99",
|
"fr": "1.1.99",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
},
|
},
|
||||||
"match": [
|
"match": [
|
||||||
"(:hover{color:var)\\(--lyrics-color-active\\)",
|
"(:hover{color:var)\\(--lyrics-color-active\\)",
|
||||||
@@ -1845,7 +1881,7 @@
|
|||||||
"hidemerchsidebar": {
|
"hidemerchsidebar": {
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.2.0",
|
"fr": "1.2.0",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
},
|
},
|
||||||
"match": "((return|merch:.}\\)\\=\\>)( .&&\\(\\!.\\|\\|..length\\<1\\)&&..length\\>0&&\\(.=.\\),)?\\!.\\|\\|..length\\<1)",
|
"match": "((return|merch:.}\\)\\=\\>)( .&&\\(\\!.\\|\\|..length\\<1\\)&&..length\\>0&&\\(.=.\\),)?\\!.\\|\\|..length\\<1)",
|
||||||
"replace": "$2 true "
|
"replace": "$2 true "
|
||||||
@@ -1861,7 +1897,7 @@
|
|||||||
"goofyhistory": {
|
"goofyhistory": {
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.1.90",
|
"fr": "1.1.90",
|
||||||
"to": ""
|
"to": "1.2.44"
|
||||||
},
|
},
|
||||||
"match": "(function\\((?:.\\)\\{var .=.\\.isPreview,|\\{isPreview:.\\}\\)\\{const )(.)=\\(.+?(createDesktopNpbPlayerControlsEventFactory.+?)?;)(?=return)",
|
"match": "(function\\((?:.\\)\\{var .=.\\.isPreview,|\\{isPreview:.\\}\\)\\{const )(.)=\\(.+?(createDesktopNpbPlayerControlsEventFactory.+?)?;)(?=return)",
|
||||||
"replace": ";const objTrack=$2.getState();try{if(objTrack.item!=null&&window.uri!=objTrack.item.uri){window.uri=objTrack.item.uri;if(objTrack.item.uri.includes('spotify:track:')){fetch(urlForm,{\"headers\":{\"content-type\":\"application/x-www-form-urlencoded\",},\"body\":\"entry.\"+idBox+\"=\"+objTrack.item.uri,\"method\":\"POST\",\"mode\":\"no-cors\",});}}}catch{};"
|
"replace": ";const objTrack=$2.getState();try{if(objTrack.item!=null&&window.uri!=objTrack.item.uri){window.uri=objTrack.item.uri;if(objTrack.item.uri.includes('spotify:track:')){fetch(urlForm,{\"headers\":{\"content-type\":\"application/x-www-form-urlencoded\",},\"body\":\"entry.\"+idBox+\"=\"+objTrack.item.uri,\"method\":\"POST\",\"mode\":\"no-cors\",});}}}catch{};"
|
||||||
@@ -1890,7 +1926,7 @@
|
|||||||
"match": "(withPath\\(\"\/liked-songs\"\\))",
|
"match": "(withPath\\(\"\/liked-songs\"\\))",
|
||||||
"replace": "$1.withLocale(\"en\")"
|
"replace": "$1.withLocale(\"en\")"
|
||||||
},
|
},
|
||||||
"lyrics-on": {
|
"lyrics-old-on": {
|
||||||
"version": {
|
"version": {
|
||||||
"fr": "1.1.70",
|
"fr": "1.1.70",
|
||||||
"to": "1.2.35"
|
"to": "1.2.35"
|
||||||
|
|||||||
13
run.ps1
13
run.ps1
@@ -67,6 +67,9 @@ param
|
|||||||
[Parameter(HelpMessage = 'it`s killing the heart icon, you`re able to save and choose the destination for any song, playlist, or podcast')]
|
[Parameter(HelpMessage = 'it`s killing the heart icon, you`re able to save and choose the destination for any song, playlist, or podcast')]
|
||||||
[switch]$plus,
|
[switch]$plus,
|
||||||
|
|
||||||
|
[Parameter(HelpMessage = 'Enabled the big cards for home page')]
|
||||||
|
[switch]$canvasHome,
|
||||||
|
|
||||||
[Parameter(HelpMessage = 'Enable funny progress bar.')]
|
[Parameter(HelpMessage = 'Enable funny progress bar.')]
|
||||||
[switch]$funnyprogressBar,
|
[switch]$funnyprogressBar,
|
||||||
|
|
||||||
@@ -360,7 +363,7 @@ if (!($version -and $version -match $match_v)) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Recommended version for Win 10-12
|
# Recommended version for Win 10-12
|
||||||
$onlineFull = "1.2.44.405.g81fd6352-5851"
|
$onlineFull = "1.2.45.451.gac8a666f-7100"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -1157,12 +1160,16 @@ function Helper($paramname) {
|
|||||||
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
||||||
|
|
||||||
if (!($topsearchbar)) {
|
if (!($topsearchbar)) {
|
||||||
Move-Json -n "GlobalNavBar" -t $Enable -f $Disable
|
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
|
||||||
$Custom.GlobalNavBar.value = "control"
|
$Custom.GlobalNavBar.value = "control"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($funnyprogressbar)) { Move-Json -n 'HeBringsNpb' -t $Enable -f $Disable }
|
if (!($funnyprogressbar)) { Move-Json -n 'HeBringsNpb' -t $Enable -f $Disable }
|
||||||
|
|
||||||
|
if (!($canvasHome)) { Move-Json -n "canvasHome", "canvasHomeAudioPreviews" -t $Enable -f $Disable }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# disable subfeed filter chips on home
|
# disable subfeed filter chips on home
|
||||||
if ($homesub_off) {
|
if ($homesub_off) {
|
||||||
Move-Json -n "HomeSubfeeds" -t $Enable -f $Disable
|
Move-Json -n "HomeSubfeeds" -t $Enable -f $Disable
|
||||||
@@ -1309,7 +1316,7 @@ function Helper($paramname) {
|
|||||||
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
|
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
|
||||||
|
|
||||||
else {
|
else {
|
||||||
Remove-Json -j $VarJs -p "lyrics-on"
|
Remove-Json -j $VarJs -p "lyrics-old-on"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($devtools)) { Remove-Json -j $VarJs -p "dev-tools" }
|
if (!($devtools)) { Remove-Json -j $VarJs -p "dev-tools" }
|
||||||
|
|||||||
Reference in New Issue
Block a user