diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-11 12:56:26 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-11 12:56:26 -0500 |
| commit | 0b5d4ce3f839118a0a5903ec278321ecfecf1c32 (patch) | |
| tree | 10ddadb459f400a6711b2ea5babd4c47e5ba078e /Emby.Server.Implementations/Dto | |
| parent | 12f20de68b3e988b27286a1f25175a2fe91db5a8 (diff) | |
fix live tv folders being created in a loop
Diffstat (limited to 'Emby.Server.Implementations/Dto')
| -rw-r--r-- | Emby.Server.Implementations/Dto/DtoService.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs index 8e6c1263d6..06ac7031a3 100644 --- a/Emby.Server.Implementations/Dto/DtoService.cs +++ b/Emby.Server.Implementations/Dto/DtoService.cs @@ -361,10 +361,7 @@ namespace Emby.Server.Implementations.Dto if (collectionFolder != null) { dto.OriginalCollectionType = collectionFolder.CollectionType; - - dto.CollectionType = user == null ? - collectionFolder.CollectionType : - collectionFolder.GetViewType(user); + dto.CollectionType = collectionFolder.CollectionType; } if (fields.Contains(ItemFields.CanDelete)) |
