auto-m4b
Docker 应用程序 from AlexRed's Repository
概述
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.
要求
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.
===
--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.
运行时参数
- 网络
bridge- 外壳
bash- 特权
- false
- 额外参数
--cpu-shares=256
模板配置
DataPathrw
- 目标
- /config
- 默认值
- /mnt/user/appdata/auto-m4b
- 价值
- /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.
- 目标
- /temp
Save Backup Before JobVariable
[Y | N] If set to Y, will make a backup of files in the /temp/backup directory.
- 目标
- MAKE_BACKUP
- 默认值
- N
- 价值
- N
PUIDVariable
- 默认值
- 99
- 价值
- 99
PGIDVariable
- 价值
- 100
Scan IntervalVariable
Interval to check for /temp/recentlyadded files in minutes.
- 目标
- SLEEPTIME
- 默认值
- 1m
- 价值
- 1m
下载统计数据
187,720
下载总数
7,274
本月
7,458
平均每月
长期下载总量
加载图表...
详细信息
在Unraid 上运行 auto-m4b 。
auto-m4b 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。