mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-06 15:58:29 +01:00
restored external subtitle support
This commit is contained in:
@@ -15,6 +15,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
public ImageOption[] ImageOptions { get; set; }
|
||||
|
||||
public string[] DisabledMetadataSavers { get; set; }
|
||||
public string[] LocalMetadataReaders { get; set; }
|
||||
|
||||
public MetadataOptions()
|
||||
: this(3, 1280)
|
||||
@@ -35,6 +36,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
ImageOptions = imageOptions.ToArray();
|
||||
DisabledMetadataSavers = new string[] { };
|
||||
LocalMetadataReaders = new string[] { };
|
||||
}
|
||||
|
||||
public int GetLimit(ImageType type)
|
||||
|
||||
@@ -265,11 +265,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
MetadataOptions = options.ToArray();
|
||||
}
|
||||
|
||||
public MetadataOptions GetMetadataOptions(string type)
|
||||
{
|
||||
return MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, type, StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
}
|
||||
|
||||
public enum ImageSavingConvention
|
||||
|
||||
Reference in New Issue
Block a user