mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
start on content type setting
This commit is contained in:
@@ -12,12 +12,16 @@ namespace MediaBrowser.Model.Dto
|
||||
public List<CultureDto> Cultures { get; set; }
|
||||
public List<ExternalIdInfo> ExternalIdInfos { get; set; }
|
||||
|
||||
public string ContentType { get; set; }
|
||||
public List<NameValuePair> ContentTypeOptions { get; set; }
|
||||
|
||||
public MetadataEditorInfo()
|
||||
{
|
||||
ParentalRatingOptions = new List<ParentalRating>();
|
||||
Countries = new List<CountryInfo>();
|
||||
Cultures = new List<CultureDto>();
|
||||
ExternalIdInfos = new List<ExternalIdInfo>();
|
||||
ContentTypeOptions = new List<NameValuePair>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Dto/NameValuePair.cs
Normal file
17
MediaBrowser.Model/Dto/NameValuePair.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public class NameValuePair
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the value.
|
||||
/// </summary>
|
||||
/// <value>The value.</value>
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -129,6 +129,7 @@
|
||||
<Compile Include="Dto\DtoOptions.cs" />
|
||||
<Compile Include="Dto\IHasServerId.cs" />
|
||||
<Compile Include="Dto\MetadataEditorInfo.cs" />
|
||||
<Compile Include="Dto\NameValuePair.cs" />
|
||||
<Compile Include="MediaInfo\LiveMediaInfoResult.cs" />
|
||||
<Compile Include="Dto\MediaSourceType.cs" />
|
||||
<Compile Include="Dto\StreamOptions.cs" />
|
||||
|
||||
Reference in New Issue
Block a user