Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bypassing the "premium only" restriction on the device picker #93

Closed
motherboard7444 opened this issue Jul 28, 2022 · 53 comments
Closed
Labels
💡 enhancement New feature or request Need help testing We're testing here, we need your help

Comments

@motherboard7444
Copy link

📝 Adding the ability to cast to Premium devices

  1. Unlocking the ability to cast to other devices even when using spotify free

📷 Screenshots

Screenshot

@motherboard7444 motherboard7444 added the 💡 enhancement New feature or request label Jul 28, 2022
@amd64fox amd64fox added the Need help testing We're testing here, we need your help label Jul 29, 2022
@amd64fox
Copy link
Member

amd64fox commented Jul 29, 2022

I tried to unlock this limitation, but it's not clear yet how stable it works.
Spotify Connect is very buggy out of the box, god only knows how it will work after these changes, need to test this.

To start testing you need

  • only for version 1.1.91
  • run this line in powershell terminal:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -confirm_uninstall_ms_spoti -testconnect"

@eshaane
Copy link

eshaane commented Aug 1, 2022

This works for me without any issues, Could this be a client based issue more then a patch based?
Spotify-Screenshot

@amd64fox
Copy link
Member

amd64fox commented Aug 1, 2022

This works for me without any issues, Could this be a client based issue more then a patch based?

they do not restrict all devices, for example, try running Spotify on android

@eshaane
Copy link

eshaane commented Aug 2, 2022

image
oh yeah it does show that

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

Added a new test incoming parameter -testconnect for more convenient testing.
Now for testing, you just need to run this line from PowerShell

@eshaane
Copy link

eshaane commented Aug 2, 2022

Alr will test it asap

@eshaane
Copy link

eshaane commented Aug 2, 2022

Screenshot_186

@eshaane
Copy link

eshaane commented Aug 2, 2022

seems like there is an issue

@eshaane
Copy link

eshaane commented Aug 2, 2022

Screenshot_187

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

@Gam3rrXD
You can uninstall Spotify and run spotx installation again

@eshaane
Copy link

eshaane commented Aug 2, 2022

o ight

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

Does switching the audio stream to the phone work?

@eshaane
Copy link

eshaane commented Aug 2, 2022

Screenshot_189
works now but I am unable to use spicetify with tha patch

@eshaane
Copy link

eshaane commented Aug 2, 2022

Does switching the audio stream to the phone work?

yea that works

@eshaane
Copy link

eshaane commented Aug 2, 2022

the only issue is spicetify

@eshaane
Copy link

eshaane commented Aug 2, 2022

Screenshot_190
after i install spicetify

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

I am unable to use spicetify with tha patch

Okay, I'll look for the cause.
Thanks for the feedback.

@eshaane
Copy link

eshaane commented Aug 2, 2022

alr thanks :)

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

strange, I have it working together with spicetify
maybe you bet something else ? any additions ?
Or is the installation process of spicetify something special?

@eshaane
Copy link

eshaane commented Aug 2, 2022

All I have is the dribblish theme, when I install spiceify and run the patch it does the error where it can't find contentpicker4 in xpui.js

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

what is the dribblish theme and how is it installed?

@eshaane
Copy link

eshaane commented Aug 2, 2022

It's just a spicetify theme which is just put into the themes folder and I update using "spicetify apply"

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

do you have a link to this theme?

@eshaane
Copy link

eshaane commented Aug 2, 2022

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

Weird, installed the dribblish theme but the error still doesn't reproduce

and the installation of spicetify is standard through this command?

iwr-useb https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1 | iex

@eshaane
Copy link

eshaane commented Aug 2, 2022

Yes I used that command

@eshaane
Copy link

eshaane commented Aug 2, 2022

I am using a custom colors.ini file though

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

can you share your xpui.js file before you try to install spotx ?
That would make it easier to understand what the problem is.

@eshaane
Copy link

eshaane commented Aug 2, 2022

alright

@eshaane
Copy link

