mirror of
https://github.com/IAmParadox27/jellyfin-plugin-media-bar.git
synced 2026-11-08 08:22:26 +01:00
Added 5 second delay to the startup script for all plugins to ensure that file transformation would be ready to receive requests when it starts.
This commit is contained in:
1 parent
2f3b9d4f32
commit
a5cfdfebd9
1 file changed
+4
-1
@@ -1,4 +1,5 @@
|
||||
using System.Net.Http.Headers;
|
||||
using System.Net;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Reflection;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Controller;
|
||||
@@ -31,6 +32,8 @@ namespace Jellyfin.Plugin.MediaBar.Services
|
||||
public async Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken)
|
||||
{
|
||||
m_logger.LogInformation($"MediaBar Startup. Registering file transformations.");
|
||||
m_logger.LogInformation("Delaying 5 seconds to ensure file transformation is ready to receive requests.");
|
||||
await Task.Delay(TimeSpan.FromSeconds(5), cancellationToken);
|
||||
|
||||
List<JObject> payloads = new List<JObject>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user