#Image asset logos changed size?

1 messages · Page 1 of 1 (latest)

sly umbra
unborn boneBOT
#

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.

crimson cairn
#

Yup... time to update your other posters... 🙂

#

i am interested in knowing how the link is broken as it would likely be broken for others as well

#

can you share the log file where it shows the error link?

#

as you can likely see... the logos got "bigger" all around

#

you could perform a python plex_meta_manager.py -r -dc which will delete your collections and then when they get recreated, would grab the latest poster images for the collections.

sly umbra
#

this is what happens when you set and forget for six months lol

#

This is the yml I was using

#

I added the url_poster for New Releases after it went blank

#

Can you tell where I went wrong?

crimson cairn
#

I don’t think you really went wrong anywhere specifically, however the reason why the others are not getting updated is because from what I see, it’s not going to the url to grab the latest.

#

Most of what you have in that file can be replaced by adding pmm: chart within your config.yml file

#

Months ago, we started using an even easier method to leverage the defaults

shrewd basaltBOT
#

To transition from pre-1.18.0 versions to 1.18.0, you must do the following, or you will see errors in your log and previously working overlays will no longer be applied.

**Upgrading to the `ribbon` PMM Default file**

1) Remove any reference to these files in your config.yml:

- git: PMM/overlays/oscars
- git: PMM/overlays/imdb_top_250
- git: PMM/overlays/rt_cert_fresh
- git: PMM/overlays/mc_must_see
- git: PMM/overlays/commonsense_selection

2) Add a reference to this file (only once!)

- pmm: ribbon

As only one ribbon image can be placed at a time, the priority list is currently:
oscars (weight 40)
imdb (weight 30)
rotten (Weight 20)
metacritic (Weight 10)
common (Weight 5)

To alter these positions,you can use template variables, like so:

- pmm: ribbon
  template_variables:
    weight_common: 100 #Makes it first on the list
    weight_imdb: 90 #Makes it second on the list
**Upgrading to the `resolution` PMM Default file**

1) Remove any reference to these files in your config.yml:

- git: PMM/overlays/special_release
- git: PMM/resolution_standards
**Upgrading from `audio_language` to the `language_count` PMM Default file**

1) Remove any reference to these files in your config.yml:

- git: PMM/overlays/audio_language

2) Add a reference to this file

- pmm: language_count
sly umbra
#

Im trying to remember why I did it this way

#

I dont use any overlays

crimson cairn
#

I was referencing the “pmm” naming that started as of 1.18

sly umbra
#

ah okay. Let me do some reading. Thanks for filling me in

crimson cairn
#

I think you said this^^^ last time as well… lol

valid peak
#

If the image behind the URL changes while the URL stays the same, I'm not sure that PMM will pick it up as needing to be updated.

sly umbra
#

Do you see any way to fix the first file with starting over and just going through config?

#

I cant even get that to work and I have a feeling its going to cause more headaches for me

#
  Movies:
    metadata_path:
      - pmm: basic
      - pmm: imdb
    template_variables:
      use_separator: false```

I used this and got `|     1 | Config Error: No libraries were found in config       `
#

i probably need to upgrade my whole config

valid peak
#

Can you provide the whole log? That's often a plex connection problem.

shrewd basaltBOT
#

"provide log" command detected, if you need more information on how to provide log files, type !logs

sly umbra
sly umbra
#

I checked my plex token which was wrong. Fixed but still getting the same error

valid peak
#

Are your plex libraries named "Movies" and "TV Shows"?

sly umbra
#

yes

crimson cairn
#

indentation is the issue IO think

sly umbra
#
  Movies:                        # These are names of libraries in your Plex
    metadata_path:
    - folder: config/Movies
    - pmm: basic                 # This is a file within PMM's defaults folder
    - pmm: imdb                  # This is a file within PMM's defaults folder
      # see the wiki for how to use local files, folders, URLs, or files from git
  TV Shows:
    metadata_path:
    - pmm: basic                 # This is a file within PMM's defaults folder
    - pmm: imdb                  # This is a file within PMM's defaults folder
      # see the wiki for how to use local files, folders, URLs, or files from git
  Music:
    metadata_path:
    - file: config/Music.yml     # This is a local file THAT YOU MIGHT CREATE
playlist_files:
- pmm: playlist                  # This is a file within PMM's defaults folder
  # see the wiki for how to use local files, folders, URLs, or files from git```
valid peak
#

Kinda seems like it but the indents look fine to me.

