https://github.com/mpratt/music-tracker
Python script used to track the times a song has been played in audacious. The script can also generate m3u playlists using the information collected.
https://github.com/mpratt/music-tracker
Last synced: over 1 year ago
JSON representation
Python script used to track the times a song has been played in audacious. The script can also generate m3u playlists using the information collected.
- Host: GitHub
- URL: https://github.com/mpratt/music-tracker
- Owner: mpratt
- License: mit
- Created: 2023-01-06T22:21:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T17:05:52.000Z (over 2 years ago)
- Last Synced: 2025-01-15T08:58:17.557Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Music Tracker
Python script used to track the times a song has been played.
The script can also generate m3u playlists using the information.
I wrote this script to do some tracking when playing songs on
audacious using the song change plugin.
The script creates a sqlite database used to store the relevant
stats.
# Installation
Download the source code, extract the data, go to the folder and run
`pip install -e .`
# Usage
This is the way I have to set it up on audacious in order to start
tracking the information.
```
// start of song
${HOME}/.local/bin/music-tracker --artist '%a' --track '%T' --file '%f' --skip-tracking true PATH_TO_LIBRARY
// end of song
${HOME}/.local/bin/music-tracker --file '%f' PATH_TO_LIBRARY
```