#Overlay only adding tmdb

1 messages ยท Page 1 of 1 (latest)

sturdy matrixBOT
#

๐Ÿ“ If you want to review this again, sailoroftheseas.:
: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> ๐Ÿ“

#

Welcome @thorny galleon!

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

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

#

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

sturdy matrixBOT
#

Trying to get two ratings, I was trying to have IMDB bottom left which I have working in my main TV library and then add in TMDB bottom right. After the run on a test library it has only added TMDB rating on the bottom right. Not sure what I have done wrong in the config?

sturdy matrixBOT
#

๐Ÿ“ If you want to review this again, antwanchild:
: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> ๐Ÿ“

sturdy matrixBOT
# sturdy matrix
**User Info**

Author of Linked Message: Luma
Person who Invoked the Command: Antwan
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation โœ…
Page 05: Plex Configuration - Section 1
Page 06: Rec 01 - โŒ ANIDB AUTH ERRORS
Page 07: Rec 02 - โŒ๐Ÿ”’ BLANK API KEY ERROR
Page 08: Rec 03 - โŒ [ERROR]
Page 09: Rec 04 - โŒ MY ANIME LIST CONNECTION ERROR
Page 10: Rec 05 - โŒโฐ PMM SCHEDULED TIME CONFLICT
Page 11: Rec 06 - โš ๏ธ [WARNING]
Page 12: Rec 07 - โš ๏ธ NO ITEMS FOUND IN PLEX
Page 13: Rec 08 - โš ๏ธ LEGACY SCHEMA DETECTED
Page 14: Rec 09 - ๐Ÿ’ฌ๐Ÿ’ก๏ธ PLEX DB CACHE ADVICE
Page 15: Rec 10 - ๐Ÿ’ฌ๐ŸชŸ๐Ÿง WSL MEMORY RECOMMENDATION

sturdy matrixBOT
old seal
#

libraries:
  Movies:                         ## <<< CHANGE THIS LINE
    metadata_files:
    remove_overlays: false
    reapply_overlays: false``` is not correct
```yaml

libraries:
  Movies:
    remove_overlays: false
    reapply_overlays: false
    metadata_files:    ## THIS LINE ISN'T NEEDED AS THERE IS NOTHING HAPPENING IN METADATA
#

I THINK IN THE ratings, i think you need horizontal_position instead of horizontal_align

#

@thorny galleon see above

thorny galleon
#

Ok, will give that a try

#

It all worked before I added the ratings2 and that is when it stopped adding IMDB on the left and only adding TMDB on the right. I had to add those lines like that before because it would not align the IMDB rating to the left without it. Will defo give you way a try and see.

old seal
#

i'm pretty sure you were probably overlaying on top of each other

thorny galleon
#

No, it's just moved both to the middle left

sturdy matrixBOT
#

The following was shared by @thorny galleon and was automatically redacted by Luma as it may have contained sensitive information.

If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.

old seal
#

so horizontal_position is a position for the group. so you just use horizonal_position, not rating1_horizontal_position.

thorny galleon
#

But then how do I do that for the 2nd rating?

