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-0.0.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Diesis-0.0.1-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Diesis-0.0.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for Diesis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a597f925e5da9531aa12cceb2e8d921210fa4b6aedfd317f37f0f6c840e3b48e
MD5 7de1bc7f219e10da6d739939dd03f278
BLAKE2b-256 84b3f2dda0f590845966f9309f689b6ebf20f11696ecab208f40805d629c8d69

See more details on using hashes here.

File details

Details for the file Diesis-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Diesis-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for Diesis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d44d1fde0638993779afa015c0913ec2ddf55bfb95a34b1a2f61a9ae33eca42
MD5 4fefc52d8a7adfaa32f43c461efb58dc
BLAKE2b-256 5827b61d5725eedce2ab14c0dae01d25b66146f8474d8a2dcf397f4ee6d8de7c

See more details on using hashes here.

Supported by

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