Skip to main content

audio2album

cut mp3 into albums with metadata tagging and youtube-dl

Description

audio2album is a CLI to cut mp3s and tags them, it also accepts an youtube URL as the mp3 path. audio2album also features a .txt parser which reads the inputs rather than manually entering then in the command line.

Python 3.9

Installation

From PyPI

pip3 install audio2album

OR w/ pipx (recommended)

pipx install audio2album

From Source

  1. Clone the project or download and extract the zip

  2. cd to the project directory containing the setup.py

  3. python setup.py install or pipx install .

Details

Usage:
    audio2album [options | URL] [TXTPATH] [--keepfile]

Arguments:
    URL         path/to/mp3 or youtube.com/url
    TXTPATH     path/to/txtfile -> parse or output

Options

Options:
    -h --help                       Show this screen
    -v --version                    Show version
    -d --debug                      Verbose logging
    --mktxt                         Makes txt file for easier use
    --keepfile                      Keeps downloaded uncut file

TXTFILE

With –mktxt you can output a txt file (TXTPATH) that can be used to feed the information to the app.

The basic structure required in the txt file is as follows:

Album:
Artist:
Release:
VVV
1.TrackName--Start--End
2.Justatrack--0--2:40"

The first three parameters Album, Artist and Release (Release year) can be placed in any order as long as the keys are the same.

The “VVV” indicates that below is the tracklist with the times.

Track Template: (TrackNumber).(TrackName)–(StartTime)–(EndTime)

Time Template: [H]:[M]:S.[ms] ([] = optional)

Time Shortcuts

Instead of times following the given Time Template audio2album also accepts:

  • “0” - as second 0

  • “END” - end of the mp3 file (case-insensitive)

Example:

1.WholeMP3--0--END

Metadata

Release files for audio2album 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audio2album 0.0.2
File Size Uploaded Provenance Actions
audio2album-0.0.2.tar.gz 6.8 kB Without provenance Details for audio2album-0.0.2.tar.gz

Release files / audio2album-0.0.2.tar.gz

Download URL audio2album-0.0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
683a662d7367711de8d452f2bdf3dd409a82474992f819fd2aa4a6ef73d9260d
BLAKE2b-256 checksum
How to use checksums
cd50517d04739196208104f2ad7c9e123f6e629b7186660866b7dd1b76267b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

Security for audio2album 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page