2016-06-04, 17:13
I just wrote a quick and dirty Perl script that does:
* Mount my ISO files with vcdmount (VirtualCloneDrive)
* Call mediainfos CLI on this mounted virtual drive and put a file called mediainfo.xml into the individual movie folders
* Unmout
It did use the following commands to do so for every movie:
* vcdmount.exe /D:0 full_path_and_filename_of_ISO
* pause 5sec
* mediainfo.exe F:\ -f --Output=XML > full_path_of_ISO\mediainfo.xml
* vcdmount.exe /D:0 /u
* pause 5sec
Now I do have mediainfo.xml files for all my movies. Now comes the next part. I want to write the required video/audio/text values into the TMM database or the matching movie.nfo - I guess TMMs database is locked for me.
Mediainfo writes a lot of info with the same tags. Video/Codec twice, Video/Duration seven appearances, etc. Does TMM/Kodi use the first one only?
Do you have, by any chance, a mapping from mediainfo to TMM values?
Many, many, many thanks in advance ;-)
* Mount my ISO files with vcdmount (VirtualCloneDrive)
* Call mediainfos CLI on this mounted virtual drive and put a file called mediainfo.xml into the individual movie folders
* Unmout
It did use the following commands to do so for every movie:
* vcdmount.exe /D:0 full_path_and_filename_of_ISO
* pause 5sec
* mediainfo.exe F:\ -f --Output=XML > full_path_of_ISO\mediainfo.xml
* vcdmount.exe /D:0 /u
* pause 5sec
Now I do have mediainfo.xml files for all my movies. Now comes the next part. I want to write the required video/audio/text values into the TMM database or the matching movie.nfo - I guess TMMs database is locked for me.
Mediainfo writes a lot of info with the same tags. Video/Codec twice, Video/Duration seven appearances, etc. Does TMM/Kodi use the first one only?
Do you have, by any chance, a mapping from mediainfo to TMM values?
Many, many, many thanks in advance ;-)