auto-m4b

auto-m4b

Docker app from AlexRed's Repository

Overview

auto-m4b is a docker container that will watch a folder for new books, auto convert mp3 books to chapterized m4b, and move all m4b books to a specific output folder. This output folder is where the beets.io audible plugin will look for audiobooks and use the audible api to perfectly tag and organize your books. See: https://github.com/seanap/beets-audible TLDR: watches a /recentlyadded folder, all multifile m4b/mp3/m4a/ogg books will be converted to a chapterized m4b and saved to an /untagged folder Github: https://github.com/seanap/auto-m4b Dockerhub: https://hub.docker.com/r/seanap/auto-m4b Limitations: - The chapters are based on the mp3 tracks. A single mp3 file will become a single m4b with 1 chapter, also if the mp3 filenames are garbarge then your m4b chapternames will be terrible as well. See section on Chapters for how to manually adjust. - Right now book folders with nested subfolders will be moved to a /fix folder for manual filename/folder fixing. It should be possible to modify the auto-m4b-tool.sh script to automatically prefix the subfoldername and move the files up a level, let me know if you know how to do this. - The conversion process actually strips some tags and covers from the files, which is why you need to use a tagger (mp3tag or beets.io) before adding to Plex.

Requirements

Notes
===
--cpu-shares=256 by default, this will limit the container to 25% of your available CPU cycles.
Conversion speed depends on your cpu, and at 25% it can be slow. 1GB audiobook may take 30 minutes or more. Either change --cpu-shares=1024 (full cpu usage), or run it overnight.

Runtime arguments

Network
bridge
Shell
bash
Privileged
false
Extra Params
--cpu-shares=256

Template configuration

DataPathrw
Target
/config
Default
/mnt/user/appdata/auto-m4b
Value
/mnt/user/appdata/auto-m4b
Staging FolderPathrw

Folder where operations will take place. Inside of the folder, the following structure will be used: recentlyadded, merge, untagged, delete, fix, backup. Suggested location: empty directory placed on a cache drive near your media, the subdirectories will be created automatically. Note: you may need to run chown nobody:users -R * on the folder.

Target
/temp
Save Backup Before JobVariable

[Y | N] If set to Y, will make a backup of files in the /temp/backup directory.

Target
MAKE_BACKUP
Default
N
Value
N
PUIDVariable
Default
99
Value
99
PGIDVariable
Value
100
Scan IntervalVariable

Interval to check for /temp/recentlyadded files in minutes.

Target
SLEEPTIME
Default
1m
Value
1m

Download Statistics

187,720
Total Downloads
7,274
This Month
7,458
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
seanap/auto-m4b
Last Updated2024-07-04
First Seen2023-10-08

Run auto-m4b on Unraid.

auto-m4b is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.