1
0
Fork
You've already forked garf
0
Combine multiple MP3s into a single chapterized MP3
  • Shell 100%
2025年11月12日 22:45:36 -06:00
garf.sh init 2025年09月25日 15:24:48 -05:00
garf_multiple.sh init 2025年09月25日 15:24:48 -05:00
garf_nometadata.sh init 2025年09月25日 15:24:48 -05:00
garf_openbook.sh Added garf_openbook.sh 2025年11月12日 22:45:36 -06:00
README.md Added garf_openbook.sh 2025年11月12日 22:45:36 -06:00

garf

This is a collection of scripts to combine multiple MP3 files into a single chapterized MP3.

Examples

Chapterizing a folder of MP3s dumped with LibbyRip

cd /path/to/folder/with/mp3s
bash /path/to/this/repo/garf_multiple.sh

Chapterizing a folder of MP3s dumped with an older Libby dumper (that included an openbook.json file)

cd /path/to/folder/with/mp3s
bash /path/to/this/repo/garf_openbook.sh

Install tone (https://github.com/sandreas/tone) if you want to use this one.

Chapterizing a folder of MP3s you got from anywhere else (that didn't include a metadata/metadata.json file)

cd /path/to/folder/with/mp3s
echo "Book Title" > metadata.txt
echo "Book Author" >> metadata.txt
bash /path/to/this/repo/garf_nometadata.sh

The chapter titles will be whatever the individual files were named. For example, a folder with Chapter1.mp3, Chapter2.mp3, and Chapter3.mp3 will result in a book with three chapters: "Chapter1", "Chapter2", and "Chapter3". You can use spaces in filenames, but not quotes; the script doesn't like quotes for whatever reason.

License

WTFPL.