#frasderp needs assistance. Invoked by bullmoose20

1 messages ยท Page 1 of 1 (latest)

novel lynxBOT
#

frasderp, please continue the conversation here.

Content: ```
[2023-09-22 02:08:02,818] [util.py:210] [DEBUG] | Method: url_poster Poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1970.jpg |
[2023-09-22 02:08:02,819] [util.py:210] [DEBUG] | Method: file_poster Poster: /config/assets/Collection/1970.png |
[2023-09-22 02:08:02,859] [library.py:191] [INFO] | Detail: url_poster updated poster to [URL] https://raw.githubusercontent.com/meisnate12/


**Attachments:**(if any)
#

Welcome @crystal locust!

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.

somber joltBOT
#

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

crystal locust
#
  Movies:
    metadata_path:
    - pmm: decade
      template_variables:
        file_poster_<<key>>: /config/assets/Collection/<<key>>.png
        limit: 25
        sort_title: +1_<<key>>
        collection_mode: hide
        exclude:
        - 2000
        - 2010
        - 2020```
novel lynxBOT
#

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

crystal locust
#

As mentioned, I am using the decades collection, and the builder seems to use url_posters rather than the defined file_poster

#

... and not sure why ๐Ÿ˜ฆ

novel lynxBOT
#
**PMM Recommendation 2**

โฐ PMM SCHEDULED TIME RECOMMENDATION:
PMM Scheduled start time: 5:00
Plex Scheduled Maintenance start time: 4:00
Plex Scheduled Maintenance end time: 7:00
Change PMM start time to 7:00, a time outside of Plex maintenance times.

novel lynxBOT
sonic idol
#

so this section:

    - pmm: decade
      template_variables:
        file_poster_<<key>>: /config/assets/Collection/<<key>>.png
        limit: 25
        sort_title: +1_<<key>>
        collection_mode: hide
        exclude:
        - 2000
        - 2010
        - 2020
#

where did you come up with this as a template_variable?

#

pretty sure you need to do something like this:

    - pmm: decade
      template_variables:
        file_poster_1990: /config/assets/Collection/1990.png
        limit: 25
        sort_title: +1_1990
        collection_mode: hide
        exclude:
        - 2000
        - 2010
        - 2020

But I am not 100% sure

frank depot
#

Yep, those template variables don't get filled in dynamically with the defaults.

open ledge
#

they do though. So before file_<<key>> was fixed like a month ago, the work around was to do file: <location of pngs/<<key>>.png and name all the overlays as <<key>>.png I imagine posters work the same way

frank depot
#

Oh, TIL

open ledge
#

the issue with doing file: <location of pngs/<<key>>.png was that you had to do all the overlays and not just replace one

#

however soh fixed file_<<key>> so you could replace just one overlay png

#

They probably havent named those posters as the keys and its failing. but they havent stated how they are named

sonic idol
#

@crystal locust anything else needed here?

crystal locust
#

@sonic idol sorry, work got busy!

I had a look at this again, ensured I have posters for all collections with the key name. Again it seems in the log that the poster is identified, but it still uses the github resource...

[2023-09-28 11:48:42,715] [util.py:208]               [DEBUG]    | 2 posters found:                                                                                   |
[2023-09-28 11:48:42,716] [util.py:210]               [DEBUG]    | Method: url_poster Poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |
[2023-09-28 11:48:42,716] [util.py:210]               [DEBUG]    | Method: file_poster Poster: /config/assets/Collection/1950.png                                     |
[2023-09-28 11:48:42,756] [library.py:191]            [INFO]     | Detail: url_poster updated poster to [URL] https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |```
#

I have also tried with specifically defining each poster manually, but it also doesnt work

#
[2023-09-28 11:48:41,592] [builder.py:958]            [DEBUG]    |                                                                                                    |
[2023-09-28 11:48:41,592] [builder.py:962]            [DEBUG]    | Validating Method: url_poster                                                                      |
[2023-09-28 11:48:41,593] [builder.py:963]            [DEBUG]    | Value: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |
[2023-09-28 11:48:41,976] [builder.py:958]            [DEBUG]    |                                                                                                    |
[2023-09-28 11:48:41,977] [builder.py:962]            [DEBUG]    | Validating Method: file_poster                                                                     |
[2023-09-28 11:48:41,977] [builder.py:963]            [DEBUG]    | Value: /config/assets/Collection/1950.png                                                          |
[2023-09-28 11:48:41,978] [builder.py:1064]           [DEBUG]    |                                                                                                    |
[2023-09-28 11:48:41,978] [builder.py:1065]           [DEBUG]    | Validating Method: append_label                                                                    |
[2023-09-28 11:48:41,979] [builder.py:1066]           [DEBUG]    | Value: Decade                                                                                      |
[2023-09-28 11:48:42,037] [builder.py:1142]           [INFO]     |                                                                                                    |
[2023-09-28 11:48:42,038] [builder.py:1143]           [INFO]     | Validation Successful   ```

