From ecc6d41f985af1377053ea4faacdc96c25341e30 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 23 Oct 2016 16:46:48 -0400 Subject: [PATCH] target 4.6 --- Trakt/ScheduledTasks/SyncFromTraktTask.cs | 14 ++++++++++---- Trakt/ScheduledTasks/SyncLibraryTask.cs | 14 ++++++++++---- Trakt/Trakt.csproj | 19 ++++++++----------- Trakt/packages.config | 5 ++--- 4 files changed, 30 insertions(+), 22 deletions(-) diff --git a/Trakt/ScheduledTasks/SyncFromTraktTask.cs b/Trakt/ScheduledTasks/SyncFromTraktTask.cs index b2e9be0..ca2ab28 100644 --- a/Trakt/ScheduledTasks/SyncFromTraktTask.cs +++ b/Trakt/ScheduledTasks/SyncFromTraktTask.cs @@ -1,4 +1,6 @@ -namespace Trakt.ScheduledTasks +using MediaBrowser.Model.Tasks; + +namespace Trakt.ScheduledTasks { using System; using System.Collections.Generic; @@ -10,7 +12,6 @@ using CommonIO; using MediaBrowser.Common.Net; - using MediaBrowser.Common.ScheduledTasks; using MediaBrowser.Controller; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; @@ -373,13 +374,18 @@ + public string Key + { + get { return "TraktSyncFromTraktTask"; } + } + /// /// /// /// - public IEnumerable GetDefaultTriggers() + public IEnumerable GetDefaultTriggers() { - return new List(); + return new List(); } /// diff --git a/Trakt/ScheduledTasks/SyncLibraryTask.cs b/Trakt/ScheduledTasks/SyncLibraryTask.cs index 1c7912d..7d596e3 100644 --- a/Trakt/ScheduledTasks/SyncLibraryTask.cs +++ b/Trakt/ScheduledTasks/SyncLibraryTask.cs @@ -1,4 +1,6 @@ -namespace Trakt.ScheduledTasks +using MediaBrowser.Model.Tasks; + +namespace Trakt.ScheduledTasks { using System; using System.Collections.Generic; @@ -9,7 +11,6 @@ using CommonIO; using MediaBrowser.Common.Net; - using MediaBrowser.Common.ScheduledTasks; using MediaBrowser.Controller; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; @@ -48,9 +49,14 @@ _traktApi = new TraktApi(jsonSerializer, _logger, httpClient, appHost, userDataManager, fileSystem); } - public IEnumerable GetDefaultTriggers() + public IEnumerable GetDefaultTriggers() { - return new List(); + return new List(); + } + + public string Key + { + get { return "TraktSyncLibraryTask"; } } public async Task Execute(CancellationToken cancellationToken, IProgress progress) diff --git a/Trakt/Trakt.csproj b/Trakt/Trakt.csproj index a125207..39abfe9 100644 --- a/Trakt/Trakt.csproj +++ b/Trakt/Trakt.csproj @@ -9,10 +9,11 @@ Properties Trakt Trakt - v4.5 + v4.6 512 ..\ true + true @@ -36,20 +37,16 @@ ..\packages\CommonIO.1.0.0.9\lib\net45\CommonIO.dll True - - ..\packages\Interfaces.IO.1.0.0.5\lib\portable-net45+sl4+wp71+win8+wpa81\Interfaces.IO.dll + + ..\packages\MediaBrowser.Common.3.0.667\lib\net45\MediaBrowser.Common.dll True - - ..\packages\MediaBrowser.Common.3.0.662\lib\net45\MediaBrowser.Common.dll + + ..\packages\MediaBrowser.Server.Core.3.0.667\lib\net45\MediaBrowser.Controller.dll True - - ..\packages\MediaBrowser.Server.Core.3.0.662\lib\net45\MediaBrowser.Controller.dll - True - - - ..\packages\MediaBrowser.Common.3.0.662\lib\net45\MediaBrowser.Model.dll + + ..\packages\MediaBrowser.Common.3.0.667\lib\net45\MediaBrowser.Model.dll True diff --git a/Trakt/packages.config b/Trakt/packages.config index 834fac8..a550002 100644 --- a/Trakt/packages.config +++ b/Trakt/packages.config @@ -1,9 +1,8 @@  - - - + + \ No newline at end of file