Skip to main content

mp3tools

Merge mp3 files and set correct audio length using foobar2000 with an automated python script. These scripts can merge all files in one directory or create one file for each subdirectory.

merge mp3 files from subdirectories

  • mp3tools merge-mp3: merging script, works with foobar2000
  • mp3tools pack-subdirs: pack files into grouped subdirectories (good for large audiobooks)
  • mp3tools unpack-subdirs.py: unpack files from grouped subdirectories (undo mp3tools pack-subdirs)

Version

1.2.2 Fixed

1.2.0 Added PI/CI Support thanks to https://github.com/rochacbruno/python-project-template

1.0.0 release version. Ported to vscode.

0.2.0 bug corrected foobar needs to be called from working directory as the command line plugin cannot handle empty spaces in file names or paths given by command line

0.1.0 initial release. Port from windows script to python, introducing automation

Requirements

Installation

pip install mp3tools

Usage

Usage: mp3tools merge-mp3 [dir] [subdir-mode] [foobarpath] [autowaittime]
Usage: mp3tools pack-subdirs [group-size] [dir] [file-filter] [copy-mode]
Usage: mp3tools unpack-subdirs [dir] [subdir-filter] [file-filter] [copy-mode] [removesubdir-mode]
Usage: mp3tools wait=seconds
Note: This script depends on a foobar2000 installation! (Get it from: https://www.foobar2000.org/)

Metadata

Release files for mp3tools 1.2.7

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

Source distribution (sdist)

Source distribution for mp3tools 1.2.7
File Size Uploaded Provenance Actions
mp3tools-1.2.7.tar.gz 12.8 kB Without provenance Details for mp3tools-1.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mp3tools 1.2.7
File Interpreter ABI Platform Actions
mp3tools-1.2.7-py3-none-any.whl Python 3 none any Details for mp3tools-1.2.7-py3-none-any.whl

Total release size: 23.8 kB

Release files / mp3tools-1.2.7.tar.gz

Download URL mp3tools-1.2.7.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a4fc28094b64c49733ce4272292a03a681f114167821a4f11832bd3a8e4ef9b8
BLAKE2b-256 checksum
How to use checksums
679a6b9035ddf41e8530e5c3a77b116b888b422db3fb08e901a77169acefea9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / mp3tools-1.2.7-py3-none-any.whl

Download URL mp3tools-1.2.7-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30838a3ad107c62c500ec660f95b8653dec468f79f234b93cfd9a274eae00752
BLAKE2b-256 checksum
How to use checksums
4f2d5236c827c994ca361e3933ac37e4c5fd321ae5a73c129f8c20e69bbd64be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for mp3tools 1.2.7

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.

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