diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-02-08 08:16:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-08 08:16:57 -0700 |
| commit | 5ad7e4b7490a5f8756e89fd3dac5077a9acc7cbe (patch) | |
| tree | 44528d68013ce00395dfe866f0edc0abab2953d7 /Emby.Server.Implementations/IO/LibraryMonitorStartup.cs | |
| parent | e50170a417db57245a89238e51b535055b8b0d22 (diff) | |
| parent | 19a72e8bf2b1a68fddb992357577683027408e90 (diff) | |
Merge pull request #10976 from barronpm/ihostedservice
Replace IServerEntryPoint with IHostedService
Diffstat (limited to 'Emby.Server.Implementations/IO/LibraryMonitorStartup.cs')
| -rw-r--r-- | Emby.Server.Implementations/IO/LibraryMonitorStartup.cs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Emby.Server.Implementations/IO/LibraryMonitorStartup.cs b/Emby.Server.Implementations/IO/LibraryMonitorStartup.cs deleted file mode 100644 index c51cf0545..000000000 --- a/Emby.Server.Implementations/IO/LibraryMonitorStartup.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Threading.Tasks; -using MediaBrowser.Controller.Library; -using MediaBrowser.Controller.Plugins; - -namespace Emby.Server.Implementations.IO -{ - /// <summary> - /// <see cref="IServerEntryPoint" /> which is responsible for starting the library monitor. - /// </summary> - public sealed class LibraryMonitorStartup : IServerEntryPoint - { - private readonly ILibraryMonitor _monitor; - - /// <summary> - /// Initializes a new instance of the <see cref="LibraryMonitorStartup"/> class. - /// </summary> - /// <param name="monitor">The library monitor.</param> - public LibraryMonitorStartup(ILibraryMonitor monitor) - { - _monitor = monitor; - } - - /// <inheritdoc /> - public Task RunAsync() - { - _monitor.Start(); - return Task.CompletedTask; - } - - /// <inheritdoc /> - public void Dispose() - { - } - } -} |
