From 650016ef6209c3569fa83864e270d05c01a6f19c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 15 Apr 2013 00:03:11 -0400 Subject: [PATCH] added BaseGame --- MediaBrowser.Controller/Entities/BaseGame.cs | 30 +++++++++++++++++++ .../MediaBrowser.Controller.csproj | 1 + MediaBrowser.Installer/MainWindow.xaml.cs | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 MediaBrowser.Controller/Entities/BaseGame.cs diff --git a/MediaBrowser.Controller/Entities/BaseGame.cs b/MediaBrowser.Controller/Entities/BaseGame.cs new file mode 100644 index 0000000000..5df1bfaf4a --- /dev/null +++ b/MediaBrowser.Controller/Entities/BaseGame.cs @@ -0,0 +1,30 @@ + +namespace MediaBrowser.Controller.Entities +{ + /// + /// Class BaseGame + /// + public class BaseGame : BaseItem + { + /// + /// Gets the type of the media. + /// + /// The type of the media. + public override string MediaType + { + get { return Model.Entities.MediaType.Game; } + } + + /// + /// Gets or sets the players supported. + /// + /// The players supported. + public int? PlayersSupported { get; set; } + + /// + /// Gets or sets the game system. + /// + /// The game system. + public string GameSystem { get; set; } + } +} diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index 71245a3bb4..90d3810d0f 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -77,6 +77,7 @@ + diff --git a/MediaBrowser.Installer/MainWindow.xaml.cs b/MediaBrowser.Installer/MainWindow.xaml.cs index 16cde95925..d037924a0e 100644 --- a/MediaBrowser.Installer/MainWindow.xaml.cs +++ b/MediaBrowser.Installer/MainWindow.xaml.cs @@ -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;