update now playing screen

This commit is contained in:
Luke Pulverenti
2017-01-24 00:52:47 -05:00
parent 7c3ec71d6f
commit 2ebcbdece8
3 changed files with 4 additions and 10 deletions

View File

@@ -47,6 +47,8 @@ namespace MediaBrowser.MediaEncoding.Probing
info.MediaStreams = internalStreams.Select(s => GetMediaStream(isAudio, s, data.format))
.Where(i => i != null)
// Drop subtitle streams if we don't know the codec because it will just cause failures if we don't know how to handle them
.Where(i => i.Type != MediaStreamType.Subtitle || !string.IsNullOrWhiteSpace(i.Codec))
.ToList();
if (data.format != null)