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

Can't start librespot without manually entering username first #248

Open
WyntrHeart opened this issue Apr 19, 2024 · 10 comments
Open

Can't start librespot without manually entering username first #248

WyntrHeart opened this issue Apr 19, 2024 · 10 comments

Comments

@WyntrHeart
Copy link

System information

ABI : x86_64-little_endian-llp64
App version : v3.11 (83bfc5d)
Build type : Release
D-Bus support : Yes
KCrash support : No
Kernel : winnt 10.0.19045
Keychain support: Yes
Platform : windows
Product : Windows 10 Version 22H2
Qt version : 6.6.1

Detailed information

I installed Spotify-Qt via Scoop, and Librespot via the "cargo install" command.
Spotify-Qt will not start librespot. If I set "Start With App" then restart Spotify-Qt it says that librespot is not running. If I click "Start Client" then it says "Please Wait..." forever and never actually starts.
The weirdest part is that the first time I tried it, it actually worked flawlessly, but then after making no changes whatsoever, just closing Spotify-Qt and restarting it later, it no longer worked. I've tried reinstalling completely including wiping config files, rebooting my PC, and using the previous version (3.10) of Spotify-Qt. No luck. Running librespot manually from the command prompt seems to work just fine, although Spotify-Qt does not detect that it's running. The logs menu shows nothing at all, they're empty.

What happens?

librespot does not start when Spotify-Qt asks it to

What should happen?

librespot should start when Spotify-Qt asks it to

@eufcca2
Copy link

eufcca2 commented May 25, 2024

I'm running into the same issue with spotify-qt installed via scoop and librespot via cargo-binstall.

System information

ABI : x86_64-little_endian-llp64
App version : v3.11 (83bfc5d)
Build type : Release
D-Bus support : Yes
KCrash support : No
Kernel : winnt 10.0.19044
Keychain support: Yes
Platform : windows
Product : Windows 10 Version 21H2
Qt version : 6.6.1

Detailed information

Ditto

What happens?

Ditto

What should happen?

Ditto

@caitlynrw
Copy link

Same behavior, with spotify-qt from scoop and librespot from cargo-binstall, it can read the version of the librespot but can't start the server either manually or automatically.

System Information

ABI : x86_64-little_endian-llp64
App version : v3.11 (83bfc5d)
Build type : Release
D-Bus support : Yes
KCrash support : No
Kernel : winnt 10.0.22631
Keychain support: Yes
Platform : windows
Product : Windows 11 Version 23H2
Qt version : 6.6.1

@stassss2011
Copy link

I resolved the issue by filling Username field on Configuration tab

@freddycansic
Copy link

I resolved the issue by filling Username field on Configuration tab

This fixed it for me

@martinvonwittich
Copy link

Spotify-Qt will not start librespot. If I set "Start With App" then restart Spotify-Qt it says that librespot is not running. If I click "Start Client" then it says "Please Wait..." forever and never actually starts.

I have the same problem. The whole concept is totally confusing to me - why doesn't it simply start the binary? Why do I need to configure a username? Why does it prompt for a password when I enter my username? spotify-qt is running under my username, why does it need my username and password?! Nothing about this seems documented.

@WyntrHeart
Copy link
Author

Yeah, logging in again via the librespot settings fixed the issue, but this seems both unclear and redundant when spotify-qt is already logged into my account. Why not just automatically use the same credentials to log in for librespot?

@kraxarn
Copy link
Owner

kraxarn commented Jul 5, 2024

spotify-qt never receives your username or password and can only access the Web API. Actual playback from another client requires additional access that can't be received from just Web API access. Username could probably be guessed from the API though, but password would still be required as that's not something spotify-qt ever receives.

Either way, having to go to a separate tab to enter the username might not be the clearest thing ever, so some improvements can certainly be made. Thanks for bringing up the issue!

@kraxarn kraxarn changed the title Can't start librespot Can't start librespot without manually entering username first Jul 5, 2024
@JamesBlast
Copy link

Hey! I've installed following the same steps as above, logging fixed the librespot not starting issue and it says running but I can't see any devices matching my arguments... So can't play music locally yet (arguments worked when starting librespot alone so should be ok). Any idea?

@JamesBlast
Copy link

Ok so it seems that I was wrong, I get errors because of the arguments which is weird because it wasn't an issue for librespot in CLI.
So the only argument I kept because it matters is written as follows:
--device 'Speakers 03 (ASIOVADPRO Driver)'

I tried w/o ' ' and w/ " (this one worked in cli) for the device's name
I get this error:

spotify-qt-20240711.log

which is weird because with :

--device ?

I get the proper name for the driver in the list, I need to send music to this driver, this is a feature I can't do w/o

@kraxarn
Copy link
Owner

kraxarn commented Sep 12, 2024

Do you mean "--device-name" or "--device-type"? You seem to mention the device name, while the error seems to be more about the device type.

Also, please open a new issue as this is a different problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

8 participants