mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-23 11:30:19 +10:00
Update
- removing the track download quality switch in settings - hide very high streaming quality in settings
This commit is contained in:
14
.github/ISSUE_TEMPLATE/itranslation-fix.yml
vendored
14
.github/ISSUE_TEMPLATE/itranslation-fix.yml
vendored
@@ -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)
|
||||||
|
|||||||
24
Install.ps1
24
Install.ps1
@@ -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) {
|
||||||
@@ -1329,9 +1337,11 @@ If (Test-Path $xpui_spa_patch) {
|
|||||||
$writer.Write($xpuiContents_xpui_css)
|
$writer.Write($xpuiContents_xpui_css)
|
||||||
if (!($premium)) {
|
if (!($premium)) {
|
||||||
# Hide download icon on different pages
|
# Hide download icon on different pages
|
||||||
$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
|
||||||
@@ -1345,7 +1355,7 @@ If (Test-Path $xpui_spa_patch) {
|
|||||||
}
|
}
|
||||||
# Hide broken podcast menu
|
# Hide broken podcast menu
|
||||||
#if ($podcast_off) {
|
#if ($podcast_off) {
|
||||||
#$writer.Write([System.Environment]::NewLine + ' li.OEFWODerafYHGp09iLlA [href="/collection/podcasts"] {display: none}')
|
#$writer.Write([System.Environment]::NewLine + ' li.OEFWODerafYHGp09iLlA [href="/collection/podcasts"] {display:none}')
|
||||||
#}
|
#}
|
||||||
$writer.Close()
|
$writer.Close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user