aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-02 01:08:05 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-02 01:08:05 -0400
commit67ed8070dcb31eb41be47fefa5ee29bd081e6c47 (patch)
treeb970323190e8268fceec24773bf8f54dd562abfd /MediaBrowser.Server.Implementations/Dto
parent91ce8f443713ed8d9c694ef554e183ac954728b2 (diff)
add sharing function
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index de63fada0..d147777bd 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -736,6 +736,7 @@ namespace MediaBrowser.Server.Implementations.Dto
}
})
.Where(i => i != null)
+ .DistinctBy(i => i.Name, StringComparer.OrdinalIgnoreCase)
.ToDictionary(i => i.Name, StringComparer.OrdinalIgnoreCase);
for (var i = 0; i < studios.Count; i++)