Skip to content

Conversation

@trallen
Copy link

@trallen trallen commented May 12, 2025

…even if only one file is requested.

This allows for consistent handling of JSON output in cases of arbitrary numbers of input files.

Fixes MediaArea/MediaInfo#1103

…le is requested.

This allows for consistent handling of JSON output in cases of arbitrary numbers of input files.

Fixes MediaArea/MediaInfo#1103
@JeromeMartinez
Copy link
Member

I am hesitating about this proposal because it is possible that a lot of people use the JSON file per analyzed file and it will break things for them.
I check a bit later what could be done (option for forcing this feature?).

@trallen
Copy link
Author

trallen commented May 13, 2025

Thanks @JeromeMartinez. I understand; please let me know what changes you determine are needed!

@alex3kov
Copy link

…even if only one file is requested.

This allows for consistent handling of JSON output in cases of arbitrary numbers of input files.

Fixes MediaArea/MediaInfo#1103

Tested - works as suggested in issue.

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

Successfully merging this pull request may close these issues.

[CLI][JSON] Make JSON structure uniform for 1 and 2+ input files

3 participants