aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionManager.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/Session/SessionManager.cs
parent326fa5a67090246c519cdb318c314bee4049a460 (diff)
fix refresh of tv recordings
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionManager.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs
index fd78d1aaa..09a442966 100644
--- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs
+++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs
@@ -615,13 +615,9 @@ namespace MediaBrowser.Server.Implementations.Session
}
var items = command.ItemIds.Select(i => _libraryManager.GetItemById(new Guid(i)))
+ .Where(i => i.LocationType != LocationType.Virtual)
.ToList();
- if (items.Any(i => i.LocationType == LocationType.Virtual))
- {
- throw new ArgumentException("Virtual items are not playable.");
- }
-
if (command.PlayCommand != PlayCommand.PlayNow)
{
if (items.Any(i => !session.QueueableMediaTypes.Contains(i.MediaType, StringComparer.OrdinalIgnoreCase)))