aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/FileRefresher.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-04-01 16:20:23 +0300
committerGitHub <noreply@github.com>2019-04-01 16:20:23 +0300
commit79d9b8e693e4c53a56f610482f5f36f7a58f39f7 (patch)
tree86b7a959ae30c9330d7220535d3964c68f7bc0b0 /Emby.Server.Implementations/IO/FileRefresher.cs
parent91e3b3b49130e45e4273969e19e42614a4546997 (diff)
parentf911fda34fdc1af76dc475c5af042ff6b44262ab (diff)
Merge pull request #1168 from Bond-009/io
Improve IO code
Diffstat (limited to 'Emby.Server.Implementations/IO/FileRefresher.cs')
-rw-r--r--Emby.Server.Implementations/IO/FileRefresher.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/IO/FileRefresher.cs b/Emby.Server.Implementations/IO/FileRefresher.cs
index 73242d0ad..40e8ed5dc 100644
--- a/Emby.Server.Implementations/IO/FileRefresher.cs
+++ b/Emby.Server.Implementations/IO/FileRefresher.cs
@@ -6,10 +6,6 @@ using System.Threading;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
-using MediaBrowser.Model.Extensions;
-using MediaBrowser.Model.IO;
-using MediaBrowser.Model.System;
-using MediaBrowser.Model.Tasks;
using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.IO
@@ -61,6 +57,7 @@ namespace Emby.Server.Implementations.IO
{
AddAffectedPath(path);
}
+
RestartTimer();
}
@@ -103,6 +100,7 @@ namespace Emby.Server.Implementations.IO
AddAffectedPath(affectedFile);
}
}
+
RestartTimer();
}