#
      template_variables:
        rating1: critic
        rating1_image: imdb
        rating1_alignment: left
        horizontal_position: left
        rating1_horizontal_align: left
        vertical_position: bottom
        rating1_vertical_align: bottom
        rating2: user
        rating2_image: tmdb
        rating2_alignment: right
        horizontal_position: right
        rating2_horizontal_align: right
        vertical_position: bottom
        rating2_vertical_align: bottom ```yaml
sturdy matrixBOT
#

YAML checked and is NOT valid. Error message:

mapping values are not allowed here
in "<unicode string>", line 2, column 25:
template_variables:
^

thorny galleon
#

That gives duplicate error

old seal
#

right, it is a duplicate. but per the wiki it isn't a variable for each individual rating.

sturdy matrixBOT
#

YAML checked and is NOT valid. Error message:

while scanning a simple key
in "<unicode string>", line 3, column 5:
template_variables
^
could not find expected ':'
in "<unicode string>", line 4, column 5:
rating1: critic
^

old seal
#

i might have been wrong, so i want to see the logs. but horizontal_position, is a variable for the group. so i know that is one that can't be slit

thorny galleon
#

Iโ€™ve actually just turned the machine off as heading to bed after night shift. I will send them over when I wake ๐Ÿ‘๐Ÿป

stone basin
#
- pmm: ratings
  template_variables:
  rating1: critic
  rating1_image: imdb
  rating1_alignment: left
  rating1_vertical_position: bottom
  rating1_horizontal_position: left
  rating2: user
  rating2_image: tmdb
  rating2_alignment: right
  rating2_vertical_position: bottom
  rating2_horizontal_position: right
stone basin
stone basin
#

These can be prepended with rating1_, rating2_, or rating3_ to change that attribute on each rating individually.

#

The wiki does state the variables can be used with rating#

old seal
#

@stone basin he tried that. When I suggested that above. And posted the screenshot. I noticed the wiki said that, but then for the position does say itโ€™s for the group. So thatโ€™s why I was questioning myself

stone basin
#

thats why it failed

#

also the wiki clearly shows it can use rating# to any of the variables

old seal
#

The dupes were what he tried after

stone basin
old seal
#

Right. Iโ€™m not negating that. Just telling you we tried that and there wasnโ€™t dupes and both were on the left

stone basin
#

i dont see anywhere where they tried what i put

#

i see

    - pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: imdb
        rating1_horizontal_position: left
        rating1_vertical_position: bottom
        rating2: user
        rating2_image: tmdb
        rating2_horizontal_position: right
        rating2_vertical_position: bottom
#
    - pmm: ratings
      template_variables:
        overlay_level: episode
        rating1: critic
        rating1_image: imdb
        rating1_horizontal_align: left
        rating1_alignment: horizontal
        rating1_vertical_align: bottom
        rating1_vertical_position: bottom
        rating2: user
        rating2_image: tmdb
        rating2_horizontal_align: right
        rating2_alignment: horizontal
        rating2_vertical_align: bottom
        rating2_vertical_position: bottom
#

and

- pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: imdb
        rating1_alignment: left
        horizontal_position: left
        rating1_horizontal_align: left
        vertical_position: bottom
        rating1_vertical_align: bottom
        rating2: user
        rating2_image: tmdb
        rating2_alignment: right
        horizontal_position: right
        rating2_horizontal_align: right
        vertical_position: bottom
        rating2_vertical_align: bottom 
high vector
#

im not sure vertical_position and horizontal_position can be set per rating

#

ill probaly need to update the wiki

stone basin
#

ok then run ratings 2 times. one with each rating

#

thatll make one bottm left and one bottm right

high vector
#

you can set their positions using horizontal_offset and vertical_offset with the prefixes

stone basin
#

or that

high vector
#

but the _position vars control the group as a whole

#

IIRC

old seal
#

the 2 ratings was what we were going to try next, but the both of us were heading to bed

stone basin
#

im testing it now

high vector
stone basin
#

@high vector

old seal
#

but his config.yml here #1196275904402432040 message did have them left and right which didn't work, and then i had said what sohjiro stated that it's a group variable.

stone basin
#

yea change wiki @high vector

old seal
#

but can you do 2 ratings, and have one left and one right? i was honestly trying to help and we just hadn't made it that far yet. that was my next suggestion, but then we were both going to bed. so i removed my message

stone basin
#

soh already said what to do

#

you can set their positions using horizontal_offset and vertical_offset with the prefixes

#

rating1_horizontal_offset rating2_horizontal_offset and rating1_vertical_offset and rating2_vertical_offset

old seal
#

ok, thanks anon

thorny galleon
#

Sorry all, I havenโ€™t had a chance to try yet as just off nights and the kids are sick. Can this be left open, should get it tried this evening on the test library and will report back. Thanks for the help

thorny galleon
thorny galleon
fickle plaza
thorny galleon
#

yeah, let me show

fickle plaza
thorny galleon
#
  • pmm: ratings
    template_variables:
    rating1: critic
    rating1_image: imdb
    rating1_alignment: left
    rating1_vertical_position: bottom
    rating1_horizontal_position: left
    rating2: user
    rating2_image: tmdb
    rating2_alignment: right
    rating2_vertical_position: bottom
    rating2_horizontal_position: right
    • pmm: ratings
      template_variables:
      overlay_level: episode
      rating1: critic
      rating1_image: imdb
      rating1_alignment: left
      rating1_vertical_position: bottom
      rating1_horizontal_position: left
      rating2: user
      rating2_image: tmdb
      rating2_alignment: right
      rating2_vertical_position: bottom
      rating2_horizontal_position: right
fickle plaza
#

I'd be dialing this way back while you're testing. No need to process every episode with every trial while you're trying to dial it in.

thorny galleon
fickle plaza
#

If you skip doing the episode-level overlay until you have it worked out on the shows, each test will take far less time.

#

and produce far less bloat in Plex.

#

If you run these tests at only the show level in a library with one show in it, they'll be done in seconds.

#

This article, starting at about page 60, contains a bunch of examples of pushing the ratings overlays around the poster.

#

Is this what you want?

#
libraries:
  Some-Shows:
    overlay_files:
    - pmm: ratings
      template_variables:
         rating1: critic
         rating1_image: imdb

         rating_alignment: horizontal
         vertical_position: bottom
    - pmm: ratings
      template_variables:
         rating2: user
         rating2_image: tmdb

         horizontal_position: right
         rating_alignment: horizontal
         vertical_position: bottom
    operations:
      mass_critic_rating_update: imdb
      mass_user_rating_update: tmdb
thorny galleon
thorny galleon
#

And just like that.... we have our self a winner!!

#

Absolute hero!!! Thanks to all for the help. Looking at what you sent, I understand it now. So the default is left, horizontal. So you don't need to amend the horizontal but only the vertical placement. Then you run a separate for the right and give it both the horizontal & vertical.

thorny galleon