#Suppressing operation overlays

1 messages · Page 1 of 1 (latest)

quartz hearth
#

I am trying to suppress the status (and network) overlays on an overlay I'm testing which should apply when a TV shows final ever episode has aired in the past 30 days. I'm testing just with the status for now, but can't find a way to suppress it.

bright oysterBOT
#

Welcome Back!

sponsor Thanks for being a PMM Sponsor, we greatly appreciate it! Your ticket will now be diverted to <@&1097919568334311495>.

Please provide any logs if you think they're relevant to your post.

#

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

quartz hearth
#
    name: FINALE
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30
    suppress_overlays: 
       - airing_shows
       - returning_shows
       - canceled_shows
       - ended_shows```
opal root
#

Well, that's clearly not working as expected:

|   Overlays Applied: Overlay File (0) TOP, Overlay File (0) FINALE, Overlay File (1) ended_shows, Overlay File (2) Max |

Perhaps the suppressed overlays have to be in the same file?

You could try the group/weight thing or modify a copy of the built-in status overlay.

calm perch
#

group might work but i think they need to be in the same file

quartz hearth
#

Yea this is what I thought from the start, that i couldn't suppress operation overlays in my overlay config

#

So that means I can't use the operations and have to 'rebuild' the operations overlays into my overlay config in order for this to work?

opal root
#

I'm not sure how you're using "operations" here.

#

If you want to extend an existing overlay in ways that are not covered by the provided customizations, you have ot make your own copy of that file and add your custom stuff.

quartz hearth
#

Is there multiple ways to use operations? I just have PMM: status under operations in my main config file

opal root
#

PMM: status under operations

If that's the status overlay it doesn't go under operations and no one would be paying attention to it there.

quartz hearth
#

Not sure what you mean with your last sentence there

opal root
#

The config file you've provided doesn't have an operations section under TV.

quartz hearth
#

sorry I was confused

opal root
#

The word operations has a specific meaning in PMM, and it's nothing directly to do with overlays.

quartz hearth
#

it's not an operation it's under overlay_path.. sorry for using the word operations this whole time

#

yup, my bad

opal root
#

Right, the default metadata files [collections or overlays] have specific, defined customizations available. If you want to customize them in a way that isn't accounted for in that setup, you can either:

  1. abandon the default and implement your own solution
  2. make a copy of the default and bend it to your will.
quartz hearth
#

ok so to summarize: I cannot suppress the pmm: status from overlays in my TV_Overlays.yml? So I'll have to create the status overlays within my TV_Overlays.yml?

opal root
#

Seems that way.

quartz hearth
#

okay TIL/TWL. Thanks for the fast support as always

opal root
#

I don't know if you've tried the group thing, but if you have and it hasn't worked, then I guess that's not an option either.

quartz hearth
#

you mean suppress_overlays: status?

opal root
#

no, defining your overlay to be part of the same group and using weights to push yours up to the top.

calm perch
#

group: status

#

is the group for the status overlay

#

highest weight is 40

quartz hearth
#
    name: FINALE
    group: status
    weight: 50
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30
    suppress_overlays: 
       - airing_shows
       - returning_shows
       - canceled_shows
       - ended_shows```
#

?

opal root
#

Wouldn't need suppress_overlays

quartz hearth
#

ofc

opal root
#

I can only respond to what you enter here.

quartz hearth
#

I meant that as 'ofcoure.. makes sense. I'm dumb' 🙂

#

this sounds like it should work.. I didn't try it this way. Testing now

#

Overlay Error: group attribute not allowed in an overlay file

calm perch
#

it is but it has to go under

overlay:

like this

#
templates:
  Streaming:
    optional:
      - use_<<slug>>
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 15
      horizontal_align: center
      vertical_offset: 15
      vertical_align: bottom
      weight_<<key>>: <<weight>>
      style: Round
    ignore_blank_results: true
    mdblist_list:
      url: https://mdblist.com/lists/plexmetamanager/<<type>>-<<library_type>>s/
    overlay:
      name: <<overlay_name>>
      group: stream  ### HERE
      style: <<style>>
      weight: <<weight_<<key>>>>
      horizontal_offset: <<horizontal_offset>>
      horizontal_align: <<horizontal_align>>
      vertical_offset: <<vertical_offset>>
      vertical_align: <<vertical_align>>
      git: anon_fawkes/overlays/images/<<overlay_name>>-<<style>>
#

or like this

#
external_templates:
  pmm: templates
  template_variables:
    group: status
quartz hearth
#
    overlay:
      name: FINALE
      group: status
      weight: 50
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30```
#

like this?

calm perch
#

looks good. if that doesnt work try

external_templates:
  pmm: templates
  template_variables:
    group: status
FINALE:
  name: FINALE
  weight: 50
  plex_all: true
  filters:
    tmdb_status: ended, canceled
    last_episode_aired: 30
quartz hearth
#

ok so that works. however... I also use PMM: Network, which is in a different group, logically..

#

And I assume you cannot assign it to multiple groups..?

calm perch
#

i dont think so

quartz hearth
#

so it succesfully suppressed the status this way

calm perch
#

you might be able to have 2 seperate files both identical but in different groups

#

and just run it 2 times

#

so movie_overlays.yml

  FINALE:
    overlay:
      name: FINALE
      group: status
      weight: 50
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30

movie_overlays2.yml

  FINALE:
    overlay:
      name: FINALE
      group: networks
      weight: 50
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30
#

you could try

  FINALE:
    overlay:
      name: FINALE
      group:
        - status
        - networks
      weight: 50
    plex_all: true
    filters:
      tmdb_status: ended, canceled
      last_episode_aired: 30

I doubt this would work though

quartz hearth
#

nope

#

it doesn't really give an error but it now applies both status and network again

#

ok.. so I have my answers. thanks a bunch both of you

#

I'm either gonna create an overlay in a different position maybe so I don't have to suppress the defaults, or drop it