aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
index 03daa4c2a..51a104241 100644
--- a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
+++ b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
@@ -10,6 +10,8 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
+using MediaBrowser.Controller.Entities.Audio;
+using MediaBrowser.Controller.LiveTv;
namespace MediaBrowser.Server.Implementations.EntryPoints
{
@@ -260,12 +262,17 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
private bool FilterItem(BaseItem item)
{
- if (item.LocationType == LocationType.Virtual)
+ if (!item.IsFolder && item.LocationType == LocationType.Virtual)
{
return false;
}
-
- return !(item is IChannelItem);
+
+ if (item is IItemByName && !(item is MusicArtist))
+ {
+ return false;
+ }
+
+ return !(item is IChannelItem) && !(item is ILiveTvItem);
}
/// <summary>