Add post filtering for theme song and video

This commit is contained in:
Joe Rogers 2022-02-27 23:38:00 +01:00
parent e26446f9c0
commit 354f22d065
No known key found for this signature in database
GPG key ID: 0074AD57B8FDBBB4

View file

@ -848,6 +848,18 @@ namespace MediaBrowser.Controller.Entities
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
if (query.VideoTypes.Length > 0)
{