1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 06:15:02 -05:00

* store the most original filename as xattr instead of the latest

This commit is contained in:
Reinhard Pointner 2012-11-12 13:38:25 +00:00
parent c0d1762298
commit 24983bdd41

View File

@ -807,7 +807,9 @@ public class MediaDetection {
if (model instanceof Episode || model instanceof Movie) {
xattr.setMetaData(model);
}
if (xattr.getOriginalName() == null) {
xattr.setOriginalName(file.getName());
}
} catch (Exception e) {
Logger.getLogger(MediaDetection.class.getClass().getName()).warning("Failed to set xattr: " + e.getMessage());
}