Answer the question
In order to leave comments, you need to log in
How to use a script to take all possible metadata about 1000 video files in windows?
in general, you need to use a script to take all possible metadata about 1000 video files and put this information in a file of the same name. I wanted to use Mediainfo, but I can't find how to use it through the console on Windows
Answer the question
In order to leave comments, you need to log in
You can use the tika-app utility from Apache Tika
in the .bat script
java -jar tika-app.jar [option...] [file|port...]
for (i = 0; i < SIZE; ++i){ if (!anim[i].animal) break; if (i == SIZE){ cout << "Its full"; return; } } anim[i].input();
Use indentation to highlight blocks, nothing is clear!
void add_animal(){
int i;
for (i = 0; i < SIZE; ++i){
if (!anim[i].animal) break; //WAT??? Для массивов char это не сработает как
//проверка на пустоту строки, тем более неинициализированные массивы забиты мусором.
//Удобнее использовать std::string и проверять (!animal.empty())
if (i == SIZE){ cout << "Its full"; return; } //никогда не выполнится по условию цикла
}
anim[i].input(); //Это вы хотели сделать в цикле, с отступами бы вы это заметили!
return;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question