Skip to main content

A simple auto-tagging tool for precise music collectors.

Project description

Diesis

A simple auto-tagging tool for precise music collectors.

This simple tool allows you to automatically tag your audio files by fetching songs information from iTunes APIs and music lyrics from several providers, such as MusixMarch and AZLyrics, directly from your CLI, a GUI version is currently in development. It supports common audio formats such as MP3, AIFF, ALAC (M4A), FLAC and OGG, Wav support has not been added yet due to a missing featured in a required library (mutagen).

Getting Started

Currently this tool is shipped as a CLI tool, GUI application is currently under development and will be released as soon as possible.

Requirements

If your are going to install this package using pip you don't have to worry about dependencies, however, if you are going to install it manually, all required dependencies are listed in the requirements.txt file, here is a quick list:

  • mutagen: The module used to handle and process the tags from the audio files.
  • beautifulsoup4: The HTML parser used to scrape lyrics providers (couldn't find good quality APIs, sorry).
  • pydub: The module used for file conversion, note that it requires ffmpeg installed in your system.

Installation

Installation has been made really simple thanks to the pip package manager, you can easily install this tool by typing in your terminal the following command:

pip install diesis

Once installed you can get a list of all the available options by running:

diesis --help

Contributing, notes and known issues

I made this tool because I broke my HDD containing all my iTunes library. I built my music library very precisely, so I wanted to get it back with all the tags and lyrics associated to the files. Having just the raw files, I had to do all this annoying work manually, then I created this tool, it made me save months of work without having to waste my life finding those information on the internet like I did before.

As I made it a little quickly, it may be not very stable, one known issue is in file conversion, converting files to Apple Alac (.m4a) will leads to an error, I'm currently trying to figure out the issue. Anyone who wants to to add features, fix bugs or just kindly help me to understand this issue in file conversion is free to do it and then open a pull request.

Currently my spare time is short so I couldn't manage to write tests so far, I'll so in a near future.

Last note: some information fetched by this application may be protected copyright, such as lyrics, so use this tool for personal use only, please.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Diesis-1.0.5.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

Diesis-1.0.5-py2-none-any.whl (27.4 kB view details)

Uploaded Python 2

File details

Details for the file Diesis-1.0.5.tar.gz.

File metadata

  • Download URL: Diesis-1.0.5.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for Diesis-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6c99c10bff7ecc109c0cc4c7cd460e705890702c1fe69c9db9f11e9b0811e5ec
MD5 715ef3349098e59b4b3bda1930c91358
BLAKE2b-256 b3941da82098a444721e385fad2b04d40c4315cdb6b1ec1942e927707c1a73f7

See more details on using hashes here.

File details

Details for the file Diesis-1.0.5-py2-none-any.whl.

File metadata

  • Download URL: Diesis-1.0.5-py2-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for Diesis-1.0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 b403e2ab54515e40171fad916139f8181dd390b4c1712ffc1a0fba084881e618
MD5 80c36c6fedd1743ed455fbcf1de02190
BLAKE2b-256 d814c8f9a63511e5d8b18eaf7f5c0309fb811c43d3d3a34474a57dbc6a63b6f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page