seanap / auto-m4b

Docker container that watches a folder for multi-file mp3 books and converts them to a chapterized m4b.
275 stars 35 forks source link

An error occured - Type 8192 #37

Open zeonos opened 1 year ago

zeonos commented 1 year ago

Just set this up on docker for windows and i am starting to convert my library, but for some files i get an error.

The m4b file will only have audio for the first and maybe last chapter but everything else is silence.

2023-06-11 02:46:07 No folders detected, next run 1m min...
2023-06-11 02:47:07 Making a backup of the whole /temp/recentlyadded/
2023-06-11 02:47:07 Making sure all books are in their own folder
2023-06-11 02:47:07 Moving folders with 2 or more audiofiles to /temp/merge/ 
2023-06-11 02:47:07 renamed '/temp/recentlyadded/Alex Cross 06 - Roses Are Red [James Patterson.2000]' -> '/temp/merge/Alex Cross 06 - Roses Are Red [James Patterson.2000]'
2023-06-11 02:47:07 Nested subfolders are BAD moving to /temp/fix
2023-06-11 02:47:07 Moving single file mp3's to /temp/merge/ 
2023-06-11 02:47:07 Moving all the single m4b books to /temp/untagged/ 
2023-06-11 02:47:07 Alex Cross 06 - Roses Are Red [James Patterson.2000]/
2023-06-11 02:47:07 Folder Detected
2023-06-11 02:47:07 Sampling Alex Cross 06 - Roses Are Red [James Patterson.2000]/Roses Are Red_Part 01.mp3
2023-06-11 02:47:07 Bitrate = 192299
2023-06-11 02:47:07 The folder Alex Cross 06 - Roses Are Red [James Patterson.2000] will be merged to /temp/untagged/Alex Cross 06 - Roses Are Red [James Patterson.2000]/Alex Cross 06 - Roses Are Red [James Patterson.2000].m4b
2023-06-11 02:47:07 Starting Conversion
2023-06-11 02:52:01 an error occured, that has not been caught:
2023-06-11 02:52:01 Array
2023-06-11 02:52:01 (
2023-06-11 02:52:01     [type] => 8192
2023-06-11 02:52:01     [message] => Return type of Symfony\Component\Process\Process::getIterator($flags = 0) should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
2023-06-11 02:52:01     [file] => phar:///usr/local/bin/m4b-tool/vendor/symfony/process/Process.php
2023-06-11 02:52:01     [line] => 609
2023-06-11 02:52:01 )
2023-06-11 02:52:01 Finished Converting
2023-06-11 02:52:01 Putting the m4b into a folder
2023-06-11 02:52:01 Deleting duplicate mp3 audiobook folder
2023-06-11 02:52:01 Making a backup of the whole /temp/recentlyadded/
2023-06-11 02:52:01 Making sure all books are in their own folder
2023-06-11 02:52:01 Moving folders with 2 or more audiofiles to /temp/merge/ 
2023-06-11 02:52:01 Nested subfolders are BAD moving to /temp/fix
2023-06-11 02:52:01 Moving single file mp3's to /temp/merge/

The audiobook in question: https://i.imgur.com/H72MH81.png

The output from auto-m4b: https://i.imgur.com/RS0PVRC.png

JohnLucaJF commented 1 year ago

Getting this as well, did you find a fix ?

zeonos commented 1 year ago

sadly not.

i bought a tool on steam to convert them instead but it requires more manuel work.

fre. 21. jul. 2023 kl. 09.13 skrev JohnLucaJF @.***>:

Getting this as well, did you find a fix ?

— Reply to this email directly, view it on GitHub https://github.com/seanap/auto-m4b/issues/37#issuecomment-1645090370, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU4A4FA6EYFXVBBNPYI3GDXRIT2LANCNFSM6AAAAAAZB743XA . You are receiving this because you authored the thread.Message ID: @.***>

--

Med venlig hilsen Kasper Alsøe t: 22 50 55 78 a: Toggangen 46, 2730 Herlev

JohnLucaJF commented 1 year ago

Ok, so I recreated the docker , restored from old backup, made no difference, but on checking the m4b that had errored, it still seem complete, tested 3 and even though they all had the 8192 error, they still all seem to be correct. So it may be working fine, just showing up this error for some reason

cloudbyday90 commented 1 year ago

I get the same error message. I am currently running on Docker. The conversion seems to be successful though.

an error occured, that has not been caught: Array ( [type] => 8192 [message] => Return type of M4bTool\Audio\Tag::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [file] => phar:///usr/local/bin/m4b-tool/src/library/M4bTool/Audio/Tag.php [line] => 158 ) Finished Converting Putting the m4b into a folder

tehniemer commented 1 year ago

Same error here

The Graveyard Book/
Folder Detected
Sampling The Graveyard Book/The Graveyard Book-Part02.mp3
Bitrate = 64174
The folder The Graveyard Book will be merged to /temp/untagged/The Graveyard Book/The Graveyard Book.m4b
Starting Conversion
an error occured, that has not been caught:
Array
(
    [type] => 8192
    [message] => Return type of M4bTool\Audio\Tag::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
    [file] => phar:///usr/local/bin/m4b-tool/src/library/M4bTool/Audio/Tag.php
    [line] => 158
)
Finished Converting
Putting the m4b into a folder
Deleting duplicate mp3 audiobook folder
Making a backup of the whole /temp/recentlyadded/
Making sure all books are in their own folder
Moving folders with 2 or more audiofiles to /temp/merge/ 
Nested subfolders are BAD moving to /temp/fix
Moving single file mp3's to /temp/merge/ 
Moving all the single m4b books to /temp/untagged/ 
SpencerMKSmith commented 1 year ago

I'm getting the same error.

grostim commented 9 months ago

Same here too.