[GH-ISSUE #295] [QUESTION]: How can I tell if there is a daemon running? #155

Closed
opened 2026-03-02 23:45:03 +03:00 by kerem · 3 comments
Owner

Originally created by @joebonneau on GitHub (Nov 18, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/295

Hey there,

I was curious if there was any easy way to tell whether a spotify_player daemon is already running. I would need to do some more defined testing to provide context, but it seems that sometimes it's not running when I expect it to be, which then requires me to close the player and run spotify_player -d to spin it up again.

I have a feeling this might be accomplished by running some sort of system command - if it matters, I'm on MacOS.

Thanks in advance!

Originally created by @joebonneau on GitHub (Nov 18, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/295 Hey there, I was curious if there was any easy way to tell whether a spotify_player daemon is already running. I would need to do some more defined testing to provide context, but it seems that sometimes it's not running when I expect it to be, which then requires me to close the player and run `spotify_player -d` to spin it up again. I have a feeling this might be accomplished by running some sort of system command - if it matters, I'm on MacOS. Thanks in advance!
kerem closed this issue 2026-03-02 23:45:04 +03:00
Author
Owner

@aome510 commented on GitHub (Nov 18, 2023):

Daemon should also provide log and backtrace, you can check them in the cache folder

<!-- gh-comment-id:1817679179 --> @aome510 commented on GitHub (Nov 18, 2023): Daemon should also provide log and backtrace, you can check them in the cache folder
Author
Owner

@joebonneau commented on GitHub (Nov 19, 2023):

Gotcha, thanks. I was hoping for something less manual if it exists. Like a specifically named process within htop or a cli command I can run.

<!-- gh-comment-id:1817685213 --> @joebonneau commented on GitHub (Nov 19, 2023): Gotcha, thanks. I was hoping for something less manual if it exists. Like a specifically named process within htop or a cli command I can run.
Author
Owner

@aome510 commented on GitHub (Nov 21, 2023):

I'll close this issue for now. Feel free to re-open it if you have other related questions

<!-- gh-comment-id:1820087809 --> @aome510 commented on GitHub (Nov 21, 2023): I'll close this issue for now. Feel free to re-open it if you have other related questions
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-player#155
No description provided.