Skip to content

Commit

Permalink
Fixed: sponsorship and premium_free (#551)
Browse files Browse the repository at this point in the history
* Fixed: sponsorship and premium_free

* Revert date change in README.md
  • Loading branch information
Gile177 authored Jul 22, 2024
1 parent 6efc131 commit ac41318
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h5 align="center">Please support Spotify by purchasing premium</h5>
<p align="center">
<strong>Last updated:</strong> 15 June 2024<br>
<strong>Last tested version:</strong> Spotify for Windows (64 bit) 1.2.39.578.g0ea3f38b
<strong>Last tested version:</strong> Spotify for Windows (64 bit) 1.2.41.434.g39a25e2c
</p>
</center>

Expand Down
4 changes: 2 additions & 2 deletions blockthespot_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Address": -1
},
"sponsorship": {
"Signature": ".set(\"allSponsorships\",t.sponsorships)})}(e,t);",
"Signature": ".set(\"allSponsorships\",t.sponsorships)}}(e,t);",
"Value": "\"",
"Offset": 5,
"Fill": 15,
Expand Down Expand Up @@ -59,7 +59,7 @@
"Address": -1
},
"premium_free": {
"Signature": "\"free\"===(null===(t=e.session)",
"Signature": "\"free\"===e.session?.productState?.catalogue?.toLowerCase()",
"Value": "\"",
"Offset": 0,
"Fill": 4,
Expand Down
4 changes: 2 additions & 2 deletions src/SettingsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bool SettingsManager::Save()
{L"Address", -1}
}},
{L"sponsorship", {
{L"Signature", L".set(\"allSponsorships\",t.sponsorships)})}(e,t);" },
{L"Signature", L".set(\"allSponsorships\",t.sponsorships)}}(e,t);"},
{L"Value", L"\""},
{L"Offset", 5},
{L"Fill", 15},
Expand Down Expand Up @@ -85,7 +85,7 @@ bool SettingsManager::Save()
{L"Address", -1}
}},
{L"premium_free", {
{L"Signature", L"\"free\"===(null===(t=e.session)"},
{L"Signature", L"\"free\"===e.session?.productState?.catalogue?.toLowerCase()"},
{L"Value", L"\""},
{L"Offset", 0},
{L"Fill", 4},
Expand Down

0 comments on commit ac41318

Please sign in to comment.