You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Program/Program.cs

36 lines
823 B

12 years ago
using System;
using MediaBrowser.Controller;
using MediaBrowser.Model.Progress;
12 years ago
namespace MediaBrowser.Program
{
class Program
{
static void Main(string[] args)
{
LoadKernel();
}
private static void LoadKernel()
{
DateTime now = DateTime.Now;
Console.WriteLine("Loading");
Kernel kernel = new Kernel();
12 years ago
Progress<TaskProgress> progress = new Progress<TaskProgress>();
kernel.Init(progress);
12 years ago
var time = DateTime.Now - now;
Console.WriteLine("Done in " + time.TotalSeconds + " seconds");
12 years ago
Console.WriteLine("Press Enter to quit.");
Console.ReadLine();
kernel.Dispose();
12 years ago
}
}
}