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;