start on content type setting

This commit is contained in:
Luke Pulverenti
2014-12-21 13:58:17 -05:00
parent 659128073e
commit 74520804f8
12 changed files with 197 additions and 12 deletions

View File

@@ -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>();
}
}
}

View 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; }
}
}

View File

@@ -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" />