aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-08 23:52:52 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-08 23:52:52 -0500
commit60e2fd4d44ef5dcdcf2ce011bb79b55c148f1259 (patch)
treee328c1b080b339c12a6c1fd7a8e8eff8081f865c /MediaBrowser.Controller/LiveTv/LiveTvProgram.cs
parentf29469c9056faf361ce7c6f6dc7909af4c3b3edc (diff)
support mcm episodes
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/LiveTvProgram.cs')
-rw-r--r--MediaBrowser.Controller/LiveTv/LiveTvProgram.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs b/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs
index 497cfad67..48041da11 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs
@@ -1,6 +1,9 @@
using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.Library;
using MediaBrowser.Model.LiveTv;
using System;
+using System.Threading;
+using System.Threading.Tasks;
namespace MediaBrowser.Controller.LiveTv
{
@@ -184,5 +187,12 @@ namespace MediaBrowser.Controller.LiveTv
{
return "Program";
}
+
+ public override Task UpdateToRepository(ItemUpdateType updateReason, CancellationToken cancellationToken)
+ {
+ // Avoid library manager and keep out of in-memory cache
+ // Not great that this class has to know about that, but we'll improve that later.
+ return ItemRepository.SaveItem(this, cancellationToken);
+ }
}
}