aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-22 14:15:31 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-22 14:15:31 -0400
commit0acc25735419b051c6f57a2c08b2ad6f3a969b83 (patch)
tree111ca9aa8f39a5ee5674f3a22c28337aba68ceaf /MediaBrowser.Controller
parent8380a92806f0554f9b844f382b7edc70a538fe79 (diff)
updated nuget
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Dto/DtoBuilder.cs1
-rw-r--r--MediaBrowser.Controller/Entities/Game.cs27
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj1
3 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Dto/DtoBuilder.cs b/MediaBrowser.Controller/Dto/DtoBuilder.cs
index 05092ca2d7..17a5995b8f 100644
--- a/MediaBrowser.Controller/Dto/DtoBuilder.cs
+++ b/MediaBrowser.Controller/Dto/DtoBuilder.cs
@@ -519,6 +519,7 @@ namespace MediaBrowser.Controller.Dto
if (game != null)
{
dto.Players = game.PlayersSupported;
+ dto.GameSystem = game.GameSystem;
}
}
diff --git a/MediaBrowser.Controller/Entities/Game.cs b/MediaBrowser.Controller/Entities/Game.cs
new file mode 100644
index 0000000000..b62a71bd6d
--- /dev/null
+++ b/MediaBrowser.Controller/Entities/Game.cs
@@ -0,0 +1,27 @@
+
+namespace MediaBrowser.Controller.Entities
+{
+ public class Game : BaseItem
+ {
+ /// <summary>
+ /// Gets the type of the media.
+ /// </summary>
+ /// <value>The type of the media.</value>
+ public override string MediaType
+ {
+ get { return Model.Entities.MediaType.Game; }
+ }
+
+ /// <summary>
+ /// Gets or sets the players supported.
+ /// </summary>
+ /// <value>The players supported.</value>
+ public int? PlayersSupported { get; set; }
+
+ /// <summary>
+ /// Gets or sets the game system.
+ /// </summary>
+ /// <value>The game system.</value>
+ public string GameSystem { get; set; }
+ }
+}
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
index bea2e9e69f..0fa04adcc1 100644
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@ -75,6 +75,7 @@
<Compile Include="Entities\Audio\MusicAlbumDisc.cs" />
<Compile Include="Entities\Audio\MusicGenre.cs" />
<Compile Include="Entities\ChildDefinition.cs" />
+ <Compile Include="Entities\Game.cs" />
<Compile Include="Entities\IByReferenceItem.cs" />
<Compile Include="Entities\MusicVideo.cs" />
<Compile Include="Library\ILibraryPostScanTask.cs" />