DEV Community

Ljubomir Buturovic
Ljubomir Buturovic

Posted on

muziqa: mp3 collection visualizer

I have thousands of MP3s and FLACs sitting in folders. I've been
collecting music for years but never had a good sense of what was
actually in there. So I built muziqa — a command-line tool that
reads your music tags and generates charts.

What it does

Run it against a folder:

$ muziqa ~/Music
Enter fullscreen mode Exit fullscreen mode

It reads the ID3/Vorbis/MP4 tags from every supported file (MP3, FLAC,
WAV, M4A, OGG), recursively, and produces two PNG charts:

  • top 20 artists by track count, side by side with tracks by decade

Top artists and decades

  • tracks by year, with a 5-year rolling average of mean tracks per artist overlaid on a twin axis

Top artists and decades

Optionally, with --country and --genre, it queries
MusicBrainz to look up each artist's
country of origin and genre, then generates two more charts:

  • tracks by country

Top artists and decades

  • tracks by genre

Top artists and decades

The MusicBrainz lookup respects their 1 req/sec rate limit and caches
results locally, so it only runs once.

Install (Mac and Linux)

$ pipx install muziqa
Enter fullscreen mode Exit fullscreen mode

It probably runs on Windows but I haven't tried

Source

https://github.com/ljbuturovic/muziqa

Top comments (0)