aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-18 13:35:36 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-18 13:35:36 -0400
commitd74ded0fd6f28d1d170d7c805e6e409926defd13 (patch)
treeadf8e1a628e75bd9e8e9ec6f05e3976813504e45 /MediaBrowser.Server.Implementations/LiveTv
parent5ecf69503b663c6f4307de10edf6913f06942643 (diff)
resolved issue with setting up mixed library
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
index 7dc9f25b0f..be9d813545 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -1215,6 +1215,12 @@ namespace MediaBrowser.Server.Implementations.LiveTv
{
cancellationToken.ThrowIfCancellationRequested();
+ if (itemId == Guid.Empty)
+ {
+ // Somehow some invalid data got into the db. It probably predates the boundary checking
+ continue;
+ }
+
if (!currentIdList.Contains(itemId))
{
var item = _libraryManager.GetItemById(itemId);