diff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.cs
index dca2cef87..6519ad697 100644
--- a/MediaBrowser.Model/Dto/BaseItemDto.cs
+++ b/MediaBrowser.Model/Dto/BaseItemDto.cs
@@ -610,6 +610,16 @@ namespace MediaBrowser.Model.Dto
get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Box); }
}
+ ///
+ /// Gets a value indicating whether this instance has box image.
+ ///
+ /// true if this instance has box image; otherwise, false.
+ [IgnoreDataMember]
+ public bool HasBoxRearImage
+ {
+ get { return ImageTags != null && ImageTags.ContainsKey(ImageType.BoxRear); }
+ }
+
///
/// Gets a value indicating whether this instance has menu image.
///
diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs
index 184354a22..75ced2302 100644
--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs
+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs
@@ -512,7 +512,7 @@ namespace MediaBrowser.WebDashboard.Api
var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
- var versionString = string.Format("window.dashboardVersion='{0}';", GetType().Assembly.GetName().Version);
+ var versionString = string.Format("window.dashboardVersion='{0}';", _appHost.ApplicationVersion);
var versionBytes = Encoding.UTF8.GetBytes(versionString);
await memoryStream.WriteAsync(versionBytes, 0, versionBytes.Length).ConfigureAwait(false);