diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 067b47d82f..6462301600 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -399,6 +399,12 @@ namespace MediaBrowser.Api.Playback
/// System.String.
private string GetConvertedAssPath(Video video, MediaStream subtitleStream, long? startTimeTicks, bool performConversion)
{
+ // If it's already ass, no conversion neccessary
+ //if (string.Equals(Path.GetExtension(subtitleStream.Path), ".ass", StringComparison.OrdinalIgnoreCase))
+ //{
+ // return subtitleStream.Path;
+ //}
+
var offset = TimeSpan.FromTicks(startTimeTicks ?? 0);
var path = Kernel.Instance.FFMpegManager.GetSubtitleCachePath(video, subtitleStream.Index, offset, ".ass");
diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs
index 35e9b3b0f8..d88474d61d 100644
--- a/MediaBrowser.Model/Configuration/UserConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs
@@ -56,6 +56,8 @@ namespace MediaBrowser.Model.Configuration
public bool IsDisabled { get; set; }
+ public bool DisplayVirtualEpisodes { get; set; }
+
///
/// Initializes a new instance of the class.
///
@@ -63,6 +65,7 @@ namespace MediaBrowser.Model.Configuration
{
IsAdministrator = true;
BlockNotRated = false;
+ DisplayVirtualEpisodes = true;
}
}
}
diff --git a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs
index ae4d91148b..a40dff5a47 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs
@@ -120,7 +120,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
var result = await WebSocket.ReceiveAsync(buffer, cancellationToken).ConfigureAwait(false);
- if (result.CloseStatus.HasValue && result.CloseStatus.Value != WebSocketCloseStatus.Empty)
+ if (result.CloseStatus.HasValue)
{
_logger.Info("Web socket connection closed by client. Reason: {0}", result.CloseStatus.Value);
return null;
diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs
index e9a88e045f..2c6b5532b8 100644
--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs
+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs
@@ -516,6 +516,7 @@ namespace MediaBrowser.WebDashboard.Api
"updatepasswordpage.js",
"userimagepage.js",
"userprofilespage.js",
+ "usersettings.js",
"wizardfinishpage.js",
"wizardservice.js",
"wizardstartpage.js",
diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj
index c8d43d8195..4d12fa7709 100644
--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj
+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj
@@ -338,6 +338,9 @@
PreserveNewest
+
+ PreserveNewest
+
PreserveNewest
@@ -347,6 +350,9 @@
PreserveNewest
+
+ PreserveNewest
+
PreserveNewest