diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-11-09 15:58:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-09 15:58:36 -0500 |
| commit | e86cd223c6c79484f5c9ca825fac81c07a3c92cb (patch) | |
| tree | a158d79f241bcf8032c86b335b58dcc30f954b0b /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | bc25454fcff620067bad2d5b27d05db177c2e0c9 (diff) | |
| parent | 901d7b509c712ababc489166e05bdfea1908fa0f (diff) | |
Merge pull request #3009 from MediaBrowser/dev
update play media source feature
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 11 |
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 }); |