crimson cairn
#
libraries:
  Movies:
    template_variables:
      use_separator: false
    metadata_path:
    - pmm: basic
    - pmm: imdb
    - pmm: year
      template_variables:
        use_separator: false
        limit: 100
        data:
          starting: current_year-4
          ending: current_year
  TV Shows:
    template_variables:
      use_separator: false
    metadata_path:
    - folder: config/TVShows
    - pmm: year
      template_variables:
        use_separator: false
        data:
          starting: current_year-4
          ending: current_year
sly umbra
#

I copied everything you have for Movies:

#

same error

crimson cairn
#

WhoDat.. where did you get that yml that you posted?

crimson cairn
#

yes

#

was that from our wiki

sly umbra
#

I copied the template and edited it

#

yes?

crimson cairn
#

lol

#

I think I found it

#

[2023-05-24 11:28:55,502] [plex_meta_manager.py:273] [DEBUG] | --run-libraries (PMM_LIBRARIES): “Movies”

#

those are not proper dbl-quotes

valid peak
#

oh are those smart typographers's quotes?

sly umbra
#

where is that?

#

thats an operation?

crimson cairn
#

in your neta.log

#

line 24

sly umbra
#

ik but where are the quotes coming from

#

oh

#

nvm

#

I see

#

I have an old command copied on a sticky

valid peak
#

somebody's "helping"

sly umbra
#

two apostrophes instead?

crimson cairn
#

" "

valid peak
#

no, straight double-quote, not open-quote close-quote

sly umbra
#

""Movies""

#

?

#

""Movies""

crimson cairn
#

"Movies"

valid peak
sly umbra
#

Its the damn Stickies App on macOS

#

it auto changes lol

crimson cairn
#

Not a MacOS user, however that sounds annoying

sly umbra
#

right click > undo smart quote

crimson cairn
#

python plex_meta_manager.py -r -rl "Movies"

#

i presume you have something like this in your Stickies App

sly umbra
#

awesome fixed

#

whole new set of errors now

crimson cairn
#

meta.log please

sly umbra
#

duplicate keys

crimson cairn
#

plus playlist_files is defined twice

sly umbra
#

lol

#

the struggle is real

crimson cairn
#

lmao

valid peak
#

That first playlist_files section should just go away. It's broken

crimson cairn
#

copy and paste can be rough in MacOS I guess? 😛

sly umbra
#

no more playlists?

valid peak
#

Playlists are still available, but this section is incorrect.

#

The following one is correct.

sly umbra
#

Need to rename this thread Hey, I discovered 1.18 today

valid peak
#

This one looks like an unholy mashup of the libraries and playlists sections.

crimson cairn
sly umbra
#

i did

crimson cairn
#

Actually.. we are now on 1.19

#

rerun and post meta.log

sly umbra
#

i think its running

crimson cairn
#

I know it is... 😉

sly umbra
#

im just scared whats going to happen to my collection order

crimson cairn
#

it will get all effed up

#

and we will help you fix it

#

but its really pretty easy with template_variables

#

you can reorder them via the config file with template_variables

#

less mucking around in yml files and more mucking around in config.yml file

#

so we manage the pmm: stuff and users tweak in config.yml

#

of course, for people that dont want to use pmm defaults, they can build it all from scratch on their own

sly umbra
crimson cairn
#

-dc

#

-dc will delete the collections and in doing so, when the run happens, the postesrs will get recreated with new images

#

python plex_meta_manager.py -r -dc -rl "Movies"

sly umbra
#

ong

#

no

#

what did i do

crimson cairn
#

no clue

sly umbra
#

😭

#

this is awful

crimson cairn
#

please elaborate

sly umbra
#

i deleted all of my collections

crimson cairn
#

um.... which is what the -dc does?

#

i presume that you had a bunch of other collections that were not being managed by PMM?

sly umbra
#

no

#

i dont

#

but i have a large library and i havent run stuff in a while

#

remember we made like 1000 actor posters

crimson cairn
#

yes.

sly umbra
#

i was scared to rerun those, lest a few change and are blank lol

crimson cairn
#

all of that can come back

#

just add pmm: actor

#

pmm: director

#

pmm: writer

sly umbra
#

are these ymls not good anymore?

crimson cairn
#

ok.. based on your names....

#

almost all of those have PMM defaults created

#

chart, franchise, holidays(known as seasonal), actor, director, producer, writer, streaming, studio

sly umbra
#

yea but ive already got everything tweaked for me. Can i keep using them in a folder or do I have to convert everything in to the config?

crimson cairn
#

you can keep them in the folder...

#

i don't know if there will be any issues as clearly we do not have any visibility to the contents of those files

#

this could be an option for you to try as well:
python plex_meta_manager.py -rm "Movies-Topic"

#

this is the ability to run against a specific metadata file

#

so as long as that folder is defined in the config and the file called Movies-Topic.yml exists in that folder, the run will be just for that

sly umbra
#

