@ -664,7 +664,7 @@ namespace MediaBrowser.Model.Dlna
}
}
_logger . Log Information (
_logger . Log Debug (
"DirectPlay Result for Profile: {0}, Path: {1}, PlayMethod: {2}, AudioStreamIndex: {3}, SubtitleStreamIndex: {4}, Reasons: {5}" ,
options . Profile . Name ? ? "Anonymous Profile" ,
item . Path ? ? "Unknown path" ,
@ -796,7 +796,7 @@ namespace MediaBrowser.Model.Dlna
playlistItem . SetOption ( qualifier , "level" , videoStream . Level . ToString ( ) ) ;
}
// prefer matching audio codecs, could do bet er here
// prefer matching audio codecs, could do bet t er here
var audioCodecs = ContainerProfile . SplitValue ( audioCodec ) ;
var directAudioStream = candidateAudioStreams . FirstOrDefault ( stream = > ContainerProfile . ContainsContainer ( audioCodecs , stream . Codec ) ) ;
playlistItem . AudioCodecs = audioCodecs ;
@ -908,7 +908,7 @@ namespace MediaBrowser.Model.Dlna
playlistItem . VideoBitrate = Math . Max ( Math . Min ( availableBitrateForVideo , currentValue ) , 64_000 ) ;
}
_logger . Log Information (
_logger . Log Debug (
"Transcode Result for Profile: {Profile}, Path: {Path}, PlayMethod: {PlayMethod}, AudioStreamIndex: {AudioStreamIndex}, SubtitleStreamIndex: {SubtitleStreamIndex}, Reasons: {TranscodeReason}" ,
options . Profile ? . Name ? ? "Anonymous Profile" ,
item . Path ? ? "Unknown path" ,