#I cannot get PMM to read from my TV assets directory properly

1 messages ยท Page 1 of 1 (latest)

pearl wave
#

I've created a library with one TV show in it to keep things simple. I must be doing something dumb, but I can't see what. I'll post the log and a file structure, and hopefully someone can explain why I get things like Asset Warning: Unable to find asset folder: 'Season 01'.

wide streamBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

Including the meta.log from the beginning is a huge help use !logs for more information.

pearl wave
#

I've tried several variations on the season01.jpg poster name as well as putting it in the Season 01 directory to no avail.

#

My assets directory is mapped to the top-level of my TV shows share.

#

Come to think of it, it's not even seeing poster.jpg properly either.

twilit mica
#

@pearl wave what's the filepath for one of the videos in Trafficked with Mariana van Zeller

pearl wave
twilit mica
#

Oh so you're doing in-line posters?

#

oh asset_directory: config/assets_tvshows ?

pearl wave
#

The hell you say. Hang on...

#

Oh good. Yes, that's accurate.

twilit mica
#

I'm confused

#

In Plex, what is the full filepath for S01E01 of that show

#

can you screenshot it from Plex

pearl wave
#

Of course.

#

And in my docker-compose.yml:

      - /mnt/data/appdata/pmm:/config
      - /mnt/data/media/tvshows:/config/assets_tvshows
      - /mnt/data/media/movies:/config/assets_movies```
twilit mica
#

ah I see ๐Ÿ™‚

pearl wave
#

Figured that might help. ๐Ÿ™‚

#

No, how I do things apparently isn't compatible with PMM. So I'm trying to see if it's worth the effort to change things around. But I have to get it working on one show before I decide if I wanna revamp everything.

twilit mica
#

FWIW you don't put the Season posters inside the season folders

#

same with episodes

pearl wave
#

Yeah, see...sometimes you throw a bunch of shit at the wall to see what sticks...

twilit mica
#

config
โ”œโ”€โ”€ assets
โ”‚ โ”œโ”€โ”€ Star Wars The Clone Wars
โ”‚ โ”œโ”€โ”€ poster.png
โ”‚ โ”œโ”€โ”€ background.png
โ”‚ โ”œโ”€โ”€ Season00.png
โ”‚ โ”œโ”€โ”€ Season01.png
โ”‚ โ”œโ”€โ”€ Season02.png
โ”‚ โ”œโ”€โ”€ Season03.png
โ”‚ โ”œโ”€โ”€ Season04.png
โ”‚ โ”œโ”€โ”€ Season05.png
โ”‚ โ”œโ”€โ”€ Season06.png
โ”‚ โ”œโ”€โ”€ Season07.png
โ”‚ โ”œโ”€โ”€ S07E01.png
โ”‚ โ”œโ”€โ”€ S07E02.png
โ”‚ โ”œโ”€โ”€ S07E03.png
โ”‚ โ”œโ”€โ”€ S07E04.png
โ”‚ โ”œโ”€โ”€ S07E05.png

pearl wave
#

And the episodes thumbs don't go in the Season directories? Ugh. That seems inconvenient as hell.

twilit mica
#

Most people don't mount their media folders into the asset folders

#

PMM isn't designed to use in-line asets

#

because PMM doesn't "touch" the filesystem outside of its own folder

pearl wave
#

Right, I get that. But since Plex is designed to use in-line assets...I mean, I'm not entirely crazy for trying to what I'm doing here, right?

twilit mica
#

If you're using in-line assets, why not set Plex to prefer local assets?

pearl wave
#

Oh, I do. I just have several tools in play to organize all my stuff and I was trying to have one be authoritative and everything else would look to that to see what the "actual" poster/whatever was.

twilit mica
#

I see ๐Ÿ™‚

pearl wave
#

And the tool I was using may have been the wrong choice, thus leading to all the issues.

#

I use tinyMediaManager to grab all the info, cross-link all the IDs, look up artwork, etc.

#

But it's somewhat inflexible with naming stuff. It's their way or the highway.

twilit mica
#

Gotcha

pearl wave
#

So if I'm using Plex's "Use local assets" like I normally do, then this should be the right format, right?

#

If so, it's not picking up the poster.jpg. And I could have sworn it used to. I know you're not Plex support, but...thoughts? ๐Ÿ™‚

twilit mica
#

I'm not sure sorry

rough meteor
#

maybe because it picked up a different poster it didnt keep looking if there were others? try remove all the other images and see if plex sees it then

twilit mica
#

@pearl wave uparrow

pearl wave
#

Well, the image it chose wasn't on the filesystem anywhere if that helps.

twilit mica
#

Is there a reason you have mass_poster_update: plex ?

pearl wave
#

I wanted to update all of my posters, and have it fall back to plex if local assets weren't present.

twilit mica
#

I see

#

If you do a run without that enabled, does it work?

pearl wave
#

What do you mean by "work"? Find the intended image, or...?

twilit mica
#

yes

pearl wave
#

(also, I don't know - I'm in the middle of a run as we speak and they take 2.5 - 4 hours from start to finish)

twilit mica
#

Gotcha

pearl wave
#

Is there a way to find out what caused an overlay to be re-applied? Obviously I have reapply_overlays: false but sometimes it seems to reapply stuff that I wouldn't have thought needed it. Like, is there a way to crank up the logging level so it says something like, "Rating1Fresh changed" or something? It's really just something of a morbid curiosity at this point.

rough meteor
pearl wave
#

Ah, ok. That's probably not helping my roughly 4 hour runtime, so - very cool. ๐Ÿ™‚

twilit mica
#

There are probably ways you can strip it down to certain things if you needed

pearl wave
#

Defined by what - size? Number of items?

rough meteor
#

number of items

twilit mica
#

i.e. you can add -ov to your Run Command to only run overlays

pearl wave
#

274 TV shows, 13520 TV episodes, 665 movies.

twilit mica
#

yeah overlays shouldn't take 4 hours unless you're doing episode-level overlays?

pearl wave
#

Once this run finishes, I'll parse down some of the TV shows.

#

And yes, I am.

twilit mica
#

Ah right

pearl wave
#

I have a new toy, so I'm playing with all the things it can do, y'know? ๐Ÿ™‚

twilit mica
#

yeah ๐Ÿ˜„

pearl wave
twilit mica
#

docker run .... -r -ov

pearl wave
twilit mica
#

PMM_OVERLAYS=true

pearl wave
#

And I'm certainly eager to hear all the ways this is possible to speed things up. I understand that some of what I want is not implemented and isn't nearly as simple as it sounds on the face of it.

twilit mica
#

and if you only wanted to test on one library:
PMM_LIBRARIES=Movies and PMM_OVERLAYS=true

pearl wave
#

Would definitely be simpler than commenting out entire swaths of my config.yml file.

fathom stratus
#

First thing to do would be to create some small test libraries so you can iterate tests in a few minutes rather than hours. When you get things dialed in, use the big library.

pearl wave
#

Oh, I have been. I learned that one early on. ๐Ÿ™‚

#

I don't know enough about python (I do lots of PHP at work, but very little python) - is there a way to multithread something like this process? I'm working on a fairly decent system and my Plex library is being accessed over a 10Gbit fiber link, so I don't know that any of that is a bottleneck.

#

Or is it not architected for such a thing?

fathom stratus
#

It's not architected for multi-threading at present.

fathom stratus
pearl wave
#

Understood.

#

Oh, this one isn't a test. I had time to let it just run as I'm working so I figured "screw it" and ran it against the whole thing.

pearl wave
#

I'm in the process of deleting lots of crap out of the TV shows and getting things how I like them. While I'm doing that, I tested what @rough meteor recommended for a show - I removed every image in the directory OTHER than poster.jpg and a Refresh Metadata didn't pick it up. It works with fanart and season images, just not the poster. Weird.