#How can I change the poster on a tv episode?

1 messages · Page 1 of 1 (latest)

silk ether
#

Hey!
Basically, due to unknown reasons, these two episodes are getting the same poster, which is wrong. I would like to either get the correct poster or fix the wrong one. The problem is that when PMM runs it overrides my updated poster and I can't just remove the PMM or OVERLAY label like I do for movies because episodes don't seem to have labels

Thanks!

young ospreyBOT
#

Welcome @silk ether!

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.

sullen scroll
#
collections:
  Remove Overlay Labels:
    build_collection: false
    builder_level: episode
    item_label.remove: Overlay
    plex_search:
      all:
        episode_label: Overlay
        title:  NAME OF SHOW HERE
#

that will remove the Overlay label for episodes of that show

#

you could add episode_title within the all if you only want to do it for one episode

hushed panther
#

Or use the asset directory to set the new image.

silk ether
#

how could I achieve that @hushed panther ?

remote rampartBOT
#

When PMM applies an overlay, it attaches an Overlay label to the item so that it knows what has an Overlay and what does not. If you [or plex] changes the image, then PMM has no way of knowing this. The easiest way to force overlays to apply to a "new" image is to remove the Overlay label either before or after you change the image.

Unfortunately, Plex does not display the labels attached to Seasons or Episodes, so we have to use collections to force a remove of these labels (we make sure the collection isn't actually built).

Removing Season Overlay Label
collections:
  Remove Overlay Labels:
    build_collection: false
    builder_level: season
    item_label.remove: Overlay
    plex_search:
      all:
        season_label: Overlay
        title:  NAME OF SHOW HERE
Removing Episode Overlay Label
collections:
  Remove Overlay Labels:
    build_collection: false
    builder_level: episode
    item_label.remove: Overlay
    plex_search:
      all:
        episode_label: Overlay
        title:  NAME OF SHOW HERE
hushed panther
silk ether
#

Perfect! Thanks!

silk ether
#

also, any idea to why it is grabbing the wrong poster @hushed panther @sullen scroll ?

hushed panther
#

not without any specifics, no.

#

probably the asset has the wrong name

sullen scroll
#

how is it grabbing the "wrong" poster?

hushed panther
#

or is in the wrong place

#

or assets_for_all isn't set

sullen scroll
#

the image on the right was the selected image when PMM ran

#

PMM took that image and applied the overlay, which is the bottom image you see

hushed panther
#

Yep.

#

And then you changed the image in Plex?

sullen scroll
#

That image must have come from TMDb or TVDb or something

#

If you change the image in Plex to say the 1st or 2nd image, you need to also remove the Overlay label from Plex (not doable within the Plex UI for episodes, you need to use the YAML I posted above)

#

or use the asset pipeline as Carrot advised

silk ether
#

sorry

#

i will explain

#

I see two exact posters for two different episodes

#

episode 8 should have another poster

#

episode 8 (incorrect)

#

Episode 7 (correct poster)

sullen scroll
silk ether
#

how can I fix it on my end?

#

I didn't do anything weird

sullen scroll
silk ether
#

but did you have to do that as well?

sullen scroll
#

they have the same image for two episodes

#

probably sourced from TMDb/TVDb or another place they source their images from

silk ether
#

but I why you didn't have a problem

#

and I did?

sullen scroll
#

I'm not sure I understand

#

I have the exact same posters that you have?

silk ether
#

yes

#

But in my instance, the wrong one gets selected

#

in yours not, you got the professor one

sullen scroll
#

That's up to Plex what it selects

silk ether
#

that's weird then

#

I see what you are saying

sullen scroll
#

I have my metadata refresh every few days

#

so maybe that's part of why

silk ether
#

is that a plex setting?

sullen scroll
#

It is, within the Scheduled Tasks page, "refresh library metadata periodically"

#

but I also use PMM to force metadata refreshes

sullen scroll
silk ether
#

and what do you gain from those refreshes?

sullen scroll
#

Need to go to sleep

silk ether
#

got it

#

thanks for your help!!

silk ether
hushed panther
#

it entirely depends on what you are having PMM do, what gets updated, and whether you deem those things "messing up".

#

Generally, when PMM changes a field, it locks that field, so metadata updates won't overwrite what you put there.

silk ether
#

I just use PMM to create overlays and for a few collections

viscid torrent
silk ether
#

I am trying that was suggested above @hushed panther

#

and I am getting an error

#

where should I put that?

#

is it nested in the libraries part?

hushed panther
#

Trying what?

What error?

silk ether
young ospreyBOT
#

The following was shared by @silk ether 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.

silk ether
#

I am trying to use that

#

And I am getting an error that my yml is wrong

hushed panther
#

Just that? "Your YAML is wrong"?

silk ether
#

sorry

hushed panther
#

That collections section does not go in the config.yml.

silk ether
#

oh, that is why

#

then where should I put it?

#

and what can I comment from my main config.yml?

hushed panther
#

This:

    collections:
      Remove Overlay Labels:
        build_collection: false
        builder_level: episode
        item_label.remove: Overlay
        plex_search:
          all:
            episode_label: Overlay
            title:  Rick and Morty

goes in a file called, for example, rafa130397.yml in your config folder.

Then you link to that file in your config like this:

  TV Shows:
    metadata_path:
    - file: config/rafa130397.yml
#

and what can I comment from my main config.yml?

I can't answer that as asked. You can comment lots of things depending on your goals.

silk ether
#

my goal would be to minimize the unnecessary things now

#

since I look to just remove the label

#

and don't want to run the other stuff to save time

hushed panther
#

If you want to control what gets run, you can do that without editing the config.

#
python plex_meta_manager.py --collections-only "Remove Overlay Labels"
silk ether
#

got it

#

thanks a lot

#

btw, why am I not seeing an assets folder?

#

I have this: asset_directory: config/assets
But the only folders I have are overlays and logs

viscid torrent
#

did you create a folder?

#

pmm won't create your initial assets folder

silk ether
#

I haven't!

#

Do I need it?

viscid torrent
#

are you using assets? if so, then yes that is where it looks for the assets. pmm won't save any files there; except files downloaded using the setting download_url_assets: true other than that, you need to put assets there

silk ether
#

I dont even know what assets are

#

So I probably dont need them right?

viscid torrent
#

nope

silk ether
#

thanks!