aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-28 15:54:45 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-28 15:54:45 -0400
commit7a74213914fd5ca166f148ec47d65c7041082847 (patch)
tree3860063ba2f90096a15df80c5678a10254bac0a8
parenta28feadfac025368d52c4fa6839360f24f86b165 (diff)
update subtitle conversion
-rw-r--r--MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs b/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs
index 765acd578..87e71e327 100644
--- a/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs
@@ -72,6 +72,12 @@ namespace MediaBrowser.Server.Implementations.Library
private bool InternalTextStreamSupportsExternalStream(MediaStream stream)
{
+ // These usually have styles and fonts that won't convert to text very well
+ if (string.Equals(stream.Codec, "ass", StringComparison.OrdinalIgnoreCase))
+ {
+ return false;
+ }
+
return true;
}
@@ -463,7 +469,7 @@ namespace MediaBrowser.Server.Implementations.Library
_liveStreamSemaphore.Release();
}
}
-
+
// Do not use a pipe here because Roku http requests to the server will fail, without any explicit error message.
private const char LiveStreamIdDelimeter = '_';