Skip to content

Releases: jonmchan/pianobar-windows

Eventcmd Support (Notification Toasters with Cover Art)

06 Jul 05:35
Compare
Choose a tag to compare

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:

image

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)

05 Jul 07:01
Compare
Choose a tag to compare

Here's a release of the eventcmd code until upstream pulls this functionality in the main branch.

image

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"