#Overlays for shows still giving <<runtimeH>>h <<runtime instead of actual runtime

1 messages · Page 1 of 1 (latest)

unreal tiger
#

so I thought I had the runtime overlay configured correctly but I'm not sure what I'm doing wrong at this point. It worked until a recent update but now as you can see I'm not getting the overlay on the episodes. Ideally I would want shows and seasons to have one overlay and individual episodes to have another

libraries:                                      # Library mappings must have a colon (:) placed after them
  Movies:
    metadata_path:
    - git: meisnate12/Movies
    - git: meisnate12/Holiday
    - git: meisnate12/IMDBGenres
    - git: meisnate12/MovieCharts
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: runtimes

  TV Shows:
    metadata_path:
    - git: meisnate12/Networks
    - git: meisnate12/ShowCharts
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
    - pmm: runtimes
      template_variables:
          overlay_label: episode

Anime Shows:
    metadata_path:
    - git: Draper/Anime/Charts
    - git: meisnate1q2/ShowCharts
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
    - pmm: runtimes
      template_variables:
          overlay_label: episode

  Cartoons:
    metadata_path:
    - git: meisnate12/Networks
    - git: meisnate12/ShowCharts
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
    - pmm: runtimes
      template_variables:
          overlay_label: episode
inner skiffBOT
#

Welcome!

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.

unreal tiger
#

I recently tried having reapply overlay on because I thought maybe I gummed something up when I changed the config for runtime but it's been about a week and nothing is lookin right

