fix bluray detection
This commit is contained in:
parent
9accc3b025
commit
e9a3690079
|
@ -299,8 +299,16 @@ namespace Emby.Server.Implementations.Library.Resolvers
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return directoryService.GetFiles(fullPath).Any(i => string.Equals(i.Extension, ".m2ts", StringComparison.OrdinalIgnoreCase) ||
|
return true;
|
||||||
string.Equals(i.Extension, ".mts", StringComparison.OrdinalIgnoreCase));
|
//var blurayExtensions = new[]
|
||||||
|
//{
|
||||||
|
// ".mts",
|
||||||
|
// ".m2ts",
|
||||||
|
// ".bdmv",
|
||||||
|
// ".mpls"
|
||||||
|
//};
|
||||||
|
|
||||||
|
//return directoryService.GetFiles(fullPath).Any(i => blurayExtensions.Contains(i.Extension ?? string.Empty, StringComparer.OrdinalIgnoreCase));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user