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

Queue Duplication and Playback Stops When Playing Songs via Search in Spotify-Player #669

Open
dark-wizz opened this issue Jan 26, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@dark-wizz
Copy link

dark-wizz commented Jan 26, 2025

Describe the bug
When searching for and playing a song using spotify-player, the song gets duplicated in the queue multiple times (up to 10 times). Additionally, when hitting the 'n' key to skip to the next track, playback stops instead of advancing to the next song. This issue only occurs when initiating playback via spotify-player. If playback is initiated from a mobile device, the queue and skipping('n') functionality work as expected. I tried this with different device such as spotify-player, librespot, spotify mobile, spotify desktop butsame result.

To Reproduce

  1. Open spotify-player and search for a song using the spotify-player search command.
  2. Play the song from the search results.
  3. Check the queue by navigating to the queue menu('z').
  4. Attempt to skip to the next song using the 'n' key.

Expected behaviour
The song should play once without being duplicated in the queue.
Skipping to the next song should continue play the next recommended song for me based on the search like the mobile app's client.

Log and backtrace
spotify-player-25-01-26-22-55.log

Screenshots
Image

Environment

  • OS: Arch Linux
  • Application version: 0.20.4
  • Application features: cargo install spotify_player --features pulseaudio-backend, image, daemon, fzf

Additional context
Add any other context about the problem here.

@dark-wizz dark-wizz added the bug Something isn't working label Jan 26, 2025
@dark-wizz dark-wizz changed the title spotify_player_log Queue Duplication and Playback Stops When Playing Songs via Search in Spotify-Player Jan 26, 2025
@cdslayallday
Copy link

yooooo how do i add the album/track picture on my spotify-player tui???

@dark-wizz
Copy link
Author

@cdslayallday

how do i add the album/track picture

build the application using image feature
cargo install spotify_player --features image

documentation: https://github.com/aome510/spotify-player?tab=readme-ov-file#image

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

No branches or pull requests

2 participants