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.1.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.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discogs_tag-1.6.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c06afdf286980ce2d090f0b6ed1eed51f8955c2ee4081c419f98471d129355db
MD5 79ff19f8b1fa56d1aa5806a4fd1b065b
BLAKE2b-256 62fd75cfd6bffbb454842a5dc13f449fae1be4f93c0b7c8f39d7d915067e9380

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discogs_tag-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d84a6abeae4f364c6cc98f568b82f34bba60b4534a507e9bfbf7c9d72d3eb6a
MD5 26e097f448f9d2aaa49584ccafa1aadf
BLAKE2b-256 d8988c251c49fe82e23e1e24c313e2596018f70aba77f642c9a005fecf82e34a

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