Skip to content

hejops/dita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dita

A command-line interface for automated mp3 file tagging using data from Discogs, inspired by the foo_discogs component for foobar2000.

Only Linux is officially supported at this time.

About

Goals set out in the development of the project include:

  • Retrieval of data through the Discogs REST API
  • Wrangling and validation of data, often of varying quality
  • Semi-automated writing of audio metadata
  • A minimal REPL for manual metadata fixes
  • Data visualization

Since these goals have largely been met and I am reasonably satisfied with its present scope, this project is effectively in maintenance mode.

While there is an underlying Python interface to the Discogs API, which probably has similarities to that of the joalla team's client, exposing it to the user has not been the primary objective of the project.

Installation

git clone https://github.com/hejops/dita
cd dita
# in case you want to remove existing installation
# ~/.cache/pypoetry/virtualenvs/dita-*
poetry install
poetry run fix_tags

Configuration will be initialised through a few simple prompts. The configuration file can be edited subsequently.

Usage

Some convenient entry points are defined as follows:

To invoke the scripts from any location, add the following to your .bashrc:

export PATH=$PATH:~/.cache/pypoetry/virtualenvs/dita-*/bin

Contributing

If you find any issues or need any help, please file an issue. Pull requests are also welcome.