-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Some value of returned JSON are malformed #53
Comments
Thanks for reporting... this is strange, because I use |
Similar case, that's why I'm commenting on this issue. Using tone-0.1.5-linux-x64, but similar behaviour was observed on windows as well. Example output:
How it should look like (more or less, console will wrap automatically):
|
@euphoria0 |
@euphoria0 |
I'm using Tone to read m4b and mp3 audiobook files and pull the metadata out.
First off, it is a truly awesome tool!!
However, I did find that most of the Description and Comments won't get past JavaScriptt's JSON.parse() .
This is because there are unescaped quotes as well as line returns. the line returns I can remove easily, but the embedded quotes are a bit more problematic.
This is the statement I'm using:
tone dump "${pathPlusFilename}" --format json --exclude-property=description --exclude-property=comment --exclude-property=embeddedPictures
I'm excluding the keys that had the most issues.
Thanks for all your work on this project!!
The text was updated successfully, but these errors were encountered: