mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
Improved structure root detection
This commit is contained in:
parent
8ae4bed832
commit
3fd7d34647
@ -78,6 +78,9 @@ class ExpressionFormatter implements MatchFormatter {
|
||||
File structureRoot = getStructureRoot(source);
|
||||
if (structureRoot != null) {
|
||||
for (File f : listPath(parent)) {
|
||||
if (isVolumeRoot(structureRoot)) {
|
||||
break;
|
||||
}
|
||||
if (isStructureRoot(f)) {
|
||||
structureRoot = structureRoot.getParentFile();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user