Started to impliment the Plex checker. This will check plex every x minutes to see if there is any new content and then update the avalibility of the requests

This commit is contained in:
Jamie Rees 2016-03-06 01:25:54 +00:00
commit 3b0b0c521e
19 changed files with 329 additions and 160 deletions

View file

@ -0,0 +1,17 @@
using FluentScheduler;
using Nancy.TinyIoc;
namespace PlexRequests.UI.Jobs
{
public class TaskFactory : ITaskFactory
{
public ITask GetTaskInstance<T>() where T : ITask
{
var container = TinyIoCContainer.Current;
object outT;
container.TryResolve(typeof(T), out outT);
return (T)outT;
}
}
}