-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an error occured, that has not been caught #200
Comments
Hey there. Thanks for reporting. Would you mind trying out the latest pre-release? As stated in the Important note of the documentation, |
Is it possible to install a pre-release version using homebrew? I get the same error. Thanks. |
Install See https://github.com/sandreas/m4b-tool/releases/tag/latest for instructions. I'll close this issue due to no further feedback. Feel free to reopen, if something is unclear or does not work. |
Totally the pre-release does its job. Also, the cover and description are properly located. It is indeed a big step forward. Running the pre-release, even though completes successfully, prints out a lot of deprecation warnings and an error-like message (all in red):
Not sure if this is relevant. Feel free to ignore if it is WAI. |
@sigito Definitely relevant. Seems that the tags are not written to the file - and the filename is missing a |
I just ran Indeed, the final file did not have any chapters in it nor any metadata (based on the fact that Plex picked it up as [Unknown artist]). |
Ok, thank you. I think this is something that already has been reported somewhere. I'll take a look in the next days. |
So, just go be sure: You are really running the command with
without a file extension? Or did you mean |
Lol yeah 😃 Initially I ran it like that and just renamed the final file. The project's documentation suggests to run such a command. |
Oh wow, actually giving it an output filename with an extension produces a valid result. The book name is still incorrect, the initial file's state is preserved. |
So here we have at least 2 issues with
The problem is, that I did not find any place in the documentation without extension besides the auto generated help text of the command line:
Did you mean this? If not, could you please show me, where did you get this information from? I did not exactly understand your last comment:
Is there hiding another issue in this text :-)? The book name is taken from the source files input tags, if you would like to change these you can use
What do you mean by that? Is there still no tags in the file? |
for me, using the pre-release version fixes the problem. so this can be closed |
@weswitt |
I think the issue is that I did not read the docs line by line, so missed a warning that for
I think it is again my bad. I assumed that we have the specific subdir structure under
What I meant is what according to you is expected: "The book name is taken from the source files input tags". So no issue here either. Thanks! I'd be more patient with reading the docs next time :) |
Moved to Issue roadmap summary (#231) |
using m4b-tool v.0.4.2
the tool runs for a while and then crashes with this:
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://D:/tools/m4b-tool/m4b-tool.phar/src/library/M4bTool/Audio/Tag.php
[line] => 158
)
The text was updated successfully, but these errors were encountered: