Skip to content
New issue

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

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

Already on GitHub? # to your account

Unexpected Exit and Terminal Display Issues in ncspot with Spotify Free Account #1535

Open
kelvinauta opened this issue Oct 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kelvinauta
Copy link

Describe the bug
When using ncspot with a Spotify Free account, the application unexpectedly exits without any message for the user, leading to confusion. The terminal also displays strange characters upon certain actions like clicking or pressing keys.

To Reproduce
Steps to reproduce the behavior:

  1. Open a terminal session using the kitty terminal.
  2. Use the Zsh shell.
  3. Launch ncspot with a Spotify Free account.
  4. Perform actions like clicking or pressing any key.
  5. Observe the terminal output and application crash.

Expected behavior
The application should display an error message indicating that "ncspot does not work with Spotify Free, a Premium account is required" instead of crashing.

Screenshots
N/A

System (please complete the following information):

  • OS: Manjaro Linux KDE Plasma
  • Terminal: Kitty
  • Version: Latest available on AUR
  • Installed from: AUR

Backtrace/Debug log

[2024-10-19][20:34:03] [librespot_core::session] [ERROR] librespot does not support "free" accounts.
[2024-10-19][20:34:03] [librespot_core::session] [INFO] Please support Spotify and your artists and # for a premium account.

Additional context
The issue occurs consistently when using a Spotify Free account with ncspot in the kitty terminal using the Zsh shell.

@kelvinauta kelvinauta added the bug Something isn't working label Oct 20, 2024
@mrsteve0924
Copy link

mrsteve0924 commented Oct 25, 2024

i have the same issue and i have a premium account. run ncspot in terminal, terminal window blanks out for a sec and then exits. i am able to login to spotify website player and and everything was okay there.

OS: arch
ncspot version: 1.1.2
kernel: 6.11.5

debug log here, but nothing jumps out to me. thanks
https://dpaste.com//AGLDALN5H

@kelvinauta
Copy link
Author

i have the same issue and i have a premium account. run ncspot in terminal, terminal window blanks out for a sec and then exits. i am able to login to spotify website player and and everything was okay there.

OS: arch ncspot version: 1.1.2 kernel: 6.11.5

debug log here, but nothing jumps out to me. thanks https://dpaste.com//AGLDALN5H

Try to install it with Cargo instead of yay or pacman, use version
1.2 https://crates.io/crates/ncspot

@ZirixCZ
Copy link

ZirixCZ commented Dec 29, 2024

My.Movie.mp4

Using credentials from an account that does not have premium causes ncspot to crash. Since it seems to be an unhandled librespot_core exception issue I would expect it to be a problem even with cached credentials - meaning if premium on a linked account were to expire, ncspot would suddenly stop functioning with no error message.

System:

  • OS: macOS
  • Terminal: WezTerm, MacOS terminal
  • Version: 1.2.1, 1.2.0
  • Installed from: git, brew

Backtrace/Debug log

[2024-12-29][17:56:35] [librespot_core::session] [INFO] Connecting to AP "ap-gew4.spotify.com:4070"
[2024-12-29][17:56:35] [librespot_core::connection] [DEBUG] Authenticating with AP using AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS

...

[2024-12-29][17:56:35] [librespot_core::session] [DEBUG] drop Session
[2024-12-29][17:56:35] [librespot::component] [DEBUG] drop ApResolver
[2024-12-29][17:56:35] [librespot_core::session] [DEBUG] drop Dispatch
[2024-12-29][17:56:36] [librespot_core::session] [ERROR] librespot does not support "free" accounts.
[2024-12-29][17:56:36] [librespot_core::session] [INFO] Please support Spotify and your artists and # for a premium account.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants