[GH-ISSUE #950] How to handle spotifyd restarting #415

Open
opened 2026-02-28 14:49:01 +03:00 by kerem · 0 comments
Owner

Originally created by @stevensonmt on GitHub (Feb 16, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/950

I have an issue when listening for longer periods that the spotifyd connection gets reset but because it happens silently systemd does not see it as a failure and does not restart the service. This leads to spotify-tui returning an error that no backend is running (I forget the actual text of the error). I'm trying to solve this by simply having spotifyd restart periodically via WatchdogSec=1200s. When the service restarts spotify-tui does not seem to reconnect automatically. Playback fails silently as the current track just pauses and keeps trying to play the next 3 seconds over and over until I manually select a track.

Is there a better way to handle the silent failure of spotifyd or a way to handle the spotifyd service restarting such that playback is either not interrupted or if interrupted restarts the current track automatically?

Originally created by @stevensonmt on GitHub (Feb 16, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/950 I have an issue when listening for longer periods that the spotifyd connection gets reset but because it happens silently systemd does not see it as a failure and does not restart the service. This leads to spotify-tui returning an error that no backend is running (I forget the actual text of the error). I'm trying to solve this by simply having spotifyd restart periodically via `WatchdogSec=1200s`. When the service restarts spotify-tui does not seem to reconnect automatically. Playback fails silently as the current track just pauses and keeps trying to play the next 3 seconds over and over until I manually select a track. Is there a better way to handle the silent failure of spotifyd or a way to handle the spotifyd service restarting such that playback is either not interrupted or if interrupted restarts the current track automatically?
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#415
No description provided.