Add video path to DisableEmbeddedSubtitles log

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/7054/head
Matt 3 years ago committed by Matthew Jones
parent 3f7bd7b63e
commit 126274c4ea

@ -231,7 +231,7 @@ namespace MediaBrowser.Providers.MediaInfo
if (libraryOptions.DisableEmbeddedSubtitles) if (libraryOptions.DisableEmbeddedSubtitles)
{ {
_logger.LogDebug("Disabling embedded subtitles due to DisableEmbeddedSubtitles setting"); _logger.LogDebug("Disabling embedded subtitles for {Path} due to DisableEmbeddedSubtitles setting", video.Path);
mediaStreams.RemoveAll(i => i.Type == MediaStreamType.Subtitle && !i.IsExternal); mediaStreams.RemoveAll(i => i.Type == MediaStreamType.Subtitle && !i.IsExternal);
} }

Loading…
Cancel
Save