mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Select only movies that have 2 or more genres #2367
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chaplin89 on GitHub (Dec 9, 2020).
Hi,
is there a way to filter a movie with 2 or more genres?
For example, let's say I want to filter all the movies that are classified both as 'Horror' AND 'Mistery' at the same time, is there a way to do this?
I was not able to do this:
Thanks
@cvium commented on GitHub (Apr 20, 2021):
Currently not possible. When we get a chance to rewrite the DB it will be easier. Currently it's an OR expression
db530e61f5/Emby.Server.Implementations/Data/SqliteItemRepository.cs (L4115)and we're unlikely to change it before the rewrite.@ServeurpersoCom commented on GitHub (Mar 18, 2024):
Thanks, I replaced this OR with AND on my version and I love it ! OR is a non-sense for genre, movies we want to filter, not accumulate !
@BRUHItsABunny commented on GitHub (Sep 17, 2025):
I ran into a similar situation but for tags instead of genres. I ended up making a similar local modification by modifying the IL instructions and turn
ORintoANDusing dnSpy