Releases: jonmchan/pianobar-windows
Eventcmd Support (Notification Toasters with Cover Art)
Here's a release of the eventcmd code until upstream pulls this functionality in the main branch.
Newest release adds support for Cover Art Icon:
Note: Only the x64 version is tested. I just built the x86 version for completeness sake. Also, I only have a Win11 computer, I do not know if this works on Win10 or older. I'm almost sure I broke XP support (if that was still a thing?).
Please note the new cfg options:
# events that should fire the event_command (comma separated);
# current possible events are:
# userlogin,usergetstations,stationfetchplaylist,songstart,songfinish
#
# note, only songstart and songfinish have all the variable substitution support, other events are not well-tested
#
# example usage:
# subscribed_events = songstart,songfinish
subscribed_events = songstart,songfinish
# you can pass variable substitution to event_command to get the current songs.
# Variables supported: $artist, $album, $song, and $station
event_command = C:\Users\Jonathan\bin\wsl-notify-send.exe --appId "Pianobar" --category "$station" "$artist `n$album `n$song" -i "$coverArt"
Eventcmd Support (Notification Toasters)
Here's a release of the eventcmd code until upstream pulls this functionality in the main branch.
Note: Only the x64 version is tested. I just built the x86 version for completeness sake. Also, I only have a Win11 computer, I do not know if this works on Win10 or older. I'm almost sure I broke XP support (if that was still a thing?).
Please note the new cfg options:
# events that should fire the event_command (comma separated);
# current possible events are:
# userlogin,usergetstations,stationfetchplaylist,songstart,songfinish
#
# note, only songstart and songfinish have all the variable substitution support, other events are not well-tested
#
# example usage:
# subscribed_events = songstart,songfinish
subscribed_events = songstart,songfinish
# you can pass variable substitution to event_command to get the current songs.
# Variables supported: $artist, $album, $song, and $station
event_command = C:\Users\Jonathan\bin\wsl-notify-send.exe --appId "Pianobar" --category "$station" "$artist `n$album `n$song"