mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 10:34:43 +01:00
update socket methods
This commit is contained in:
@@ -421,17 +421,6 @@ namespace Emby.Server.Core.IO
|
||||
|
||||
var path = e.FullPath;
|
||||
|
||||
// For deletes, use the parent path
|
||||
if (e.ChangeType == WatcherChangeTypes.Deleted)
|
||||
{
|
||||
var parentPath = Path.GetDirectoryName(path);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(parentPath))
|
||||
{
|
||||
path = parentPath;
|
||||
}
|
||||
}
|
||||
|
||||
ReportFileSystemChanged(path);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user