mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
compatibility constructor for sysinfo.groovy script
This commit is contained in:
parent
2bcb574f28
commit
226559683b
@ -25,6 +25,11 @@ public class MetaAttributes {
|
||||
|
||||
private final Map<String, String> jsonTypeMap;
|
||||
|
||||
// compatibility constructor for sysinfo.groovy script
|
||||
public MetaAttributes(File file) throws IOException {
|
||||
this(file, emptyMap());
|
||||
}
|
||||
|
||||
public MetaAttributes(File file, Map<String, String> jsonTypeMap) throws IOException {
|
||||
this.metaAttributeView = new MetaAttributeView(file);
|
||||
this.fileAttributeView = Files.getFileAttributeView(file.toPath(), BasicFileAttributeView.class);
|
||||
|
Loading…
Reference in New Issue
Block a user