jlesage / docker-mediainfo

Docker container for MediaInfo
MIT License
28 stars 8 forks source link

[Feature request] API for automated generation of mediainfo export #4

Open Asuanin opened 1 year ago

Asuanin commented 1 year ago

Idea

Hello, i have a small automated movie management project, it is building on node-red docker container, but i need mediainfo export to determine the duration and quality of the movie. Then i had an idea use mediainfo docker container and found yours, but cannot be used automatically.

That's why I'm coming with a request to make an API interface for getting export from the mediainfo, i imagined two options. Both options have as an inputs the path to the file (in /storage) and output format (JSON, XML, HTML...). The first option would return an export in the request response. The second option is to write the export to a file (e.g. with the extension .minfo) next to the movie.

If you decide to make this API, you'll save me a lot of hacking. And it's up to you if you choose the first or the second option, or both, I welcome either.

Thank you for reading my request.

jlesage commented 1 year ago

Are you suggesting an HTTP API ?

Asuanin commented 1 year ago

Yes, I meant the HTTP API or REST API.