Skip to content
Snippets Groups Projects
Commit ba5148a0 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- workaround, fixes...

- workaround, fixes #1
parent 29d05bda
No related branches found
No related tags found
No related merge requests found
...@@ -336,6 +336,15 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements MDExtract ...@@ -336,6 +336,15 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements MDExtract
if (attributes.containsKey(attribute)) { if (attributes.containsKey(attribute)) {
return attributes.get(attribute); return attributes.get(attribute);
} }
/* workaround for no-match, because
Rosetta expects NUMBER value if key ends with "Count", example:
mediainfo.track.General.MenuCount
mediainfo.track.General.MenuCount
mediainfo.track.General.TextCount
*/
if (attribute.endsWith("Count")) {
return "0";
}
return "not found"; return "not found";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment