#Need Help with Overlay Positioning

1 messages · Page 1 of 1 (latest)

amber idol
#

Brand new to this.. I've been messing with the settings for an hour+ and can't seem to figure out how i can get the Rotten Tomatoes audience score where on the bottom directly to the right of IMDb. they are currently overlapping...

ripe marshBOT
#

Welcome @amber idol!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

limpid patio
#

need the log file please

#

you have a rogue space here

#

rating1_ horizontal_offset vs rating1_horizontal_offset

tame kettle
#

Is this what you want?

limpid patio
#

@amber idol uparrow

amber idol
#

i did notice a bunch of spaces that somehow got in there and removed them. here's the most recent log and some screenshots:

ripe marshBOT
#

📝 If you want to review this again, sheck_182:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

tame kettle
#
  Kometa-One-Movie:
    overlay_files:
    - default: ratings
      template_variables:
        rating1: user
        rating1_image: imdb
        rating2: audience
        rating2_image: rt_popcorn
        horizontal_position: left
        vertical_position: bottom
        rating_alignment: horizontal

    operations:
      mass_user_rating_update: imdb
      mass_audience_rating_update: mdb_tomatoesaudience
amber idol
#

that's exactly what i want

tame kettle
#

You appear to be making it way more difficult than it is. No need to mess with offsets.

#
Kometa-One-Movie:
    overlay_files:
    - default: ratings
      template_variables:
        rating1: user                # imdb first
        rating1_image: imdb
        rating2: audience            # then tomatoes
        rating2_image: rt_popcorn
        horizontal_position: left    # positioned on the left side
        vertical_position: bottom    # at the bottom
        rating_alignment: horizontal # in a horizontal alignment

    operations:
      mass_user_rating_update: imdb
      mass_audience_rating_update: mdb_tomatoesaudience
amber idol
#

apparently I was... goes to show how new I am to YAML and overlays... I did like the bigger font though, and is it possible to remove the small spacing between the two ratings?

tame kettle
#

This is just the minimal example of the primary thing you said you were having trouble with.

#

If you want a larger font add those template variables.

#

If you want to put them closer together you will have to mess with offsets, but those offsets are all relative to the start of the block of ratings, not to the previous rating.

limpid patio
#

if I read the defaults file correctly, the default for rating2_horizontal_offset is 345, so maybe try setting rating2_horizontal_offset: 330

amber idol
#

thank you!

ripe marshBOT
#

This post has been marked as Resolved and has now been closed.

You cannot reopen this thread - you must create a new one or ask a member of staff to reopen it in #general-chat.

Thanks for using Kometa.