mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
f18575e4b1
1 changed files with 13 additions and 0 deletions
|
@ -225,6 +225,8 @@ namespace MediaBrowser.Common.Implementations
|
||||||
Resolve<ITaskManager>().AddTasks(GetExports<IScheduledTask>(false));
|
Resolve<ITaskManager>().AddTasks(GetExports<IScheduledTask>(false));
|
||||||
|
|
||||||
Task.Run(() => ConfigureAutoRunAtStartup());
|
Task.Run(() => ConfigureAutoRunAtStartup());
|
||||||
|
|
||||||
|
ConfigurationManager.ConfigurationUpdated += ConfigurationManager_ConfigurationUpdated;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -477,6 +479,17 @@ namespace MediaBrowser.Common.Implementations
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected abstract string ProductShortcutPath { get; }
|
protected abstract string ProductShortcutPath { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handles the ConfigurationUpdated event of the ConfigurationManager control.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender">The source of the event.</param>
|
||||||
|
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
|
||||||
|
/// <exception cref="System.NotImplementedException"></exception>
|
||||||
|
void ConfigurationManager_ConfigurationUpdated(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ConfigureAutoRunAtStartup();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Configures the auto run at startup.
|
/// Configures the auto run at startup.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue