Skip to main content

commandline utility for adding chapter marks to mp3 files similar to mp4chaps utility

many pocast apps on Android and iOS support chapter markers in both mp4 (aac) and mp3 files

this utilizes the excellent eyeD3 tagging module to read and write chapter frames and title subframes

requirements

Python 3 (Python 2 is no longer supported)

installation

pip3 install mp3chaps

usage

assuming you have a file named episode_42.mp3, mp3chaps looks for a chapter marks file called episode_42.chapters.txt in the same directory:

00:00:00.000 Introduction
00:02:00.000 Chapter Title
00:42:24.123 Chapter Title

add chapter marks

add (import) chapter marks from text file (unexpected results may occur if chapters already exist, for best results remove chapters first with -r)

mp3chaps -i episode_42.mp3

If you run into errors, try using ASCII. There have been some issue with Unicode.

list chapters

mp3chaps -l episode_42.mp3

remove chapters

mp3chaps -r episode_42.mp3

Metadata

Release files for mp3chaps 0.4

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

Source distribution (sdist)

Source distribution for mp3chaps 0.4
File Size Uploaded
mp3chaps-0.4.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 8.0 kB

Release files / mp3chaps-0.4.tar.gz

Download URL mp3chaps-0.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5f79123c92ad8f947c3f6ea2487f4f86d4b0d23cb95f441257e72d19e7f6b773
BLAKE2b-256 checksum
How to use checksums
23ed59c396ce959970540676e94c6bfabef90545a9b80bc42a2f673145c99158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release files / mp3chaps-0.4-py3-none-any.whl

Download URL mp3chaps-0.4-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61cd536ff438e700447c3730169de7490e0d2176bab37bb2c390fb2a52290980
BLAKE2b-256 checksum
How to use checksums
49b67b8bc1315437686972587b7877ba7ee7328191dc49717bbc36dc8ea0ff50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

3 release files

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