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

Writing metadata #6

Open
jvoisin opened this issue Feb 3, 2014 · 1 comment
Open

Writing metadata #6

jvoisin opened this issue Feb 3, 2014 · 1 comment

Comments

@jvoisin
Copy link

jvoisin commented Feb 3, 2014

It would be nice to be able to write metadata to files, and not only reading them.

@Diaoul
Copy link
Owner

Diaoul commented Feb 3, 2014

With #5 implemented we can add setters for the properties so the element is edited easily with the high level API.
As for writing back the elements to the file, this will require some work with the ebml parser: https://github.com/Diaoul/enzyme/blob/master/enzyme/parsers/ebml/core.py
I think a dump method in Element that is recursivly called is the way to go. Also need to implement WRITERS as we already have READERS.

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