mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-18 13:20:04 +10:00
New parameter 'Plus'
- with the 'Plus' parameter, you can save and select destinations for songs, playlists, or podcasts
This commit is contained in:
@@ -59,6 +59,9 @@ param
|
||||
[Parameter(HelpMessage = 'Enable enhance playlist & liked songs.')]
|
||||
[switch]$EnhanceSongs,
|
||||
|
||||
[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,
|
||||
|
||||
[Parameter(HelpMessage = 'Enable funny progress bar.')]
|
||||
[switch]$funnyprogressBar,
|
||||
|
||||
@@ -1066,6 +1069,10 @@ function Helper($paramname) {
|
||||
|
||||
}
|
||||
|
||||
if (!($Plus)) {
|
||||
Move-Json -n 'Plus' -t $Enable -f $Disable
|
||||
}
|
||||
|
||||
Remove-Json -j $Enable -p "EncoreCards", "QueueOnRightPanel"
|
||||
|
||||
if (!($funnyprogressBar)) { Remove-Json -j $Enable -p "HeBringsNpb" }
|
||||
|
||||
Reference in New Issue
Block a user