- removing the track download quality switch in settings
 - hide very high streaming quality in settings
This commit is contained in:
amd64fox
2022-09-01 05:02:57 +03:00
parent 1ae02fe80d
commit c0cb332c83
2 changed files with 17 additions and 21 deletions

View File

@@ -2,20 +2,6 @@ name: "🌐 Localization/Translation issue"
description: Report incorrect translations. description: Report incorrect translations.
labels: 🌐 Fix translation labels: 🌐 Fix translation
body: body:
- type: dropdown
id: langselect
attributes:
label: 🌐 Select language
options:
- English
- Russian
- Italian
- Turkish
- Georgian
- Polish
- Spanish
validations:
required: true
- type: textarea - type: textarea
attributes: attributes:
label: ❌ Actual phrase(s) label: ❌ Actual phrase(s)

View File

@@ -855,13 +855,19 @@ function Helper($paramname) {
} }
"OffadsonFullscreen" { "OffadsonFullscreen" {
$offadson_fullscreen = @{ $offadson_fullscreen = @{
EmptyBlockAd = 'adsEnabled:!0', 'adsEnabled:!1' # Removing an empty block # Removing an empty block
FullScreenAd = '(return|.=.=>)"free"===(.+?)(return|.=.=>)"premium"===', '$1"premium"===$2$3"free"===' # Fullscreen act., removing upgrade menu, button EmptyBlockAd = 'adsEnabled:!0', 'adsEnabled:!1'
PlaylistSponsorsOff = 'allSponsorships' , '' # Disabling a playlist sponsor # Fullscreen act., removing upgrade menu, button
ConnectUnlock = ' connect-device-list-item--disabled' , '' # Connect unlock test for 1.1.91 FullScreenAd = '(return|.=.=>)"free"===(.+?)(return|.=.=>)"premium"===', '$1"premium"===$2$3"free"==='
# Disabling a playlist sponsor
PlaylistSponsorsOff = 'allSponsorships' , ''
# Connect unlock test for 1.1.91 >
ConnectUnlock = ' connect-device-list-item--disabled' , ''
ConnectUnlock2 = 'connect-picker.unavailable-to-control' , 'spotify-connect' ConnectUnlock2 = 'connect-picker.unavailable-to-control' , 'spotify-connect'
ConnectUnlock3 = '(className:.,disabled:)(..)' , '$1false' ConnectUnlock3 = '(className:.,disabled:)(..)' , '$1false'
ConnectUnlock4 = 'return (..isDisabled)(\?..createElement\(..,)' , 'return false$2' ConnectUnlock4 = 'return (..isDisabled)(\?..createElement\(..,)' , 'return false$2'
# Removing the track download quality switch
DownloadQuality = 'xe\(...\)\)\)\)...createElement\(....{filterMatchQuery:.....get\(.desktop.settings.downloadQuality.title.\).+?xe' , 'xe'
} }
#if (!($testconnect)) { #if (!($testconnect)) {
# $offadson_fullscreen.Remove('ConnectUnlock'), $offadson_fullscreen.Remove('ConnectUnlock2'), # $offadson_fullscreen.Remove('ConnectUnlock'), $offadson_fullscreen.Remove('ConnectUnlock2'),
@@ -1159,6 +1165,8 @@ if (Test-Path $xpui_js_patch) {
$writer.Write([System.Environment]::NewLine + ' .BKsbV2Xl786X9a09XROH{display:none}') $writer.Write([System.Environment]::NewLine + ' .BKsbV2Xl786X9a09XROH{display:none}')
# Hide submenu item "download" # Hide submenu item "download"
$writer.Write([System.Environment]::NewLine + ' button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA{display:none}') $writer.Write([System.Environment]::NewLine + ' button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA{display:none}')
# Hide very high quality streaming
$writer.Write([System.Environment]::NewLine + ' #desktop\.settings\.streamingQuality>option:nth-child(5) {display:none}')
} }
# new UI fix # new UI fix
if ($enablenavalt) { if ($enablenavalt) {
@@ -1332,6 +1340,8 @@ If (Test-Path $xpui_spa_patch) {
$writer.Write([System.Environment]::NewLine + ' .BKsbV2Xl786X9a09XROH {display:none}') $writer.Write([System.Environment]::NewLine + ' .BKsbV2Xl786X9a09XROH {display:none}')
# Hide submenu item "download" # Hide submenu item "download"
$writer.Write([System.Environment]::NewLine + ' button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA {display:none}') $writer.Write([System.Environment]::NewLine + ' button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA {display:none}')
# Hide very high quality streaming
$writer.Write([System.Environment]::NewLine + ' #desktop\.settings\.streamingQuality>option:nth-child(5) {display:none}')
} }
# new UI fix # new UI fix