CropAssetCopyTool

This commit is contained in:
gexce
2017-08-17 13:29:13 +02:00
parent 907ccf3643
commit 758eee4a2b
@@ -85,7 +85,7 @@ public class CropAssetCopyTool {
List fileList = zipFile.getFileHeaders();
if (fileList.size() == 1) {
log.info("Extracting " + videoFile.getAbsolutePath());
log.debug("Extracting " + videoFile.getAbsolutePath());
if (!dryRun) {
zipFile.extractAll(videoTargetPath);
@@ -113,13 +113,13 @@ public class CropAssetCopyTool {
video++;
} catch (ZipException e) {
zipCorrupt++;
log.error("Skipping AssetID " + assetId + " - could not open ZIP file " + videoFile.getAbsolutePath());
}
}
else {
wrongSize++;
log.warn("Wrong file size for " + assetId + ": " + expectedSize + " != " + fileLength + " (" + targetName + ")");
zipCorrupt++;
log.warn("Wrong file size for " + assetId + ": expected " + expectedSize + ", found " + fileLength + " (" + targetName + ")");
}
}
else {