I see a problem with the audio table. it imports two different types of information. It imports from IMDB (for example) the audio Sound Mix in which the film was filmed (for example the film Looper (2012) Sound Mix: Dolby Digital | Datasat | SDDS) and in the same time the audio streams from the actual files. after reading the file it looks like there are two different streams on the file, when there aren't.
Another thing: if you read two files of the same movie (cd1,cd2) xmm fills the audio of both files into 2 separated rows in the table, as if this is one file with 2 streams.
I understand the 2 audio streams from each file, but why adding in the same table the Audio Mix information from IMDB? those are two different information types which shouldn't be in the same table.