diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 22:39:44 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 22:39:44 -0500 |
| commit | 5f0d8000a5ec26fd66c5f188f3bb517bb139b74b (patch) | |
| tree | 769514a446fc33ba812d1a9a05a66f0845c9e590 /MediaBrowser.Model | |
| parent | ebe483db9a5d31528a644200a71f2b36ac2864bd (diff) | |
moved media streams to the database
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Dto/ItemCounts.cs | 3 | ||||
| -rw-r--r-- | MediaBrowser.Model/Entities/IHasMediaStreams.cs | 26 | ||||
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 1 |
4 files changed, 3 insertions, 33 deletions
diff --git a/MediaBrowser.Model/Dto/ItemCounts.cs b/MediaBrowser.Model/Dto/ItemCounts.cs index 34fe6ca64..34e2a1c3c 100644 --- a/MediaBrowser.Model/Dto/ItemCounts.cs +++ b/MediaBrowser.Model/Dto/ItemCounts.cs @@ -68,9 +68,6 @@ namespace MediaBrowser.Model.Dto /// </summary> /// <value>The unique types.</value> public List<string> UniqueTypes { get; set; } - - public int PersonCount { get; set; } - public int ArtistCount { get; set; } public ItemCounts() { diff --git a/MediaBrowser.Model/Entities/IHasMediaStreams.cs b/MediaBrowser.Model/Entities/IHasMediaStreams.cs deleted file mode 100644 index a00914146..000000000 --- a/MediaBrowser.Model/Entities/IHasMediaStreams.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Collections.Generic; - -namespace MediaBrowser.Model.Entities -{ - /// <summary> - /// This is essentially a marker interface - /// </summary> - public interface IHasMediaStreams - { - /// <summary> - /// Gets or sets the media streams. - /// </summary> - /// <value>The media streams.</value> - List<MediaStream> MediaStreams { get; set; } - /// <summary> - /// Gets or sets the path. - /// </summary> - /// <value>The path.</value> - string Path { get; set; } - /// <summary> - /// Gets or sets the primary image path. - /// </summary> - /// <value>The primary image path.</value> - string PrimaryImagePath { get; } - } -} diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 5e85369b9..133631649 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -19,10 +19,10 @@ namespace MediaBrowser.Model.Entities public string Language { get; set; } /// <summary> - /// Gets or sets the type of the scan. + /// Gets or sets a value indicating whether this instance is interlaced. /// </summary> - /// <value>The type of the scan.</value> - public string ScanType { get; set; } + /// <value><c>true</c> if this instance is interlaced; otherwise, <c>false</c>.</value> + public bool IsInterlaced { get; set; } /// <summary> /// Gets or sets the channel layout. diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index 103e583ae..5175bee91 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -125,7 +125,6 @@ <Compile Include="Entities\ParentalRating.cs" /> <Compile Include="Dto\StreamOptions.cs" /> <Compile Include="Entities\VirtualFolderInfo.cs" /> - <Compile Include="Entities\IHasMediaStreams.cs" /> <Compile Include="Extensions\ModelExtensions.cs" /> <Compile Include="IO\IZipClient.cs" /> <Compile Include="Logging\ILogger.cs" /> |
