fix refresh of tv recordings

This commit is contained in:
Luke Pulverenti
2014-02-10 15:11:46 -05:00
parent 326fa5a670
commit cf9ef0e43d
34 changed files with 88 additions and 187 deletions

View File

@@ -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[] { };