#UK content rating overlay

1 messages ยท Page 1 of 1 (latest)

past hamlet
#

Hi all, I'm struggling to get UK content rating added as an overlay. This is what is in my config.yml:

All other overlays appear just fine

  Movies:
    metadata_path:      # HERE                        
    - pmm: basic
    - pmm: imdb
    - pmm: seasonal
    - pmm: oscars
#     - pmm: country
#       template_variables:
#         style: color
    overlay_path:
    - remove_overlays: false
    - pmm: ribbon
    - pmm: resolution
    - pmm: runtimes
    - pmm: audio_codec
    - pmm: mediastinger
    - pmm: content_rating_uk
    - pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: imdb
    operations:
      mass_critic_rating_update: imdb

Apologies in advance as my responses will likely be delayed

urban flameBOT
#

Welcome @past hamlet!

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.

molten vortex
#

We'll need a log.

bold mauveBOT
#

1: Go to your config folder

2: Go into the logs folder

3: Look for meta.log (not meta.1.log etc)

4: Drag it in the Discord thread - the whole thing, DO NOT EDIT IT

5: Still confused? ยฏ\(ใƒ„)/ยฏ

Log file too big? USE PASTEBIN or ZIP THE FILE

urban flameBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations... ๐Ÿ“

past hamlet
#

sorry, just rerunning, will send once available

molten vortex
#

Working fine here:

  Movies:
   overlay_path:
    - pmm: content_rating_uk
past hamlet
urban flameBOT
#

๐Ÿ“ If you want to review this again, use the command: /logscan message_link or !logscan message_link ๐Ÿ“

past hamlet
#

Will be back in a couple of hours

molten vortex
#

You're running an older version that doesn't support that overlay:

|     Version: 1.18.2 (Docker)                                                                       |
|     Newest Version: 1.19.1                                                                         |
bold mauveBOT
#

NOTE: This is addressing UPDATING your current setup, not changing from, for instance, latest to nightly.

The update method depends on how you installed it.

I'm running locally and got the code by downloading the zip file:
Download a new zip file, uncompress it, and move your config dir into that new directory. Reinstall requirements.

This is the "fussiest" method of update.

I'm running locally and retrieved the code via git:

cd DIRECTORY_WHERE_YOU_PUT_PMM
git checkout BRANCH_NAME
git stash
git stash clear
git pull

For BRANCH_NAME, substitute master, develop, or nightly

You may need to reinstall requirements if switching branch or updating to a new major version:
python -m pip install -r requirements.txt

Those stash commands are going to discard any changes you may have made to PMM's own files. If that's a concern, you are probably familiar enough with git to know what you need to do instead.

I'm using docker locally:

docker pull meisnate12/plex-meta-manager:TAG_HERE

replace TAG_HERE with latest, develop, or nightly

Then recreate your container via whatever means you used to create it [docker run, docker-compose, etc.].

I'm using docker on a NAS or some other remote context:

Update the image using whatever means the NAS provides.
Depending on the system, this might be a simple rebuild of the container, or you may need to manually pull the new image first.

past hamlet
#

thank you! I am using docker, I'll follow the above steps. I thought I had it auto-updating, clearly not!

past hamlet
#

just confirming that the UK content rating is now showing after updating the PMM version. Thank you. I do have a follow up question, and then I'll mark the thread as resolved.
Question is: is it possible to make the size of the content rating itself larger? I saw one of the template variables is font size but not actually seeing any modification through that, assuming it's not referring to the font size of the content rating itself?

unkempt shard
#

Font size is the number itself that shows and not the image.

#

So you can make the text smaller or larger.

past hamlet
#

OK so for example the "18" should look bigger?

molten vortex
#

No, these are images and there's no provision to resize them.

#

For things like ratings or status or stuff where the overlay is actually "made of text", the fontsize works. In this case you'd have to override the image with a larger one.

unkempt shard
#

You would need to create your own larger images

#

and all of those images are available in our repos for you to resize for your own purposes

past hamlet
#

thanks! will give it a shot

unkempt shard
unkempt shard