aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs1
-rw-r--r--MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs6
2 files changed, 4 insertions, 3 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index f872b72748..6761c272de 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1060,6 +1060,7 @@ namespace MediaBrowser.Api.Playback
//state.RunTimeTicks = recording.RunTimeTicks;
state.ReadInputAtNativeFramerate = recording.RecordingInfo.Status == RecordingStatus.InProgress;
+ state.SendInputOverStandardInput = recording.RecordingInfo.Status == RecordingStatus.InProgress;
state.AudioSync = 1000;
state.DeInterlace = true;
}
diff --git a/MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs b/MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs
index eae232f110..4193cc797a 100644
--- a/MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs
+++ b/MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs
@@ -111,9 +111,9 @@ namespace MediaBrowser.Api.WebSocket
{
var line = await reader.ReadLineAsync().ConfigureAwait(false);
- if (line.IndexOf(", Info,", StringComparison.OrdinalIgnoreCase) != -1 ||
- line.IndexOf(", Warn,", StringComparison.OrdinalIgnoreCase) != -1 ||
- line.IndexOf(", Error,", StringComparison.OrdinalIgnoreCase) != -1)
+ if (line.IndexOf("Info", StringComparison.OrdinalIgnoreCase) != -1 ||
+ line.IndexOf("Warn", StringComparison.OrdinalIgnoreCase) != -1 ||
+ line.IndexOf("Error", StringComparison.OrdinalIgnoreCase) != -1)
{
lines.Add(line);
}