This is a 3rd-party plugin that enables play count tracking for the DeaDBeeF audio player.
The header file deadbeef.h
is required for compilation. It can be retrieved
from either the DeaDBeeF source code,
or is automatically included in the CMake project if DeaDBeeF is installed.
After cloning this repository, execute the following from its source directory to install the shared library:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install
To remove the plugin, delete any playcount.so*
files from the local DeaDBeeF
library directory (~/.local/lib/deadbeef/
).
To display the play count value in the GUI we:
Play Count
Custom
%play_count%
Deadbeef Version | Plugin Version |
---|---|
0.7.2 | 1.0 |
1.8.2 | 2.0 |
Other versions of Deadbeef Player have not been tested.
The play count for a track won't be incremented if playback stops after the current track. This is due to the way that events are produced by Deadbeef Player.
Play counts can only be shown for songs that use the ID3v2 (2.3 or 2.4) tag format. If play counts are not displayed for songs after the GUI has been configured try the following steps:
If the song does not have the correct tags we can attempt to convert it to use the correct format:
The song's count will now be updated after it has played (assuming conversion succeeded). You can optionally close and reopen DeaDBeeF to refresh display of the play count value.