aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-10 15:11:46 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-10 15:11:46 -0500
commitcf9ef0e43d01decd743c5444785ee247bda3cb32 (patch)
tree147bd7b0e2afdb8d88a56e1cf6b9b59bbb1eb14a /MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
parent326fa5a67090246c519cdb318c314bee4049a460 (diff)
fix refresh of tv recordings
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
index 7dacfacc2..a91033839 100644
--- a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
+++ b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
@@ -273,8 +273,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
{
if (item.LocationType == LocationType.FileSystem)
{
- return collections.Where(i => i.LocationType == LocationType.FileSystem &&
- i.PhysicalLocations.Contains(item.Path)).Cast<T>();
+ return collections.Where(i => i.PhysicalLocations.Contains(item.Path)).Cast<T>();
}
}
@@ -283,7 +282,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
{
if (item.Id == user.RootFolder.Id)
{
- return new T[] { item };
+ return new[] { item };
}
return new T[] { };