You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a events::invalid_scrobble warning event triggers, send a notification to a Linux desktop user's notification system
Background
Sometimes a scrobble fails. For the most part, this is a silent error and I might miss when something crashed the scrobbler or if I am listening offline. For scripts, I use notify-send, which is provided by the libnotify library.
Details
I'm not sure what a clean implementation of this would look like with libnotify. I use it for these types of things with shell scripts and Python programs, but not sure how it would work for a C project.
The event to watch for is already captured in the logs:
May 30 10:14:02 localhost mpris-scrobbler[5005]: WARNING events::invalid_scrobble
Outcome
Easier to catch scrobbling issues in real-time when they fail for whatever reason
The text was updated successfully, but these errors were encountered:
Summary
When a
events::invalid_scrobble
warning event triggers, send a notification to a Linux desktop user's notification systemBackground
Sometimes a scrobble fails. For the most part, this is a silent error and I might miss when something crashed the scrobbler or if I am listening offline. For scripts, I use
notify-send
, which is provided by the libnotify library.Details
I'm not sure what a clean implementation of this would look like with
libnotify
. I use it for these types of things with shell scripts and Python programs, but not sure how it would work for a C project.The event to watch for is already captured in the logs:
Outcome
Easier to catch scrobbling issues in real-time when they fail for whatever reason
The text was updated successfully, but these errors were encountered: