Make Live TV compatibility profiles customizable (#12529)

This commit is contained in:
gnattu 2024-09-08 11:08:54 +08:00 committed by GitHub
parent 84b20afe1f
commit b4f71859d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 29 additions and 21 deletions

View file

@ -805,6 +805,7 @@ namespace MediaBrowser.Model.Dlna
}
var transcodingProfiles = options.Profile.TranscodingProfiles
.Where(i => !item.UseMostCompatibleTranscodingProfile || string.Equals(i.Container, "ts", StringComparison.OrdinalIgnoreCase))
.Where(i => i.Type == playlistItem.MediaType && i.Context == options.Context);
if (options.AllowVideoStreamCopy)