Add video path to DisableEmbeddedSubtitles log

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Matt 2021-12-26 18:03:03 +00:00 committed by Matthew Jones
parent 3f7bd7b63e
commit 126274c4ea

View File

@ -231,7 +231,7 @@ namespace MediaBrowser.Providers.MediaInfo
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);
}