mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-27 09:56:33 +00:00
Fix typo in LibraryOptions
This commit is contained in:
parent
4254c5acf6
commit
1c77e9606e
|
@ -61,7 +61,7 @@ public class MediaSegmentManager : IMediaSegmentManager
|
||||||
.Where(e => !libraryOptions.DisabledMediaSegmentProviders.Contains(GetProviderId(e.Name)))
|
.Where(e => !libraryOptions.DisabledMediaSegmentProviders.Contains(GetProviderId(e.Name)))
|
||||||
.OrderBy(i =>
|
.OrderBy(i =>
|
||||||
{
|
{
|
||||||
var index = libraryOptions.MediaSegmentProvideOrder.IndexOf(i.Name);
|
var index = libraryOptions.MediaSegmentProviderOrder.IndexOf(i.Name);
|
||||||
return index == -1 ? int.MaxValue : index;
|
return index == -1 ? int.MaxValue : index;
|
||||||
})
|
})
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace MediaBrowser.Model.Configuration
|
||||||
TypeOptions = Array.Empty<TypeOptions>();
|
TypeOptions = Array.Empty<TypeOptions>();
|
||||||
DisabledSubtitleFetchers = Array.Empty<string>();
|
DisabledSubtitleFetchers = Array.Empty<string>();
|
||||||
DisabledMediaSegmentProviders = Array.Empty<string>();
|
DisabledMediaSegmentProviders = Array.Empty<string>();
|
||||||
MediaSegmentProvideOrder = Array.Empty<string>();
|
MediaSegmentProviderOrder = Array.Empty<string>();
|
||||||
SubtitleFetcherOrder = Array.Empty<string>();
|
SubtitleFetcherOrder = Array.Empty<string>();
|
||||||
DisabledLocalMetadataReaders = Array.Empty<string>();
|
DisabledLocalMetadataReaders = Array.Empty<string>();
|
||||||
DisabledLyricFetchers = Array.Empty<string>();
|
DisabledLyricFetchers = Array.Empty<string>();
|
||||||
|
@ -99,7 +99,7 @@ namespace MediaBrowser.Model.Configuration
|
||||||
|
|
||||||
public string[] DisabledMediaSegmentProviders { get; set; }
|
public string[] DisabledMediaSegmentProviders { get; set; }
|
||||||
|
|
||||||
public string[] MediaSegmentProvideOrder { get; set; }
|
public string[] MediaSegmentProviderOrder { get; set; }
|
||||||
|
|
||||||
public bool SkipSubtitlesIfEmbeddedSubtitlesPresent { get; set; }
|
public bool SkipSubtitlesIfEmbeddedSubtitlesPresent { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue