The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

xmms2-notifier - script which notifies you what xmms2 is playing

SYNOPSIS

  # 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"

DESCRIPTION

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:

$bitrate

The song bitrate, in bits/s. Example: 785104

$date

Usually the year the song was published. Example: 2005

$sample_format

The format of each sample. Example: S16

$url

An URL that points to the song. Example: file:///ext/Music/Silence+-+Cellule.flac

$id

The XMMS2 id of the song. Example: 498

$channels

The number of channels the song has. Example: 2

$samplerate

The sample rate of the song, in Hz. Example: 44100

$tracknr

The track number in the album. Example: 1

$genre

The genre of the song. Example: Electro

$artist

The artist/band. Example: Silence

$album

The album the song is from. Example: L'autre endroit

$title

The song title. Example: Cellule

SEE ALSO

xmms2(1)

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

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.