Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Qriist opened this issue Aug 4, 2024 · 3 comments
Open

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

Qriist opened this issue Aug 4, 2024 · 3 comments

Comments

@Qriist
Copy link

Qriist commented Aug 4, 2024

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
Copy link
Author

Qriist commented Aug 4, 2024

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
Copy link
Contributor

cjee21 commented Sep 29, 2024

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.

@cjee21
Copy link
Contributor

cjee21 commented Nov 15, 2024

There is a file with almost all available options: https://github.com/MediaArea/MediaInfo/blob/master/Source/Common/Core.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants