Skip to main content

An audio tagger based on Discogs metadata.

Project description

discogs-tag

An audio tagger based on Discogs metadata.

PyPI Version

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.

    The flag DOTS_AS_SUBTRACKS considers track numbers such as "9.1", "9.2", etc to be subtracks.

POSITIONAL ARGUMENTS
    RELEASE

FLAGS
    --dir=DIR
        Default: './'
    --dry=DRY
        Default: False
    -s, --skip=SKIP
        Type: Optional[]
        Default: None
    -o, --only=ONLY
        Type: Optional[]
        Default: None
    --dots_as_subtracks=DOTS_AS_SUBTRACKS
        Default: True

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
    -s, --skip=SKIP
        Type: Optional[]
        Default: None
    -o, --only=ONLY
        Type: Optional[]
        Default: None

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 number
        %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

release

NAME
    discogs-tag release - Download the specified Discogs release as JSON.

SYNOPSIS
    discogs-tag release RELEASE

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

POSITIONAL ARGUMENTS
    RELEASE

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

Uploaded Source

Built Distribution

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

discogs_tag-1.6.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file discogs_tag-1.6.0.tar.gz.

File metadata

  • Download URL: discogs_tag-1.6.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.12.10-76061203-generic

File hashes

Hashes for discogs_tag-1.6.0.tar.gz
Algorithm Hash digest
SHA256 a306c675e7d8961d3915145fdc6ad8410d684543bf08511b9627c0cf16038d7d
MD5 280ed1ac2faf53364b342dbf86ded1ed
BLAKE2b-256 6ddfe8422613f25f51b0bfe31a60bf97e0cf09baae0630de96dd45b151453cda

See more details on using hashes here.

File details

Details for the file discogs_tag-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: discogs_tag-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.12.10-76061203-generic

File hashes

Hashes for discogs_tag-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acdaab13b6795a3a5800d89fa3f7ba44f6e99a66bb503d6d175be95fa9fba0e5
MD5 85a5cd5caa3a5c137a3c653c88017ef2
BLAKE2b-256 d5a9f9f5aa3171c160122071d5980c75ee7465b8f2c70f9ae0abc1f823ee9d06

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