mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Added IProgress to Kernel.Init
This commit is contained in:
parent
5d88dc8575
commit
882e20e9a5
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Common.Progress;
|
||||
|
||||
namespace MediaBrowser.Program
|
||||
{
|
||||
@@ -18,7 +19,9 @@ namespace MediaBrowser.Program
|
||||
|
||||
Kernel kernel = new Kernel();
|
||||
|
||||
kernel.Init();
|
||||
Progress<TaskProgress> progress = new Progress<TaskProgress>();
|
||||
|
||||
kernel.Init(progress);
|
||||
|
||||
var time = DateTime.Now - now;
|
||||
Console.WriteLine("Done in " + time.TotalSeconds + " seconds");
|
||||
|
||||
Reference in New Issue
Block a user