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 000000000..5df1bfaf4 --- /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 71245a3bb..90d3810d0 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 16cde9592..d037924a0 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;