added BaseGame

This commit is contained in:
Luke Pulverenti 2013-04-15 00:03:11 -04:00
parent 49e67b980b
commit 650016ef62
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,30 @@

namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Class BaseGame
/// </summary>
public class BaseGame : 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; }
}
}

View File

@ -77,6 +77,7 @@
<Compile Include="Entities\Audio\Audio.cs" />
<Compile Include="Entities\Audio\MusicAlbum.cs" />
<Compile Include="Entities\Audio\MusicArtist.cs" />
<Compile Include="Entities\BaseGame.cs" />
<Compile Include="Entities\BaseItem.cs" />
<Compile Include="Entities\BasePluginFolder.cs" />
<Compile Include="Entities\Folder.cs" />

View File

@ -273,7 +273,7 @@ namespace MediaBrowser.Installer
}
catch (Exception e)
{
SystemClose("Error Extracting - " + e.GetType().FullName + "\n\n" + e.Message);
SystemClose("Error Extracting - " + e.GetType().FullName + "\n\n" + e.Message + "\n\n" + e.StackTrace);
// Delete archive even if failed so we don't try again with this one
TryDelete(archive);
return;