mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
pass all audio codecs to server
This commit is contained in:
@@ -778,12 +778,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
if (query.PersonIds.Length > 0)
|
||||
{
|
||||
Logger.Debug("Query requires post-filtering due to PersonIds");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (query.IsInBoxSet.HasValue)
|
||||
{
|
||||
Logger.Debug("Query requires post-filtering due to IsInBoxSet");
|
||||
@@ -846,20 +840,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
// Apply studio filter
|
||||
if (query.StudioIds.Length > 0)
|
||||
{
|
||||
Logger.Debug("Query requires post-filtering due to StudioIds");
|
||||
return true;
|
||||
}
|
||||
|
||||
// Apply genre filter
|
||||
if (query.GenreIds.Length > 0)
|
||||
{
|
||||
Logger.Debug("Query requires post-filtering due to GenreIds");
|
||||
return true;
|
||||
}
|
||||
|
||||
// Apply person filter
|
||||
if (query.ItemIdsFromPersonFilters != null)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Model.Dlna;
|
||||
using System.Linq;
|
||||
using MediaBrowser.Model.Dlna;
|
||||
|
||||
namespace MediaBrowser.Controller.MediaEncoding
|
||||
{
|
||||
@@ -74,7 +75,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
Level = info.VideoLevel;
|
||||
ItemId = info.ItemId;
|
||||
MediaSourceId = info.MediaSourceId;
|
||||
AudioCodec = info.AudioCodec;
|
||||
AudioCodec = info.TargetAudioCodec;
|
||||
MaxAudioChannels = info.MaxAudioChannels;
|
||||
AudioBitRate = info.AudioBitrate;
|
||||
AudioSampleRate = info.TargetAudioSampleRate;
|
||||
|
||||
Reference in New Issue
Block a user