You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
First of all, I hove this project and really want to get it going as it fills exactly my blank spot for my audiobookshelf rework.
I have ~100 audiobooks in MP3 format and I wanted something that merges books with hundreds of MP3 files into one well tagged/named and chapterized m4b file.
So I loaded the current docker image into my docker desktop and started it.
I converted one single book and it was half successful at least it seem to have read the imput files in the right order and merged it to one m4b file, but the chapters were not added, in the output directory the m4b file is done and an empty <title>.chapters file is created.
I did not want to invest too much time into the chapter issue and converted a different book and here the trouble starts, no matter how I set the filename/title tag (I thought numerical track number should help sorting them right) it always never adds the files in order, they seem completly mixed. I found out that it almost all the time starts with the 23rd MP3 file and no matter how I change the Naming of the Imput files and Tagging of the MP3 tags it is just ignored. It writes in the debug output (which is very limited indeed)
[2024-03-15 08:37:34,451: INFO/MainProcess] Task importer.tasks.m4b_merge_task[f90090d4-f6b9-489c-9715-8f2777f8746a] received
[2024-03-15 08:37:34,463: INFO/ForkPoolWorker-1] --------------- Starting to process B0CGF784Q3: Die drei Sonnen - Die Trisolaris-Trilogie 1 ---------------
[2024-03-15 08:37:34,627: INFO/ForkPoolWorker-1] Processing Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,631: INFO/ForkPoolWorker-1] Final path format: Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,631: INFO/ForkPoolWorker-1] Complete output path: /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,938: INFO/ForkPoolWorker-1] Processing multiple files in a dir...
[2024-03-15 08:37:34,954: INFO/ForkPoolWorker-1] Source bitrate: 162000
[2024-03-15 08:37:34,963: INFO/ForkPoolWorker-1] Source samplerate: 44100
found 275 files to convert
using cover /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
skip cover extraction, a custom cover has been specified: /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
preparing conversion with 20 simultaneous jobs, please wait...
0 remaining / 275 total, preparing next task |75 total |
using cover /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
merging 275 files into /tmp/m4b-tool/tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b, this can take a while
running silence detection for file /tmp/m4b-tool/tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b with min length 00:00:01.750
silence detection finished
tagged file tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b (artist: Mark Bremer, name: Die drei Sonnen - Die Trisolaris-Trilogie 1, chapters: 275)
moved temporary tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b to /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
successfully merged 275 files to /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
[2024-03-15 08:40:38,601: INFO/ForkPoolWorker-1] Using existing chapter data
[2024-03-15 08:40:38,605: ERROR/ForkPoolWorker-1] Chapter file is empty, attempting to correct
Deleting QuickTime and Nero chapters from file "/output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b"
optimizing /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
[2024-03-15 08:40:48,732: INFO/ForkPoolWorker-1] --------------- Done processing B0CGF784Q3 ---------------
[2024-03-15 08:40:48,733: INFO/ForkPoolWorker-1] Task importer.tasks.m4b_merge_task[f90090d4-f6b9-489c-9715-8f2777f8746a] succeeded in 194.28189472899248s: None
It seems I have no control how he sorts and merges the files.
Currently the input files have this names
001 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
002 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
003 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
004 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
....
MP3 Tags are like this
Title;Artist;Album;Track;Year;Length;Size;Last Modified
001 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;001;2017;16;317,40 KB;14/03/2024
002 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;002;2017;120;1,89 MB;14/03/2024
003 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;003;2017;245;3,80 MB;14/03/2024
004 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;004;2017;217;3,37 MB;14/03/2024
On what mechanic does the included m4b-merge sort the files and why does the chapter creation fail?
I am happy to deliver more details when you tell me what...
The text was updated successfully, but these errors were encountered:
Hi
First of all, I hove this project and really want to get it going as it fills exactly my blank spot for my audiobookshelf rework.
I have ~100 audiobooks in MP3 format and I wanted something that merges books with hundreds of MP3 files into one well tagged/named and chapterized m4b file.
So I loaded the current docker image into my docker desktop and started it.
I converted one single book and it was half successful at least it seem to have read the imput files in the right order and merged it to one m4b file, but the chapters were not added, in the output directory the m4b file is done and an empty <title>.chapters file is created.
I did not want to invest too much time into the chapter issue and converted a different book and here the trouble starts, no matter how I set the filename/title tag (I thought numerical track number should help sorting them right) it always never adds the files in order, they seem completly mixed. I found out that it almost all the time starts with the 23rd MP3 file and no matter how I change the Naming of the Imput files and Tagging of the MP3 tags it is just ignored. It writes in the debug output (which is very limited indeed)
[2024-03-15 08:37:34,451: INFO/MainProcess] Task importer.tasks.m4b_merge_task[f90090d4-f6b9-489c-9715-8f2777f8746a] received
[2024-03-15 08:37:34,463: INFO/ForkPoolWorker-1] --------------- Starting to process B0CGF784Q3: Die drei Sonnen - Die Trisolaris-Trilogie 1 ---------------
[2024-03-15 08:37:34,627: INFO/ForkPoolWorker-1] Processing Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,631: INFO/ForkPoolWorker-1] Final path format: Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,631: INFO/ForkPoolWorker-1] Complete output path: /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1
[2024-03-15 08:37:34,938: INFO/ForkPoolWorker-1] Processing multiple files in a dir...
[2024-03-15 08:37:34,954: INFO/ForkPoolWorker-1] Source bitrate: 162000
[2024-03-15 08:37:34,963: INFO/ForkPoolWorker-1] Source samplerate: 44100
found 275 files to convert
using cover /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
skip cover extraction, a custom cover has been specified: /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
preparing conversion with 20 simultaneous jobs, please wait...
0 remaining / 275 total, preparing next task |75 total |
using cover /input/done/Cixin Liu - Trisolaris-Trilogie 01 - Die drei Sonnen/cover.jpg
merging 275 files into /tmp/m4b-tool/tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b, this can take a while
running silence detection for file /tmp/m4b-tool/tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b with min length 00:00:01.750
silence detection finished
tagged file tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b (artist: Mark Bremer, name: Die drei Sonnen - Die Trisolaris-Trilogie 1, chapters: 275)
moved temporary tmp_Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b to /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
successfully merged 275 files to /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
[2024-03-15 08:40:38,601: INFO/ForkPoolWorker-1] Using existing chapter data
[2024-03-15 08:40:38,605: ERROR/ForkPoolWorker-1] Chapter file is empty, attempting to correct
Deleting QuickTime and Nero chapters from file "/output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b"
optimizing /output/Cixin Liu/Die Trisolaris-Trilogie 1/Die drei Sonnen - Die Trisolaris-Trilogie 1.m4b
[2024-03-15 08:40:48,732: INFO/ForkPoolWorker-1] --------------- Done processing B0CGF784Q3 ---------------
[2024-03-15 08:40:48,733: INFO/ForkPoolWorker-1] Task importer.tasks.m4b_merge_task[f90090d4-f6b9-489c-9715-8f2777f8746a] succeeded in 194.28189472899248s: None
It seems I have no control how he sorts and merges the files.
Currently the input files have this names
001 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
002 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
003 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
004 - Liu Cixin - Die Trisolaris-Trilogie - 1 - Die drei Sonnen.mp3
....
MP3 Tags are like this
Title;Artist;Album;Track;Year;Length;Size;Last Modified
001 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;001;2017;16;317,40 KB;14/03/2024
002 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;002;2017;120;1,89 MB;14/03/2024
003 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;003;2017;245;3,80 MB;14/03/2024
004 - Die drei Sonnen;Liu Cixin;Die drei Sonnen;004;2017;217;3,37 MB;14/03/2024
On what mechanic does the included m4b-merge sort the files and why does the chapter creation fail?
I am happy to deliver more details when you tell me what...
The text was updated successfully, but these errors were encountered: