An audio tagger based on Discogs metadata.
Project description
discogs-tag
An audio tagger based on Discogs metadata.
Development
- Install
poetry
poetry install && poetry build && pip install .
Usage
NAME
discogs-tag
SYNOPSIS
discogs-tag COMMAND
COMMANDS
COMMAND is one of the following:
tag
Tag the audio files with the given Discogs release.
copy
Copy the audio tags from source to destination folders.
rename
Rename the audio files based on the given format string.
tag
NAME
discogs-tag tag - Tag the audio files with the given Discogs release.
SYNOPSIS
discogs-tag tag RELEASE <flags>
DESCRIPTION
The RELEASE can be one of the following:
- A full Discogs release URL, e.g. https://www.discogs.com/release/16215626-Pink-Floyd-Wish-You-Were-Here
- The numeric portion of the above, e.g. 16215626
- A local file URI pointing to a release JSON file
The SKIP flag can take one or more of the following values, comma-separated:
artist, composer, title, position, date, subtrack, album, genre, albumartist
POSITIONAL ARGUMENTS
RELEASE
FLAGS
--dir=DIR
Default: './'
--dry=DRY
Default: False
-i, --ignore=IGNORE
Default: False
-s, --skip=SKIP
Type: Optional[]
Default: None
NOTES
You can also use flags syntax for POSITIONAL ARGUMENTS
copy
NAME
discogs-tag copy - Copy the audio tags from source to destination folders.
SYNOPSIS
discogs-tag copy SRC <flags>
DESCRIPTION
The SKIP flag can take one or more of the following values, comma-separated:
artist, composer, title, position, date, subtrack, album, genre, albumartist
POSITIONAL ARGUMENTS
SRC
FLAGS
--dir=DIR
Default: './'
--dry=DRY
Default: False
-i, --ignore=IGNORE
Default: False
-s, --skip=SKIP
Type: Optional[]
Default: None
NOTES
You can also use flags syntax for POSITIONAL ARGUMENTS
rename
NAME
discogs-tag rename - Rename the audio files based on the given format string.
SYNOPSIS
discogs-tag rename FORMAT <flags>
DESCRIPTION
The FORMAT string specifies how to rename the audio files and/or directories according to the following tags:
%a Artist
%z Album artist
%b Album title
%p Composer
%d Disc nummber
%g Genre
%n Track number
%t Track title
%y Year
/ Directory separator: Specifies subdirectories to be created starting from the given directory.
Non-audio files will be moved to their existing subdirectories within the destination root which is assumed to be unique.
POSITIONAL ARGUMENTS
FORMAT
FLAGS
--dir=DIR
Default: './'
--dry=DRY
Default: False
-i, --ignore=IGNORE
Default: False
NOTES
You can also use flags syntax for POSITIONAL ARGUMENTS
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
discogs_tag-1.1.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for discogs_tag-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420eae29787804f14a41d9df7857b55360b13d8d4340fd8856374434f1e9b0af |
|
MD5 | 44ef0b93d5ca9d6680a36ab07217a2c5 |
|
BLAKE2b-256 | 5b45baca4150ea1c2995f7a32c5a201e1c68b2bc4d6c675723c3d41c928ae0cf |