๐ 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> ๐
#Overlay only adding tmdb
1 messages ยท Page 1 of 1 (latest)
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.
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?
๐ 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> ๐
**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
Page 1/15
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
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.
i'm pretty sure you were probably overlaying on top of each other
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.
so horizontal_position is a position for the group. so you just use horizonal_position, not rating1_horizontal_position.
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
YAML checked and is NOT valid. Error message:
mapping values are not allowed here
in "<unicode string>", line 2, column 25:
template_variables:
^
That gives duplicate error
right, it is a duplicate. but per the wiki it isn't a variable for each individual rating.
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
^
actually where are the logs from this run?
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
I tried that and just puts both on the middle left. Itโs weird, Iโm honestly at a loss. I can get one bottom left or bottom right but not the two either side bottom
Iโve actually just turned the machine off as heading to bed after night shift. I will send them over when I wake ๐๐ป
- 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
You have horizontal_postition and vertical_position listed twice here so yes it's a dupe
Actually
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#
@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
but theres dupes
thats why it failed
also the wiki clearly shows it can use rating# to any of the variables
The dupes were what he tried after
Right. Iโm not negating that. Just telling you we tried that and there wasnโt dupes and both were on the left
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
im not sure vertical_position and horizontal_position can be set per rating
ill probaly need to update the wiki
ok then run ratings 2 times. one with each rating
thatll make one bottm left and one bottm right
you can set their positions using horizontal_offset and vertical_offset with the prefixes
or that
the 2 ratings was what we were going to try next, but the both of us were heading to bed
im testing it now
let me know if i need to change the wiki
@high vector
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.
yea change wiki @high vector
ok jesus christ i was wrong
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
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
ok, thanks anon
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
Gave same results, both on middle left
Just seen this, will need to try in morning. Is that trial and error with the settings till i get what i want?
Did you correct the indentation on that thing you tried?
yeah, let me show
That's the simplest thing to do. Create a library with a single show and play around to learn how the variables affect the display.
- 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
- pmm: ratings
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.
Will try tomorrow, hopefully get it right
What you mean?
presumably every test takes a day because you're running this on every episode in your production libraries.
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
I get you. I have a test library just for this of a single show. It completes in seconds but I will remember that for the future.
Mate, that is EXACTLY what I was hoping for as I have the runtime in the middle. Going to test that the now.
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.
That is a great document, so helpful! I've saved it for future use or to share with others.