I'm workingon a patch to add full support to Matroska (MKV -https://it.wikipedia.org/wiki/Matroska)
My baseidea was to add Mediainfo library (https://mediaarea.net) to parse the files,so i want to add some code in the function CKnownFile::UpdateMetaDataTags() that is called when the file downloadis completed.
Now, Mediainfo library is handled form CMediaInfoDLL class that is located in FileInfoDialog.cpp and ituseful only to show the file info in the Dialog.
I spokewith tHeWiZaRdOfDoS about this idea and we see different strategies to makethis job.
- add the libdirectly to emule source as id3lib (this is my first choice)
- dynamiclink at run time, so we can easily update the component with new versionswithout update the source code. In this second case, we need to define if wewant an auto upgrade function (download the last version of the file). The fileMediainfo.dll must be in bundle with the application
- useMediainfo CLI and parse the xml to get the info (similar to the previous) butwithout dll handling.
what do youthink about?