aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-11-09 15:58:09 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-11-09 15:58:09 -0500
commit901d7b509c712ababc489166e05bdfea1908fa0f (patch)
treea158d79f241bcf8032c86b335b58dcc30f954b0b /Emby.Server.Implementations/Session/SessionManager.cs
parent25138bbeb74a7f02a07ea98d4f5e64b76eb00bbf (diff)
update play media source feature
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 2c1535165..30f6e6521 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -972,7 +972,6 @@ namespace Emby.Server.Implementations.Session
if (command.PlayCommand == PlayCommand.PlayInstantMix)
{
items = command.ItemIds.SelectMany(i => TranslateItemForInstantMix(i, user))
- .Where(i => i.LocationType != LocationType.Virtual)
.ToList();
command.PlayCommand = PlayCommand.PlayNow;
@@ -986,9 +985,7 @@ namespace Emby.Server.Implementations.Session
list.AddRange(subItems);
}
- items = list
- .Where(i => i.LocationType != LocationType.Virtual)
- .ToList();
+ items = list;
}
if (command.PlayCommand == PlayCommand.PlayShuffle)
@@ -1074,7 +1071,8 @@ namespace Emby.Server.Implementations.Session
{
ItemFields.SortName
}
- }
+ },
+ IsVirtualItem = false
});
return FilterToSingleMediaType(items)
@@ -1097,7 +1095,8 @@ namespace Emby.Server.Implementations.Session
{
ItemFields.SortName
}
- }
+ },
+ IsVirtualItem = false
});