#Apply highest of two values as a text overlay?
1 messages · Page 1 of 1 (latest)
I'm not sure I understand the question
If you have two overlays which can apply to a movie, you can use a group and weighting to make one the priority?
If that's what you're asking
In the below example, if you have a movie with both 1080P and 4K, the 4K overlay will apply because it has the higher rating (50) within the group (Resolution)
overlays:
1080p:
plex_search:
all:
resolution: 1080p
overlay:
name: 1080p
group: Resolution
weight: 40
1080p-HDR:
plex_search:
all:
resolution: 1080p
hdr: true
overlay:
name: 1080p-HDR
group: Resolution
weight: 50
I have an audience_rating overlay and a critic_rating overlay. I want to apply only the highest number of these. If the audience rated it higher, use that. If critics rated higher, use that.
I don't think YAML lets you do calculations like that
Gotcha, I was hoping there was a way to ignore the number requirement. I can run a python Plex search where critic_rating is higher than audience_rating and get results. It sounds like this would be more of a feature request then.
this would be a FR if you wanna make one its decently obscure so no guarantees it gets added anytime soon
If I am trying to make top10 take priority over top100 weighting should work right?
Yes please open youre own post for support