added BaseGame
This commit is contained in:
parent
49e67b980b
commit
650016ef62
30
MediaBrowser.Controller/Entities/BaseGame.cs
Normal file
30
MediaBrowser.Controller/Entities/BaseGame.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -77,6 +77,7 @@
|
||||||
<Compile Include="Entities\Audio\Audio.cs" />
|
<Compile Include="Entities\Audio\Audio.cs" />
|
||||||
<Compile Include="Entities\Audio\MusicAlbum.cs" />
|
<Compile Include="Entities\Audio\MusicAlbum.cs" />
|
||||||
<Compile Include="Entities\Audio\MusicArtist.cs" />
|
<Compile Include="Entities\Audio\MusicArtist.cs" />
|
||||||
|
<Compile Include="Entities\BaseGame.cs" />
|
||||||
<Compile Include="Entities\BaseItem.cs" />
|
<Compile Include="Entities\BaseItem.cs" />
|
||||||
<Compile Include="Entities\BasePluginFolder.cs" />
|
<Compile Include="Entities\BasePluginFolder.cs" />
|
||||||
<Compile Include="Entities\Folder.cs" />
|
<Compile Include="Entities\Folder.cs" />
|
||||||
|
|
|
@ -273,7 +273,7 @@ namespace MediaBrowser.Installer
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
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
|
// Delete archive even if failed so we don't try again with this one
|
||||||
TryDelete(archive);
|
TryDelete(archive);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user