项目作者: d99kris

项目描述 :
Automatically identify, tag and rename audio files on Linux
高级语言: Shell
项目地址: git://github.com/d99kris/idntag.git
创建时间: 2018-11-06T12:00:20Z
项目社区:https://github.com/d99kris/idntag

开源协议:MIT License

下载


Idntag

Linux Mac
Linux macOS

Idntag is a command-line tool that identifies artist and song name in
specified audio files and updates their ID3-tag meta-data with correct data,
and renames the files on format Artist_Name-Track_Name.

Warning: This tool modifies and renames its input files. The quality of song
identification is not perfect and may have some false detections. It is
therefore recommended to first make a copy of the files to be identified, so
there is a backup in case the results are not good.

Example Usage

  1. $ idntag tests/song.mp3
  2. tests/song.mp3 : OK : tests/Broke_For_Free-Night_Owl.mp3
  3. $ ls tests/
  4. Broke_For_Free-Night_Owl.mp3
  5. $ ffprobe tests/Broke_For_Free-Night_Owl.mp3 2>&1 | grep -e artist -e title
  6. artist : Broke For Free
  7. title : Night Owl

Supported Platforms

Idntag is developed and tested on Linux and macOS.

Installation

Pre-requisites Ubuntu:

  1. sudo apt install git cmake mp3info python3-pip libtag1-dev libchromaprint-dev libchromaprint-tools ubuntu-restricted-extras ffmpeg

Pre-requisites Debian (incl. Debian-based like Raspbian):

  1. sudo apt install git cmake mp3info python3-pip libtag1-dev libchromaprint-dev libchromaprint-tools ffmpeg

Pre-requisites Python:

  1. pip3 install pyacoustid pytaglib

Download the source code:

  1. git clone https://github.com/d99kris/idntag && cd idntag

Generate Makefile and build:

  1. mkdir -p build && cd build && cmake .. && make -s

Optionally run tests:

  1. ctest --output-on-failure

Optionally install in system:

  1. sudo make install

Installation - Third-Party Packages

Disclaimer: The following packages are not maintained nor reviewed by the
author of idntag.

Fedora

Idntag

Usage

General usage syntax:

  1. idntag [-k] [-l] path [path ...]
  2. idntag -h
  3. idntag -v

Options:

  1. path path of a file or directory
  2. -h, --help show this help message and exit
  3. -k, --keepname keep original filename
  4. -l, --uselib use chromaprint lib instead of tools
  5. -v, --version show program's version number and exit

License

Idntag is distributed under the MIT license. See LICENSE file.

Keywords

linux, macos, fingerprint, music, mp3, automatically tag.