Failed to read audiofile
Hi,
I'm trying Beatunes.
The Library is folder based.
There's around 6000 tracks, only 4000 are showing up in beatunes.
This is what I found a lot in the logs :
2020-07-25 13:34:00,239 [205335] [ERROR][HibernateFileSystemLibraryLoader] com.tagtraum.audiokern.AudioMetaData: Failed to create AudioMetaData object: com.tagtraum.audiokern.AudioMetaDataException: Failed to read audiofile /xxx.m4a
I looked at the files permissions and stuff, I tried but couldn't find how to fix it.
When I switch the library to itunes based, the 6000 files are showing up.
The same files with the error message can be played and analyzed.
Any idea ?
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jeanjan on 25 Jul, 2020 11:59 AM
I'm using beatunes 5.2.10, itunes 12.9.5.5 on MacOS X 10.14.6
Support Staff 2 Posted by hendrik on 25 Jul, 2020 02:17 PM
Can you send the whole log file as an attachment, please?
3 Posted by Jeanjan on 27 Jul, 2020 05:42 AM
Hi,
here it is.
Support Staff 4 Posted by hendrik on 27 Jul, 2020 07:03 AM
Hey there,
thanks for the logs.
When using beaTunes for a folder-based library, all metadata (like id3 tags) is read using the library jaudiotagger. Apparently it believes your
.m4a
files are malformed and therefore cannot read them.When using beaTunes together with iTunes or Music.app, metadata is (in many cases) not read by beaTunes itself, but by iTunes/Music.app, which does not seem to have a problem with your files.
Since jaudiotagger usually does not have an issue with
.m4a
files, there is at least something unusual about yours. To get to the bottom of this, I'd have to actually have one of these files for testing. Can you send one please?That all said, files don't get into this state on there own. Is there anything you did with them that could explain this? I.e. used some tagging software or so?
Thank you,
-hendrik
5 Posted by Jeanjan on 27 Jul, 2020 07:37 AM
Here's a file
I use DJ software like traktor, rekordbox, serato, virtualdj...
also Itunes, mp3tag...
And now beatunes.
I'm organizing my collection so yes i tried and still trying software.
Support Staff 6 Posted by hendrik on 27 Jul, 2020 05:09 PM
Hey,
thanks for the file. It indeed appears to be malformed. I have checked with AtomicParsely. It reports
which basically means that the file ended prematurely. This kind of error may be ignored by some software packages and leads to errors with others.
-hendrik
7 Posted by Jeanjan on 27 Jul, 2020 07:15 PM
Thanks for the quick answer.
Do you know any way to fix this?
Thanks again.
Support Staff 8 Posted by hendrik on 28 Jul, 2020 07:20 AM
Hi,
I have implemented a workaround for this for Jaudiotagger (here). But it will take a while (at least a week or two, but that is no promise!) until it finds its way into beaTunes.
If you're Python-savy, you might want to run
mp4file --optimize
(see mp4file) on your.m4a
files. The file you sent to me was fixed by this (the extra byte at the end was removed).Hope this helps,
-hendrik
9 Posted by Jeanjan on 28 Jul, 2020 02:55 PM
I converted them in flac and they were instantly added to the Beatunes library.
Thanks
Support Staff 10 Posted by hendrik on 28 Jul, 2020 04:02 PM
That's another way of solving the issue! :-)
hendrik closed this discussion on 28 Jul, 2020 04:02 PM.