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;