eshaane commented Aug 2, 2022

@eshaane
Copy link

eshaane commented Aug 2, 2022

its not letting me upload directly to github

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

Now it’s clear what’s the matter, you have Spotify version 1.1.90, but you need 1.1.91
I indicated in that post above that 1.1.91 is required, but you apparently missed this moment :)

@eshaane
Copy link

eshaane commented Aug 2, 2022

oh alright let me try again

@eshaane
Copy link

eshaane commented Aug 2, 2022

ok so new issue, i install the version, then it works, I install spiceify then this occurs
image

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

#93 (comment)

@eshaane
Copy link

eshaane commented Aug 2, 2022

i did that twice

@eshaane
Copy link

eshaane commented Aug 2, 2022

image
image
image

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

spicetify also needs to be completely uninstalled and installed fresh

@eshaane
Copy link

eshaane commented Aug 2, 2022

did that too but will try again

@eshaane
Copy link

eshaane commented Aug 2, 2022

yeah same issue complete uninstall and reinstall

@amd64fox
Copy link
Member

amd64fox commented Aug 2, 2022

You have something restoring the old xpui.js file, most likely this is done by spicetify, completely remove the spicetify folders from Local and Roaming, also completely remove Spotfiy itself

You can use this patch to uninstall Spotify completely

@eshaane
Copy link

eshaane commented Aug 2, 2022

ok i pinpointed the issue, i installed spicetify and it worked
BUT when i installed dribblish using this command it broke

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/spicetify/spicetify-themes/master/Dribbblish/install.ps1" | Invoke-Expression

@eshaane
Copy link

eshaane commented Aug 2, 2022

@amd64fox i found the issue 100%, there is really no issue. After the patch says that i open spotify and wahla it works just fine. The main thing is the patch thinks it didnt work even tho it did.
image

@amd64fox
Copy link
Member

amd64fox commented Aug 3, 2022

Let's end here, as this is a completely different problem.
or
Create a new issue, although I'm sure you're missing something with a clean install.

@eshaane
Copy link

eshaane commented Aug 4, 2022

alr

@eshaane
Copy link

eshaane commented Aug 12, 2022

I believe this issue can be closed as it is working without bugs.

@amd64fox
Copy link
Member

There were no reviews about the work of this feature except you

Do you really think it's worth running this for everyone?

@eshaane
Copy link

eshaane commented Aug 12, 2022

There were no reviews about the work of this feature except you

Do you really think it's worth running this for everyone?

No one reported a new issue, which means at the moment there is no one that is experiencing and error and either they don't care or they didn't report. If a new issue arises they can just make a new issue on the repo.

@amd64fox
Copy link
Member

amd64fox commented Aug 12, 2022

ok i will add it tomorrow for everyone
the incoming parameter -testconnect will be removed

@eshaane
Copy link

eshaane commented Aug 12, 2022

Alr thanks 😊

@8bit-coder
Copy link

8bit-coder commented Aug 14, 2022

Actually, I just tried the new patch and I believe there's still some work to be done:

I tried to connect to the same device posted in the original issue(I also have a Yamaha RX-A730) and I clicked connect but spotify would just say connecting and the receiver says "need premium"(image attached of issue):

image

I believe there's more work to be done in order to trick any device into really thinking that the cast to device feature is unlocked.

@amd64fox
Copy link
Member

In this case, as I understand it, a premium check is used through the server, so it’s impossible to bypass it here, as well as set a very high quality for listening to music, all these are server functions that cannot be deceived.

But not all "connect" devices do this check.

@amd64fox amd64fox pinned this issue Aug 14, 2022
amd64fox added a commit that referenced this issue Aug 14, 2022
 - device picker unlock added for everyone #93
@amd64fox
Copy link
Member

added for everyone, let's see the reaction

@amd64fox amd64fox unpinned this issue Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement New feature or request Need help testing We're testing here, we need your help
Projects
None yet
Development

No branches or pull requests

4 participants