mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Merge remote-tracking branch 'origin/master' into feature/EFUserData
This commit is contained in:
@@ -865,6 +865,16 @@ public class LibraryController : BaseJellyfinApiController
|
||||
.DistinctBy(i => i.Name, StringComparer.OrdinalIgnoreCase)
|
||||
.ToArray();
|
||||
|
||||
result.MediaSegmentProviders = plugins
|
||||
.SelectMany(i => i.Plugins.Where(p => p.Type == MetadataPluginType.MediaSegmentProvider))
|
||||
.Select(i => new LibraryOptionInfoDto
|
||||
{
|
||||
Name = i.Name,
|
||||
DefaultEnabled = true
|
||||
})
|
||||
.DistinctBy(i => i.Name, StringComparer.OrdinalIgnoreCase)
|
||||
.ToArray();
|
||||
|
||||
var typeOptions = new List<LibraryTypeOptionsDto>();
|
||||
|
||||
foreach (var type in types)
|
||||
|
||||
Reference in New Issue
Block a user