mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04: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 New Issue
Block a user