An audio tagger based on Discogs metadata.
Project description
discogs-tag
An audio tagger based on Discogs metadata.
Usage
NAME
discogs-tag
SYNOPSIS
discogs-tag COMMAND
COMMANDS
COMMAND is one of the following:
version
Return version information.
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 and ONLY flags can take one or more of the following values, comma-separated:
artist, composer, title, position, date, subtracks, album, genre, albumartist
If subtracks are skipped, subtrack titles get appended to their parent track.
POSITIONAL ARGUMENTS
RELEASE
FLAGS
--dir=DIR
Default: './'
--dry=DRY
Default: False
-i, --ignore=IGNORE
Default: False
-s, --skip=SKIP
Type: Optional[]
Default: None
-o, --only=ONLY
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 and ONLY flags can take one or more of the following values, comma-separated:
artist, composer, title, position, date, subtracks, album, genre, albumartist
If subtracks are skipped, subtrack titles get appended to their parent track.
POSITIONAL ARGUMENTS
SRC
FLAGS
--dir=DIR
Default: './'
--dry=DRY
Default: False
-i, --ignore=IGNORE
Default: False
-s, --skip=SKIP
Type: Optional[]
Default: None
-o, --only=ONLY
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
Development
- Install
poetry
poetry install && poetry build && pip install .
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.3.1.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file discogs_tag-1.3.1.tar.gz
.
File metadata
- Download URL: discogs_tag-1.3.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fa1981ed5f08bf8a1124cdd594acf64d7d4e58a5963214c1f0ea7bd8b1b849 |
|
MD5 | 60772dd67bb29bec00dd5700717b2ca0 |
|
BLAKE2b-256 | 05c54ab8da0d5faeee7f32da419ffd00b5d95d838ded3c982699b6cbd5b97dcb |
File details
Details for the file discogs_tag-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: discogs_tag-1.3.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2af3efd11f6abb2a59de95ee87f2b9ad60b2ea134ba2282ab9aa2402ae9868a |
|
MD5 | c23258d10b505a70777a83c852b6f679 |
|
BLAKE2b-256 | c3024981be6e33e5eb57e5c83640eadbecdc7e978c2cc9aaddca8ee8840582f0 |