Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
- enabled mini player
- funny progress bar is back
- disable homesub if the patch for disabling podcasts on the home page is applied
  • Loading branch information
amd64fox committed Mar 9, 2024
1 parent c3cbe3a commit 7294345
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
39 changes: 37 additions & 2 deletions patches/patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@
"native_description": "he brings you playback progress",
"version": {
"fr": "1.2.14",
"to": "1.2.26"
"to": ""
}
},
"AlbumPrerelease": {
Expand Down Expand Up @@ -951,8 +951,43 @@
"fr": "1.2.32",
"to": ""
}
},
"MiniPlayer": {
"name": "enablePiPMiniPlayer",
"description": "Enable the PiP Mini Player",
"native_description": "Enable the PiP Mini Player",
"version": {
"fr": "1.2.32",
"to": ""
}
},
"MiniPlayerVideo": {
"name": "enablePiPMiniPlayerVideo",
"description": "Enable playback of video inside the PiP Mini Player",
"native_description": "Enable playback of video inside the PiP Mini Player",
"version": {
"fr": "1.2.32",
"to": ""
}
},
"PremiumUserForMiniPlayer": {
"name": "enablePremiumUserForMiniPlayer",
"description": "Enables premium user flag for mini player",
"native_description": "Enables premium user flag for mini player",
"version": {
"fr": "1.2.32",
"to": ""
}
},
"HomeSubfeeds": {
"name": "enableHomeSubfeeds",
"description": "Enable Subfeed filter chips on home",
"native_description": "Enable Subfeed filter chips on home",
"version": {
"fr": "1.2.23",
"to": ""
}
}

},
"CustomExp": {
"SocialConnectOnDesktop": {
Expand Down
11 changes: 11 additions & 0 deletions run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,17 @@ function Helper($paramname) {

if (!($funnyprogressbar)) { Move-Json -n 'HeBringsNpb' -t $Enable -f $Disable }

# disable homesub if the patch for disabling podcasts on the home page is applied
$homesub = "HomeSubfeeds"

if ($podcasts_off) {
Move-Json -n $homesub -t $Enable -f $Disable
}

else {
Remove-Json -j $Enable -p $homesub
}

# Old theme
if (!($new_theme) -and [version]$offline -le [version]"1.2.13.661") {

Expand Down

0 comments on commit 7294345

Please sign in to comment.