Handling and filtering by performer age for fictional performers (may also releate to deceased ones)

I’ve run into a bit of a thing with performers where the scene date cannot be used easily to get to performer age. The prime scenario are fictional performers, that essentially stay the same age forever. But it also affects re-releases of scenes with deceased performers (and probably re-releases in general).

My idea was using a fixed birth and death date to pin their age to the desired value. This works decently well for display purposes, but not for filtering. Filtering by performer age has two limitations:

  • it requires a date to be set (at least for scenes, haven’t tried other types)
  • the calculated ages doe not seem to consider death dates, it matches only when using scene date minus birth date

Is the second one something that’s considered a bug, or expected behavior?

Any other ideas?

for re-releases we have the production date used in stashdb, that just needs to be integrated into stash. In theory that will override the date and calculations, fixing the problem for deceased performers/ remasters

as for fictional characters, I would probably explore other avenues like plugins to freeze the dates instead