[GH-ISSUE #754] Stop playing upon exit #302

Closed
opened 2026-02-28 14:48:21 +03:00 by kerem · 4 comments
Owner

Originally created by @petobens on GitHub (Feb 28, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/754

Hi! I'm using spt with spotifyd. I've noticed that if a song is playing and I exit spt then the music continues until I actually exit spotifyd (i'm running it with --no-daemon). I would've expected the music to stop upon exiting spt. Is this a feature? Thanks in advance.

Originally created by @petobens on GitHub (Feb 28, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/754 Hi! I'm using spt with spotifyd. I've noticed that if a song is playing and I exit spt then the music continues until I actually exit spotifyd (i'm running it with `--no-daemon`). I would've expected the music to stop upon exiting spt. Is this a feature? Thanks in advance.
kerem closed this issue 2026-02-28 14:48:21 +03:00
Author
Owner

@OrangeFran commented on GitHub (Mar 3, 2021):

spotify-tui is just a frontend to the spotify web api. It doesn't actually play the songs. That is done by spotifyd.
So closing spotify-tui should not stop the other process that actually plays the songs provided by spotify. Imagine this: You want to change the song playing on your phone through your computer. If you open spotify-tui, change the song and then close spotify-tui again, the music should not stop, right?

Anyway, if you want to just stop spotifyd upon exiting spotify-tui on your local computer, you could create a wrapper script.

#!/usr/bin/env bash
spotifyd && spt && killall spotifyd
<!-- gh-comment-id:789691980 --> @OrangeFran commented on GitHub (Mar 3, 2021): `spotify-tui` is just a frontend to the spotify web api. It doesn't actually play the songs. That is done by `spotifyd`. So closing spotify-tui should not stop the other process that actually plays the songs provided by spotify. Imagine this: You want to change the song playing on your phone through your computer. If you open spotify-tui, change the song and then close spotify-tui again, the music should not stop, right? Anyway, if you want to just stop spotifyd upon exiting spotify-tui on your local computer, you could create a wrapper script. ```bash #!/usr/bin/env bash spotifyd && spt && killall spotifyd ```
Author
Owner

@petobens commented on GitHub (Mar 3, 2021):

Thanks. I guess it makes total sense.

<!-- gh-comment-id:789708742 --> @petobens commented on GitHub (Mar 3, 2021): Thanks. I guess it makes total sense.
Author
Owner

@petobens commented on GitHub (Mar 5, 2021):

Feel free to close if there is nothing else to do from spt side.

<!-- gh-comment-id:791766101 --> @petobens commented on GitHub (Mar 5, 2021): Feel free to close if there is nothing else to do from spt side.
Author
Owner

@Rigellute commented on GitHub (Mar 15, 2021):

Thank you both 👍

<!-- gh-comment-id:799272763 --> @Rigellute commented on GitHub (Mar 15, 2021): Thank you both 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#302
No description provided.