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

Parsing elements with dashes fails using mediainfo v22.09 #59

Open
juseveno opened this issue Dec 7, 2022 · 0 comments
Open

Parsing elements with dashes fails using mediainfo v22.09 #59

juseveno opened this issue Dec 7, 2022 · 0 comments

Comments

@juseveno
Copy link

juseveno commented Dec 7, 2022

with MediaInfoLib - v21.09, the command to generate output as XML seems to remove dashes from elements' names :

mediainfo <file> --Output=XML

<extra>
<WAVELISTYEAR>2020</WAVELISTYEAR>
</extra>

with MediaInfoLib - v22.09, the command returns elements' names with dashes :

mediainfo <file> --Output=XML

<extra>
<WAVELIST-YEAR>2020</WAVELIST-YEAR>
</extra>

This is causing issue with MediaInfo.from(<filepath>) :

NameError (`@wavelist-year' is not allowed as an instance variable name)
@juseveno juseveno changed the title Parsing elements Parsing elements with dashes fails using mediainfo v22.09 Dec 7, 2022
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

1 participant