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

Feature Request: Structured/Machine Parseable Output #191

Open
Walt280 opened this issue May 14, 2024 · 0 comments
Open

Feature Request: Structured/Machine Parseable Output #191

Walt280 opened this issue May 14, 2024 · 0 comments

Comments

@Walt280
Copy link

Walt280 commented May 14, 2024

The basic idea would be to have a command-line flag that can be set in order to allow ytarchive to output progress/information that would be easier to parse in scripting/programming then the current logging output. It should be possible to leverage the slog package for this, with the added benefit of being able to select between key-value or json output.

So for example:
Video Fragments: 1111; Audio Fragments: 1111
would become something like:
video_fragments=1111 audio_fragments=1111 or {"video_fragments": 1111, "audio_fragments": 1111}

If there is interest for this, I can try and implement this. If this is already possible with the current codebase, I would appreciate any pointers.

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