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:
parent
c0d1762298
commit
24983bdd41
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user