MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
633 stars 173 forks source link

How do I change the Inform() return format to json? #2101

Open Qriist opened 3 months ago

Qriist commented 3 months ago

Hi, I'm working on a wrapper for MediaInfo.dll in AHKv2. I have the basic Inform functionality working but I can't figure out how to call Inform_Set like the docs say: image The above is the only place that function name appears in the documents, save one reference in the VB6 examples. Since everytime I try to call Inform_Set I get a "function not found" error, I am assuming the function has changed at some point in the last 20 years. XD

Anyways, any tips toward resolving this would be very appreciated. Thank you!

Qriist commented 3 months ago

I figured it out! :D

Seems Inform_Set's functionality got rolled into Option?

At any rate, that solves my immediate issue, but would you please point me at the correct place in the code (or updated documentation🤞) to look at the current list of options? I did a quick search of the repository, but there's over 200 results for option and I'm not quite sure what I'm looking for. Thanks!

cjee21 commented 1 month ago

You can try looking at the source code for MediaInfo's GUI here: https://github.com/MediaArea/MediaInfo/blob/master/Source/GUI/VCL/GUI_Main.cpp Look for all the I->s inside the void __fastcall TMainF::Refresh(TTabSheet *Page) function and it may help you. I is a MediaInfoList there.