jellyfin/MediaBrowser.Program/Program.cs

31 lines
667 B
C#
Raw Normal View History

2012-07-12 06:55:27 +00:00
using System;
using MediaBrowser.Controller;
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();
2012-07-12 06:55:27 +00:00
kernel.Init();
var time = DateTime.Now - now;
Console.WriteLine("Done in " + time.TotalSeconds + " seconds");
2012-07-12 06:55:27 +00:00
Console.WriteLine("Press Enter to quit.");
Console.ReadLine();
}
}
}