App::XMMS2::Notifier - script which notifies you what xmms2 is playing
# Shows libnotify notifications e.g. "Silence - Cellule" xmms2-notifier # Shows libnotify notifications e.g. "Cellule by Silence (L'autre endroit), year 2005, genre Electro" xmms2-notifier --format="$title by $artist ($album), year $date, genre $genre"
xmms2-notifier is a script which shows libnotify notifications when the song is changed and when the playback is started/resumed.
You can control the notification format with the --format argument. The following strings are replaced:
The song bitrate, in bits/s. Example: 785104
Usually the year the song was published. Example: 2005
The format of each sample. Example: S16
An URL that points to the song. Example: file:///ext/Music/Silence+-+Cellule.flac
The XMMS2 id of the song. Example: 498
The number of channels the song has. Example: 2
The sample rate of the song, in Hz. Example: 44100
The track number in the album. Example: 1
The genre of the song. Example: Electro
The artist/band. Example: Silence
The album the song is from. Example: L'autre endroit
The song title. Example: Cellule
xmms2(1)
Marius Gavrilescu, <marius@ieval.ro>
Copyright (C) 2013-2016 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install App::XMMS2::Notifier, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::XMMS2::Notifier
CPAN shell
perl -MCPAN -e shell install App::XMMS2::Notifier
For more information on module installation, please visit the detailed CPAN module installation guide.