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

Batch mode #2

Open
noirotm opened this issue Jul 21, 2012 · 0 comments
Open

Batch mode #2

noirotm opened this issue Jul 21, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@noirotm
Copy link
Owner

noirotm commented Jul 21, 2012

FLVmeta currently lacks the possibility to work on several files when it is invoked.

Here I propose the creation of a so-called "batch mode" in which flvmeta will work on a list of files instead of a single file.

Triggering batch mode on will be done by two different ways:

  1. sending a list of lines via stdin, each line containing one file path, file names specified on the command line will be ignored
  2. using the -b/--batch option, where all files specified on the command line will be interpreted as input files

Obviously, this operation mode will only work where it makes sense to use it, in the check and update commands.

check command

It will alter its behaviour so filenames will be displayed in the text mode reporting, and create XML reports with several file entries. The number of errors/warnings will be global to the list of files.

update command

Every file specified will be updated in place, and the operation will continue until the last file is updated, even in the case of errors.
Errors will be displayed as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant