mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 23:30:50 +02:00
Add post filtering for theme song and video
This commit is contained in:
parent
e26446f9c0
commit
354f22d065
|
@ -848,6 +848,18 @@ namespace MediaBrowser.Controller.Entities
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (query.HasThemeSong.HasValue)
|
||||||
|
{
|
||||||
|
Logger.LogDebug("Query requires post-filtering due to HasThemeSong");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (query.HasThemeVideo.HasValue)
|
||||||
|
{
|
||||||
|
Logger.LogDebug("Query requires post-filtering due to HasThemeVideo");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Filter by VideoType
|
// Filter by VideoType
|
||||||
if (query.VideoTypes.Length > 0)
|
if (query.VideoTypes.Length > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue