#Ratings.yml with a bit of extra logic

1 messages · Page 1 of 1 (latest)

verbal hound
#

I would like my ratings overlay to conditionally display the movie/show's icon & score based on the following logic in a local overlay file:

  • If RT Critic score = Fresh/Top, only display RT Fresh/Top Tomato icon + Critic score
  • If RT Critic score = Rotten, check RT Audience; if Fresh, only display RT Fresh Popcorn icon + Audience score
  • If both RT Critic & Audience scores = Rotten, only display text box (no icon/score): "Low ratings"

I believe the above cases are MECE so only one overlay should render per movie/show.

Is this possible via simple tweaks to PMM/overlays/ratings.yml? I know it's the most complex default so hopefully it's ok that I gave up trying to do it myself 😅

#

Here's a zoomed screenshot of what I currently use (critic icon/score only). I'd like positioning & margins to stay the same but I can add that logic myself if needed

neon kayak
#

@verbal hound so your basically trying to combine both ratings into one overlay?

verbal hound
#

Basically for Fresh/Top scoring content I value Critic over Audience but I'll take Audience if Critic is Rotten. And for Rotten Critic+Audience, I want to override the icon/score with custom text.

#

I'm going for a minimalist approach to overlays