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

output="" for MediaInfo.parse is equivalent to -f #123

Closed
evilsh3ll opened this issue Aug 27, 2022 · 4 comments
Closed

output="" for MediaInfo.parse is equivalent to -f #123

evilsh3ll opened this issue Aug 27, 2022 · 4 comments

Comments

@evilsh3ll
Copy link

Hello, I'd like to print the vanilla mediainfo output.
Using MediaInfo.parse(<file>, output="") it returns the mediainfo -f <file> output string.
Is there a way to print the vanilla mediainfo <file> output?

@sbraz
Copy link
Owner

sbraz commented Aug 27, 2022

Hi,
As mentioned in https://pymediainfo.readthedocs.io/en/stable/pymediainfo.html#pymediainfo.MediaInfo.parse, you can use full=False for this.

@evilsh3ll
Copy link
Author

ok, it wasn't very clear what was "additional tags", thank you.

@sbraz
Copy link
Owner

sbraz commented Aug 28, 2022

I think I used the help from the mediainfo CLI to write this:

--Full, -f                                  
                    Full information Display (all internal tags)

But I'll also mention in the doc that this is equivalent to the CLI's -f/--full.

@sbraz
Copy link
Owner

sbraz commented Nov 25, 2022

@evilsh3ll I've pushed an update to the doc in 5731861:
image

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