2024-03-21 14:00:35 +00:00
|
|
|
# Audible
|
2024-03-21 13:52:05 +00:00
|
|
|
|
|
|
|
Get your Activation Bytes https://audible-tools.kamsker.at/
|
|
|
|
|
2024-03-21 14:04:46 +00:00
|
|
|
## (01_get.sh) Downloading
|
2024-03-21 14:06:40 +00:00
|
|
|
- https://github.com/mkb79/audible-cli (in requirements.txt)
|
|
|
|
- run: `./get.sh`
|
2024-03-21 13:52:05 +00:00
|
|
|
|
2024-03-21 14:04:46 +00:00
|
|
|
## (02_strip.py) Stripping DRM
|
2024-03-21 13:52:05 +00:00
|
|
|
- requires ffmpeg compiled with aac support
|
|
|
|
- https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
|
2024-03-21 14:06:40 +00:00
|
|
|
- run: `python 02_strip.py AUDIOBOOK.aax`
|
2024-03-21 13:52:05 +00:00
|
|
|
|
2024-03-21 14:04:46 +00:00
|
|
|
## (03_rename.py) Renaming Things
|
2024-03-21 13:52:05 +00:00
|
|
|
- Requires the python mutagen package (in requirements.txt)
|
2024-03-21 14:06:40 +00:00
|
|
|
- Grabs the title and artist from the file, then puts the file in the format `Artist/Title/Audiobook.m4b`
|
|
|
|
- AudiobookShelf likes `Audiobook.m4b`, vs the title, kind of annoying, so thats how I wrote this.
|
|
|
|
- run: `python 03_rename.py filename.m4b` or `python 03_rename.py` in a directory
|
2024-03-21 14:00:35 +00:00
|
|
|
|
|
|
|
# Not Audible
|
|
|
|
For when you have a folder of mp3s in order of chapters
|
|
|
|
|
2024-03-21 14:04:46 +00:00
|
|
|
## (04_chapters.py) Chapters [not for Audible, for collections of mp3 files]
|
2024-03-21 14:00:35 +00:00
|
|
|
- this makes a FFMETADATAFILE based on the timing of a list of Mp3 files and adds those as an M4B file
|