Seems the file poster is validated etc
crystal locust
open ledge
#

Replace file_poster_<<key>> with just file_poster

#

file_poster: /config/posters/<<key>>.jpg

crystal locust
#

@open ledge tried that now, but still no luck.

[2023-09-28 16:53:45,658] [meta.py:574]               [DEBUG]    |          ```
#

Seems to be running correctly, but doesnt use the file poster, keeps using the url poster

#

(the url poster also isnt defined in the variables, it is just the default from the template)

#
[2023-09-28 16:53:46,749] [util.py:210]               [DEBUG]    | Method: url_poster Poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |
[2023-09-28 16:53:46,749] [util.py:210]               [DEBUG]    | Method: file_poster Poster: /config/assets/Collection/1950.png                                     |
[2023-09-28 16:53:46,784] [library.py:191]            [INFO]     | Detail: url_poster updated poster to [URL] https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |```
frank depot
#

This is possibly due to:
<#1124786109398925312 message>

the image priority list is currently:

  1. url_poster
  2. file_poster
  3. tmdb_poster
  4. tvdb_poster
  5. asset_directory
  6. tmdb_person
  7. tmdb_collection_details
    8+. all other _details methods

prioritize_assets makes number 5 move up to number 1

So probably you need to use the asset directory and prioritize_assets.

Unless there's a way to clear the url_poster value.

crystal locust
#

Seems I already have prioritize_assets enabled ๐Ÿ˜ฆ

frank depot
#

OK, so all you should need would be to save the image in the asset directory under the correct name.

crystal locust
#

It is in the same directory I use for all my other collections that are working fine... but I run them through a separate collection.yml, not the default...

#

I only have issues with this one using templates it seems

frank depot
#

Are these images named to match the collection name "Best of 1950s" or what have you?

crystal locust
#

Yes, and you can see here, the poster directory should work, but for some reason, it chooses the url poster.

[2023-09-28 16:53:46,749] [util.py:210]               [DEBUG]    | Method: url_poster Poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |
[2023-09-28 16:53:46,749] [util.py:210]               [DEBUG]    | Method: file_poster Poster: /config/assets/Collection/1950.png                                     |
[2023-09-28 16:53:46,784] [library.py:191]            [INFO]     | Detail: url_poster updated poster to [URL] https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/decade/best/1950.jpg |```
#

2 posters found (matching correct directory) but then poster updated to url

frank depot
#

You're setting file_poster, which has a lower priority to url_poster, so url_poster wins [according to the priority list linked above]. This is not using the asset directory.

crystal locust
#

@frank depot reading asset_prioritize it seems to be specific to the asset directory

#

Whilst searching for assets, scan the folders within the asset_directory and if an asset poster (i.e. /ASSET_NAME/poster.ext) was not found, rename the first image found that has a height greater than or equal to its width to poster.ext.

#

but file_poster is different to asset_directory

#

but in this example, how do i use asset directory for collections like this?

#

ahh

#

i just found it

#

... thankyou

frank depot
#

That's referring to "dimensional_asset_rename"; nothing to do with prioritize assets. Where did you find that?

crystal locust
#

My bad eyes haha...

crystal locust
#

Using assets correct? But I assume there is no way to make the file_poster priority?

#

I got the assets folder working at least, thanks ๐Ÿ™‚

#

Very pretty ๐Ÿ™‚

frank depot
crystal locust
#

@frank depot thanks mate. Really appreciate your help (and patience ๐Ÿ™‚ )