Add video path to DisableEmbeddedSubtitles log
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
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…
Reference in New Issue
Block a user