Skip to content

Instantly share code, notes, and snippets.

View Ainali's full-sized avatar

Jan Ainali Ainali

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ainali on github.
  • I am ainali (https://keybase.io/ainali) on keybase.
  • I have a public key whose fingerprint is 1B01 99A1 79A6 6C7F A3F0 E2F0 2890 0F89 AC28 3510

To claim this, I am signing this object:

@Ainali
Ainali / produce-chapters.py
Created April 17, 2022 13:38
Add chapters to mp3 file based on Audacity label export (modified from https://github.com/trevligmjukvara/production-scripts/blob/master/produce-chapters.py )
#!/usr/bin/env python
# *-* encoding: utf-8 -*-
"""
Usage:
produce-chapters.py <part1_flac> <audacity_labels_part1> <target_mp3>
"""
from eyed3.id3 import Tag
from eyed3 import core
import os