If i remember correctly one of the main reasons i didnt want everything in the config was to run in chunks due to size

crimson cairn
#

people use schedules to work around those limitations

sly umbra
#

yea i never got to that lol

crimson cairn
#

its kind of new

#

because now you can get pretty granular with it

sly umbra
#

only so many collections need to be updated by PMM for me

#

So I ran this yml

#

Only Newly Released got a poster because i specified using url_poster previously

#

you cant see that in the yml now because I edited before I sent

#

here is the log

#

So i need to change PMM to pmm lol

crimson cairn
#

pmm: templates

#

so the output image is exactly what is expected

#

nowhere in the yml is it telling PMM to go get the posters from the online location

sly umbra
#
#           Chart          #
############################
external_templates:
  pmm/templates
  template_variables:
    collection_section: "01"

templates:```
crimson cairn
#
external_templates:
  pmm: templates
sly umbra
#

ty

crimson cairn
#

well... now that you set it to pmm: templates, same results?

sly umbra
#

yes

#

collection_section: "01"

#

it looks like 00 is the only option now?

valid peak
#

In the defaults, yes, I think that's only numeric.

sly umbra
#
#           Chart          #
############################
external_templates:
  pmm: templates
  template_variables:
    collection_section: "00"
    url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/<<image>>.jpg
    url_poster_<<key>>: <<url_poster>>```

Does this make any sense?
valid peak
#

this:

    url_poster_<<key>>: <<url_poster>>

should be:

    url_poster_someKey: https://bing 
    url_poster_someOtherKey: https://bang 
    url_poster_bestKeyOfAll: https://boing 
#

Where the keys are defined on the relevant page:
https://metamanager.wiki/en/latest/defaults/award/oscars.html

Collection                    Key            Description
Oscars Best Picture Winners   best_picture   Collection of Oscars Best Picture Award Winners.
Oscars Best Director Winners  best_director  Collection of Oscars Best Director Award Winners.

which would lead to:

  pmm: oscars
  template_variables:
    url_poster_best_picture: URL_TO_MY_BEST_PICTURES_POSTER
    url_poster_best_director: URL_TO_MY_BEST_DIRECTORS_POSTER
sly umbra
#

this shit makes me feel so dumb

#

im not worried about awards, i have an expanded version of those

sly umbra
#

So umm, did the font change to bold?

#

😦

#

Can I get this new color?

crimson cairn
#

everything is in our images GH

#

My guess is that you want to create the BEST ACTOR WINNERS as we do not have that one, correct?

sly umbra
#

yea i have all the other 15 categories for oscars and i had made posters to match

crimson cairn
#

so all of that is in my most recent poster creator script on my GH

crimson cairn
#

Colours and definitions are all found within the create_default_posters.ps1 script

sly umbra
crimson cairn
#

I can get you the color. 1 sec

sly umbra
#

I have this xcf

crimson cairn
#

#A9842E

#

Yeah… I don’t really use gimp for this anymore… only for some certain things…. Now I can create all 7000 posters with a single click

#

The issue is that you won’t get the same effect in gimp with that color I just gave you. I use that color with imagemagick to produce the files.

#

I can even produce the files in 7 different languages…

crimson cairn
#

Lol… the world of tech is constantly changing

sly umbra
#

I got too comfortable with arrs and PMM being on auto pilot

crimson cairn
#

I am like that with arrs.

#

PMM is something else.

#

If you tell me the text you want on the awards posters, I could probably add it quite easily and reproduce identical posters for you and others that want the same…

sly umbra
crimson cairn
#

That is a blank Oscar’s with the correct color and fade gradient that you could import to your xcf, then add the text

sly umbra
#

are the old posters still around?

#

The smaller holiday posters could save me so much grief right now

crimson cairn
#

I have all the images on the GH. Not with the color backdrops though

sly umbra
#

ok thanks

crimson cairn
#

There is a sub folder with all the bare logos with the tv screen

#

Btw, we also have additional styles of people posters.

sly umbra
#

ok i found them

#

how can i make this old line work?

sly umbra
#

Remember I have this weird kick where I want to include all the movies for the person (actor/director/writer/producer)

crimson cairn
#

Is that line failing and how is it failing?

sly umbra
#

it just defaulted to tmdb posters instead

#

since the new directory has folders for each first letter i think

#

i was looking at the default pmm actor now, wondering if I can expand the smart filter for director/writer/producer

sharp juniper
#

are there also other oscar variables for like best animated feature, best documentary, etc?

smoky ruin
rare tuskBOT
#

Hello @sly umbra, a user has suggested that this thread has been resolved and can be closed.

Please confirm that you are happy to close this thread by typing /close or by pressing the Close Post button which is pinned to this thread.

sharp juniper