CropAssetCopyTool
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user