Errors "Match: Caught exception opening file" when matching music files

Hi.

I have recently migrated to Plex (awesome piece of software) and I had a really good experience wrt Movies and TV Shows.

Then I created a music library which also matched pretty fine (I must say that, prior to this, I used lidarr to clean up things, rename files and update metadata). My folder structure respects the artist/album/tracks convention.

However, I noticed that I was missing one of my artists (252 artist folders and just 251 artists in Plex). I reviewed them one by one until I found the offending one. Once it was identified, I used grep to search the logs and found the following errors:

ERROR - Match: Caught exception opening file: Could not parse /volume1/music/Izal/Agujeros de gusano (2013)/Izal - Agujeros de gusano - 01 - Despedida.mp3 (error=-1094995529): Invalid data found when processing input

One for each of the tracks of that album. What does error=-1094995529 mean? Before looking into the logs I just checked that artist and album existed in Musicbrainz and that permissions of files were correct (they are actually 777 so no problem in there).

Finally, I wanted to check if any other error happened when matching music, so I used grep again to search for any “ERROR” string, and I also found some additional errors:

ERROR - Match: Caught exception opening file: Could not parse /volume1/music/The Beatles/Let It Be (1970)/The Beatles - Let It Be - 01 - Two of Us.mp3 (error=-22): Invalid argument

This happens for several albums of the same artist and for all the tracks in those albums. Again: what does “error=-22” mean?

Thanks for your help.

Server Version#: 1.24.2.4973 (on a Synology NAS)
Player Version#: 4.62.1 (Web)

Yep, I can read both messages but your interpretation is not straightforward, especially in the second case: invalid argument to what? A function? The parser? I do not have to know how things are implemented internally to be able to interpret those messages.

The second part of your answer is more constructive, so thanks for that.

It is weird, however, because all the files were processed prior to importing them into Plex. ID3 tags were written by lidarr, I can see them there and I can see them in other MP3 players, so I thought everything should be fine on that side.

I will give it a try to re-encoding them. I do not use Windows, so I will look for a Linux alternative.

Cheers.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.