mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
update file system methods
This commit is contained in:
@@ -111,8 +111,8 @@ namespace MediaBrowser.Server.Implementations.Devices
|
||||
|
||||
try
|
||||
{
|
||||
return Directory
|
||||
.EnumerateFiles(path, "*", SearchOption.AllDirectories)
|
||||
return _fileSystem
|
||||
.GetFilePaths(path, true)
|
||||
.Where(i => string.Equals(Path.GetFileName(i), "device.json", StringComparison.OrdinalIgnoreCase))
|
||||
.ToList()
|
||||
.Select(i =>
|
||||
|
||||
Reference in New Issue
Block a user