midnight dust
#
    - pmm: runtimes
      template_variables:
        overlay_level: episode```
#

you have overlay_label

unreal tiger
#

lmao... was that typo the entire problem

midnight dust
#

it is yes

unreal tiger
#

so do I move things below overlay_Level that I want on the episode overlay, and then for the show itself above that?

midnight dust
#

it only works on episodes so its being placed everywhere but it gives it what your seeing because it only works on episodes

midnight dust
unreal tiger
#

oh!

#

sorry I thought you could fine grain it like that

midnight dust
#

otherwise it does what your seeing now

#

yea runtimes doesnt work on the show or season level unfortunately. PMM cant do math like that. It would be nice. You could open a feature request for it if one isnt open already. IDK if its possible for pmm to even do that

unreal tiger
#

that would be super cool but it's sooo less important than this. I'll peep the requests though 🙂

midnight dust
#

we need to fix the wiki for this also because it does show in the example how you have it

unreal tiger
#

so just to confirm I can't have say one overrlay for the show itself, one per season and one per episode?

midnight dust
#

well you can

unreal tiger
#

^ I thought I was going crazy

midnight dust
#

just not runtimes

unreal tiger
#

are the docs right for what I just asked?

midnight dust
#

for runtimes no. runtimes ONLY works on episodes and movies.

unreal tiger
#

it would greatly help me troubleshoot for example to see say season X has languages XYZ

#

yeah that's fine

#

diff overlays

midnight dust
#

yea any other overlay can do

overlay_level: season
overlay_level: episode

just doing - pmm: <overlay name> will do the show level

#

so languages would be

- pmm: languages
- pmm: languages
  template_variables:
    overlay_level: season
- pmm: languages
  template_variables:
    overlay_level: episode

this will place them on all 3 levels

unreal tiger
#

Gimme a min to try and make what I think I want. So no overlay level is the highest, the show itself

#

alright I'm still playing with it but I think i get the gist. So this works as I'd think it does?

TV Shows:
    metadata_path:
    - git: meisnate12/Networks
    - git: meisnate12/ShowCharts
    overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
      template_variables:
          overlay_level: season
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
      template_variables:
          overlay_level: episode
    - pmm: runtimes
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
midnight dust
#

ok so this is another one that wont work lol

#

status is show only

unreal tiger
#

that.. makes sense

midnight dust
#

but yea thats gist of it though

unreal tiger
#

yeah I'm on that page workin on grokking it lmao

midnight dust
#

but "if it did work" that would of put it on season and episode only and not on show

unreal tiger
#

status isn't on show in that block?

#

ya lost me

midnight dust
#

if you want it on all 3 you have to call the yml 3 times

midnight dust
#
- pmm: languages
- pmm: languages
  template_variables:
    overlay_level: season
- pmm: languages
  template_variables:
    overlay_level: episode

^ All 3

- pmm: languages
  template_variables:
    overlay_level: episode

^ Episode only

- pmm: languages
  template_variables:
    overlay_level: season

^ Season Only

- pmm: languages

^ Show Only

unreal tiger
#

my brain hates that that is all 3

midnight dust
#

you had

- pmm: status
  template_variables:
    overlay_level: episode
- pmm: status
  template_variables:
    overlay_level: season

^ This will do season and episode only

unreal tiger
#

but I'll take your word for it

#

so I basically thought anything below templatevariables would apply to whatever the overlay level was

midnight dust
#

isnt that what it is? I guess Im not sure what you mean. Doing

- pmm: languages
- pmm: languages
  template_variables:
    overlay_level: season
- pmm: languages
  template_variables:
    overlay_level: episode

will place the language overlay on the show, season poster and episode titlecard. That overlay could be different between all 3. If you have an anime that is mostly japanese audio but you have an episode that is english only, that episode would get the US flag

unreal tiger
#

so just glancing at that block makes me think top one is default (show) and then I guess season takes the one directly above it to add lang to season? And epi does the same?

#

oh wait

#

are you saying I need to type template and overlay level for EVERY overlay I want on season/show?

midnight dust
#

yea

unreal tiger
#

see I was reading the yaml as "everything below this goes in episode/season"

midnight dust
#

so if you want audio codec on both show and episode it would be

- pmm: audio_codec
- pmm: audio_codec
  template_variables:
    overlay_level: episode
unreal tiger
#

one sec one last try lol

#
overlay_path:
    - remove_overlays: false
    - reapply_overlay: false
    - pmm: resolution
    - pmm: languages
    - pmm: mediastinger
    - pmm: ratings
    - pmm: status
      template_variables:
          overlay_level: season
    - pmm: resolution
      template_variables:
          overlay_level: season
    - pmm: languages
      template_variables:
          overlay_level: season
    - pmm: mediastinger
      template_variables:
          overlay_level: season
    - pmm: ratings
      template_variables:
          overlay_level: episode
    - pmm: runtimes
      template_variables:
          overlay_level: episode
    - pmm: resolution
       template_variables:
          overlay_level: episode
    - pmm: languages
      template_variables:
          overlay_level: episode
    - pmm: mediastinger
      template_variables:
          overlay_level: episode
    - pmm: ratings
#

okay I know this is a bit extra but I think I want this?

sleek rapids
#

That dangling PMM: ratings is gonna be a problem like that

unreal tiger
#

eff

#

so I need one more

#

then it's good

sleek rapids
#

Ratings is a little more special

#

And since I don’t see all your config, it’s hard to know whether you decided to stop the paste early or not

midnight dust
#

yea ratings needs template_variables always as well

unreal tiger
#

below that ratings at the bottom is Anime Shows:

#

so the next library

sleek rapids
#

We typically like to group the parents together and then the variables….

sleek rapids
#

So three lines per item within the tv shows section

unreal tiger
#

you know what I just realized ratings -isn't- in my overlay currently

sleek rapids
#

People usually prefer to group by yml and not by season and episode

unreal tiger
#

oh I see in the docs why

#

sorry bullmoose, do you have a link to that? I've just been piecing things together from the wiki

midnight dust
#

what he means is this

#
- pmm: audio_codec
- pmm: audio_codec
  template_variables:
    overlay_level: episode
#

putting the same overlay together

sleek rapids
#

Oh my… and here I was thinking that you started by copying our example which has all of what you needed.

#

Let me go grab the link

midnight dust
#

and not

- pmm: audio_codec
- pmm: status
- pmm: audio_codec
  template_variables:
    overlay_level: episode
unreal tiger
#

nah man I'm totally stupid when it comes to PMM I'm ngl

#

I'

#

I was content I had it working at all before

midnight dust
#

so pmm runs in order. It goes in order by library in your config.yml. So if movies is first, it does movies and goes line by line in your config. putting overlays together is more aesthetic than anything tbf

sleek rapids
#

If you look at the TV Shows section, in that config example, you will see how we typically build the config files and how we group things in the overlays section by “threes”

unreal tiger
#

looking at that example config I know why I did literally anything else

#

that is waaaaaaaaaaay more than I wanted to start with

#

I know it's an example but god PMM is so powerful

#

I'm not anywhere close to that level of usage yet

sleek rapids
#

I am suggesting that you look at the sections you want

midnight dust
#

my config file is longer lol

sleek rapids
#

However, you are using 6 of the overlays which is like 50% of what is there… so you are slowly building up the above and it’s looking more and more like the full example. 😉

unreal tiger
#

lmao

#

after a year or two of tinkering finally getting there

sleek rapids
#

We group them that way in the tv shows section so you can copy and paste the “threes” and paste them into yours as you want.

#

When I say threes, we mean, the show poster, the season poster, and the episode poster.

unreal tiger
#

as much as I like minimalism, the second I realized I can use overlays to figure out what I need to remove extra audio tracks from and like see at a glance in the library what is what quality.. then I started diving in more

sleek rapids
#

Yup.

#

Duplicates

#

Which is the versions overlay

#

At a glance, if you see the versions overlay applied, you know that the media is duplicated in your library

unreal tiger
#

see I didn't even know overlays could do that

#

now you're makin me go look at the overlays to see what else i missed lol

sleek rapids
#

I suggest you try out and get things organized as is, and then add a section at a time….

#

However in the shows, a section at a time usually means 3+lines at a time

unreal tiger
#

with 186 TB it certainly takes an adventurous amount of time to complete

sleek rapids
#
    - pmm: versions                                 # Will show duplicates for that media item and works with overlay_level show, episode, and season
      template_variables:
        overlay_level: episode
    - pmm: versions                                 # Will show duplicates for that media item and works with overlay_level show, episode, and season
      template_variables:
        overlay_level: season
    - pmm: versions                                 # Will show duplicates for that media item and works with overlay_level show, episode, and season
      template_variables:
        overlay_level: show
unreal tiger
#

speaking of, isn't there a way to hook pmm to discord to spit out what it changed on complete?

sleek rapids
#

So…. I probably missed the size of your library

unreal tiger
#

I didn't say it in this ticket :S

#

what's the prrob

sleek rapids
#

Can you create a smaller subset of your library?

unreal tiger
#

ehh I'm fine just letting it look willy wonky for awhile till I get it sorted

#

it's had the bug in the OP for a week or two

sleek rapids
#

Like maybe 2 shows with a couple of seasons and a couple of episodes per season?

midnight dust
#

yea my runs are insane because of the size of my library. almost 24 hour runs

unreal tiger
#

this is a bit of an ask but what's the bottleneck for yall

sleek rapids
#

You don’t want to experiment with overlays on 186 TB library

unreal tiger
#

CPU cycles?

midnight dust
#

ive chopped off alot of my time though recently because i moved episode stuff to TCM though. I dont do much episode stuff with pmm anymore

unreal tiger
#

thought about it but I figure I'll start with this

midnight dust
#

i mean im using 8 dedicated cores of an EPYC

#

with 32gb ram

#

and my runs are still long af

unreal tiger
#

15 core VM in proxmox hjere

#

only 21 gigs of ram though

#

need more

sleek rapids
#

Honestly, sometimes it’s just Plex

midnight dust
#

yea the api is trash. pmm crashes my plex

sleek rapids
#

You might run out of ram depending on what you do

midnight dust
#

its frustrating

sleek rapids
#

Overlays can be very memory intensive although we have made improvements in 1.19

midnight dust
#

its that stupid sql sleep error over and over

unreal tiger
#

does pmm just crash if I run out of ram and swap

sleek rapids
unreal tiger
#

mm I should increase swap

midnight dust
#

when plex crashes its not so much crashing, its just not responsive in the UI but pmm is running fine

#

and 9 times out of 10 I have to restart because someone is watching plex and telling me it isnt working or the show throws a playback error and then wont load and i lose pmm progress

sleek rapids
#

So here is the other thing… if PMM stops because Plex stops responding then you get wonky overlays

#

Because they are partially applied

midnight dust
#

yea i havent had that yet

#

its just plex UI wont load

unreal tiger
#

honestly I have a lot of frankly cursed and haunted issues in my ecosystem. Not sure if it's the NAS. The HDDs. Plex. Opnsense or the network in general

#

and I can't for the life of me troubleshoot them

#

just gremlins in the machines

#

it's like no matter how many parts I 100% replace with new the issues persist

#

I memtest all ram, smart test all drives

sleek rapids
#

Well… as I mentioned, it will save you lots of time, pain, agony if you just create a small test library as I mentioned

#

Run your tests against that and when you are happy let’r rip on the full library

midnight dust
#

yea I have multiple test librarys I hide from everyone

#

one for anime, one for movies and one for tv

sleek rapids
#

And they don’t have to be large… but it becomes your baseline for trying things out with PMM

midnight dust
#

nope. each of mine only has like 5 things in them

sleek rapids
#

I am also noticing some legacy stuff in your config.yml file in OP

#

Like the git references. I’d probably consider commenting/removing those

midnight dust
#

well thats from the config repo

#

but they havent been updated in a while

sleek rapids
#

It’s legacy and I don’t think it’s updated to support 1.19

midnight dust
#

it is

sleek rapids
#

Plus look at the line under anime

#

Notice the typo?

midnight dust
#

well actually i dont know if those specific ymls work on 1.19 but you can use - git to call the config repo

#

hold on

#

- git: meisnate1q2/ShowCharts

#

lol

unreal tiger
#

uuuhhhmmm

sleek rapids
#

So that definitely would not work

midnight dust
#

but alot of the config repo stuff from soh is built into pmm now

unreal tiger
#

is there an updated wiki page for the new uh. Like if I just wanna go steal something out of the config showcase

sleek rapids
#

Hmmm well… it’s a bit of a hit and miss sometimes

#

Because PMM progresses and then there are old configs that don’t get updated

#

So they fail

unreal tiger
#

fak

sleek rapids
#

But some will continue to work

#

Hence… hit or miss

unreal tiger
#

the lifeblood of pmm to me is someone somewhere curating good collections cause I sure as hell don't have that time

sleek rapids
#

However, the defaults as we call them are usually very well tested

#

For what you are referencing in the OP, you should probably use the defaults

#

All the collections you are referencing are all done in the defaults, plus more

#

And as for overlays, we have a bunch more as well compared to OP.

unreal tiger
#

sold

sleek rapids
#

libraries:                                      # Library mappings must have a colon (:) placed after them
  Movies:
    metadata_path:
    - git: meisnate12/Movies
    - git: meisnate12/Holiday
    - git: meisnate12/IMDBGenres
    - git: meisnate12/MovieCharts
#

That could be replaced with:

#
libraries:                                      # Library mappings must have a colon (:) placed after them
  Movies:
    metadata_path:
    - pmm: seasonal
    - pmm: genre
    - pmm: basic
    - pmm: other_chart
unreal tiger
#

I'll dig into the defaults before I kick it off again

sleek rapids
#
libraries:                                      # Library mappings must have a colon (:) placed after them
  TV Shows:
    metadata_path:
    - pmm: network
    - pmm: separator_chart                          # An "index card"
    - pmm: anilist                                  # AniDB Charts (Popular, Trending, etc.)
    - pmm: imdb                                     # IMDb Charts (Popular, Trending, etc.)
    - pmm: myanimelist                              # MAL Charts (Popular, Trending, etc.)
    - pmm: other_chart

    ```
#

Those could replace your tv shows OP section as well.

#

Anyhow, lots of information… small chunks is best way to get it all going again…

unreal tiger
#

so for the main OP point I think runtimes are sorted but I won't know till I run it. Do you want me to close it now or after I confirm?

sleek rapids
#

Like we suggested, try it against a small test library. If it works on small test library, then you will know it’s fine…

unreal tiger
#

It did work btw but I have a new problem, do you want me to close this and make a new issue since they aren't really related?

distant sigil
#

Do those episodes have thumbnails?

sleek rapids
#

We can continue here.

#

Rather than a screenshot, a new log that has the run that caused this would be helpful

halcyon spearBOT
#

Find meta.log in config/logs/

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

Log file too big? USE PASTEBIN or ZIP THE FILE

Still confused? ¯\(ツ)

unreal tiger
#

ya know now that you mention it I think a majority of my episodes don't have thumbnails? Wtf? How'd that happen

unreal tiger
distant sigil
#

but that's your issue

#

PMM can't download an image since one doesn't exist

unreal tiger
#

Any idea how to... force plex to have images? Maybe I need to use that title card maker thing?

distant sigil
#

potentially yeah

#

I'm gonna close this as there's nothing PMM can really do here