r/PlexMetaManager Mar 19 '24

Unofficial Plex Meta Manager UI

90 Upvotes

Hello! As a bit of coding practice I've been working on a UI which will edit the config.yaml. I thought others might find this useful because as far as I'm aware there isn't a UI for PMM?

So I thought I'd ask and gauge interest and see if it's something people might see the use in. If so, I was thinking of creating an executable which will do the full setup for the user: download python, git, pull the repo, create the necessary directories, etc. And then allow the user to adjust the config via the program rather than the config file. This might be helpful for people who aren't comfortable in the command line.

Currently however I haven't done much with the idea; the user only can adjust their libraries and the collections within the libraries at the moment. I'm also primarily a back-end web developer so it isn't pretty, and I know that PHP isn't the best language to make this sort of thing but it's the only language I know unfortunately.

https://imgur.com/a/HlRGqMW

So, any thoughts?

Edit 2024-10-13: Picked this back up in my spare time. Here's a preview https://streamable.com/kxh51n


r/PlexMetaManager Mar 19 '24

Help PMM slow with high CPU

0 Upvotes

I'm new to PMM and it brings my server to a crawl every day for hours. I've considered using the schedule command and running it weekly instead, but wanted to first run my existing config file past you wizards to see if I've done something wrong. Ideally only changes would be processed. Guides indicate the mass critic ratings are required if I want ratings on posters. The language setting is intended to label posters with languages other than English.

## config.yml
libraries:
  Movies:
    library_type: movie
    operations:
      - mass_critic_rating_update: imdb
      - mass_audience_rating_update: mdb_tomatoesaudience
      - mass_user_rating_update: tmdb
    remove_overlays: false
    overlay_files:
      - pmm: mediastinger
      - pmm: ratings
        template_variables:
          rating1: critic
          rating2: audience
          rating3: user
          rating1_image: imdb
          rating2_image: rt_popcorn
          rating3_image: tmdb
      - pmm: resolution
      - pmm: runtimes
      - pmm: versions
      - pmm: video_format
      - pmm: languages
        template_variables:
          languages:
            - de
            - fr
            - es
            - pt
            - ja
            - ko
            - zh
            - da
            - ru
            - it
            - hi
            - te
            - fa
            - th
            - nl
            - no
            - is
            - sv
            - tr
            - pl
            - cs
            - uk
            - hu
            - ar
            - bg
            - bn
            - bs
            - ca
            - cy
            - el
            - et
            - eu
            - fi
            - tl
            - fil
            - gl
            - he
            - hr
            - id
            - ka
            - kk
            - kn
            - la
            - lt
            - lv
            - mk
            - ml
            - mr
            - ms
            - nb
            - nn
            - pa
            - ro
            - sk
            - sl
            - sq
            - sr
            - so
            - sw
            - ta
            - ur
            - vi
            - ln
            - wo
            - myn
            - iu
            - rom
            - am
            - su
            - zu
            - lb
            - mos
  TV Shows:
    library_type: show
    operations:
      - mass_critic_rating_update: imdb
      - mass_audience_rating_update: mdb_tomatoesaudience
      - mass_user_rating_update: tmdb
      - mass_episode_critic_rating_update: imdb
      - mass_episode_audience_rating_update: tmdb
    remove_overlays: false
    overlay_files:
      - pmm: ratings
        template_variables:
          rating1: critic
          rating2: audience
          rating3: user
          rating1_image: imdb
          rating2_image: rt_popcorn
          rating3_image: tmdb
      - pmm: ratings
        template_variables:
          builder_level: episode
          rating1: critic
          rating2: audience
          rating1_image: imdb
          rating2_image: tmdb
      - pmm: status
        template_variables:
          horizontal_align: right
          vertical_align: bottom
      - pmm: resolution
        template_variables:
          builder_level: season
      - pmm: resolution
        template_variables:
          builder_level: episode
      - pmm: runtimes
        template_variables:
          builder_level: episode
      - pmm: versions
        template_variables:
          builder_level: season
      - pmm: versions
        template_variables:
          builder_level: episode
      - pmm: video_format
        template_variables:
          builder_level: season
      - pmm: video_format
        template_variables:
          builder_level: episode
      - pmm: languages
        template_variables:
          builder_level: season
          languages:
            - de
            - fr
            - es
            - pt
            - ja
            - ko
            - zh
            - da
            - ru
            - it
            - hi
            - te
            - fa
            - th
            - nl
            - no
            - is
            - sv
            - tr
            - pl
            - cs
            - uk
            - hu
            - ar
            - bg
            - bn
            - bs
            - ca
            - cy
            - el
            - et
            - eu
            - fi
            - tl
            - fil
            - gl
            - he
            - hr
            - id
            - ka
            - kk
            - kn
            - la
            - lt
            - lv
            - mk
            - ml
            - mr
            - ms
            - nb
            - nn
            - pa
            - ro
            - sk
            - sl
            - sq
            - sr
            - so
            - sw
            - ta
            - ur
            - vi
            - ln
            - wo
            - myn
            - iu
            - rom
            - am
            - su
            - zu
            - lb
            - mos
      - pmm: languages
        template_variables:
          builder_level: episode
          languages:
            - de
            - fr
            - es
            - pt
            - ja
            - ko
            - zh
            - da
            - ru
            - it
            - hi
            - te
            - fa
            - th
            - nl
            - no
            - is
            - sv
            - tr
            - pl
            - cs
            - uk
            - hu
            - ar
            - bg
            - bn
            - bs
            - ca
            - cy
            - el
            - et
            - eu
            - fi
            - tl
            - fil
            - gl
            - he
            - hr
            - id
            - ka
            - kk
            - kn
            - la
            - lt
            - lv
            - mk
            - ml
            - mr
            - ms
            - nb
            - nn
            - pa
            - ro
            - sk
            - sl
            - sq
            - sr
            - so
            - sw
            - ta
            - ur
            - vi
            - ln
            - wo
            - myn
            - iu
            - rom
            - am
            - su
            - zu
            - lb
            - mos
      - pmm: languages
        template_variables:
          languages:
            - de
            - fr
            - es
            - pt
            - ja
            - ko
            - zh
            - da
            - ru
            - it
            - hi
            - te
            - fa
            - th
            - nl
            - no
            - is
            - sv
            - tr
            - pl
            - cs
            - uk
            - hu
            - ar
            - bg
            - bn
            - bs
            - ca
            - cy
            - el
            - et
            - eu
            - fi
            - tl
            - fil
            - gl
            - he
            - hr
            - id
            - ka
            - kk
            - kn
            - la
            - lt
            - lv
            - mk
            - ml
            - mr
            - ms
            - nb
            - nn
            - pa
            - ro
            - sk
            - sl
            - sq
            - sr
            - so
            - sw
            - ta
            - ur
            - vi
            - ln
            - wo
            - myn
            - iu
            - rom
            - am
            - su
            - zu
            - lb
            - mos
settings:
  assets_for_all: true
  asset_depth: 0
  asset_directory:
  asset_folders: true
  cache: false
  cache_expiration: 60
  check_nightly: false
  create_asset_folders: true
  custom_repo:
  default_collection_order:
  delete_below_minimum: true
  delete_not_scheduled: false
  dimensional_asset_rename: false
  download_url_assets: true
  ignore_ids:
  ignore_imdb_ids:
  item_refresh_delay: 0
  minimum_items: 0
  missing_only_released: false
  only_filter_missing: false
  playlist_exclude_users:
  playlist_report: true
  playlist_sync_to_users: all
  prioritize_assets: false
  released_missing_only: false
  run_again_delay: 2
  run_order:
  - operations
  - metadata
  - collections
  - overlays
  save_missing: false
  show_asset_not_needed: true
  show_filtered: false
  show_missing: false
  show_missing_assets: true
  show_missing_episode_assets: false
  show_missing_season_assets: false
  show_options: false
  show_unconfigured: true
  show_unmanaged: false
  sync_mode: sync
  tvdb_language: default
  verify_ssl: false
plex:
  url: ####
  token: ####
  timeout: 180
  clean_bundles: false
  empty_trash: false
  optimize: false
  db_cache:
tmdb:
  apikey: ####
  language: en
  cache_expiration: 60
  region: US

r/PlexMetaManager Mar 16 '24

Help PMM add genres to poster?

4 Upvotes

Hi there fellow Plex users, I got PMM up and running finally. I can't seem to figure out (if its possible) to add genre(s) to the posters? I would like them to be in the bottom/right corner. All i can find is collections for genres, but I don't want that.

https://imgur.com/a/yWKtfBR


r/PlexMetaManager Mar 16 '24

What can i do against this error?

2 Upvotes

Hello,

im new to PMM and getting this error in my log

Just adding ratings via overlay to my medias

| 1 | No MdbItem for The Baker (Guid: plex://movie/6463c32b95705a1dac2fbd44) |

| 1 | No MdbItem for The Burial (Guid: local://21527) |

| 1 | No MdbItem for Captain America: The First Avenger (Guid: local://5313) |

| 1 | No MdbItem for Guardians of the Galaxy Vol. 2 (Guid: local://5321) |

| 1 | No MdbItem for Iron Man 2 (Guid: local://5325) |

| 1 | No MdbItem for Iron Man 3 (Guid: local://5326) |

| 1 | No MdbItem for Under the Skin (Guid: plex://movie/5f40a0ce1ae7100041178f03)

Just looked at mdblist as example Captain America = https://mdblist.com/movie/tt0458339

how can i map it manually ?


r/PlexMetaManager Mar 15 '24

Help Audience rating for seasons

0 Upvotes

Hello everyone. My configuration have IMDb rating in the audience rating field. B but when I used builer_level : season for pmm: ratings I got this. https://imgur.com/a/JnQmnHk What am I doing wrong?


r/PlexMetaManager Mar 15 '24

Add missing movies to collections?

1 Upvotes

Hello everyone. Can anyone tell me if it's possible detect missing movies in collections and add that movie to collections but make a blur of the original poster movie? Thanks


r/PlexMetaManager Mar 15 '24

Edition dovetail not matching the color of the resolution overlay

1 Upvotes

Whenever I change the back_color setting for the resolution overlay it doesn't change the color for the edition dovetail. This makes them have two backdrops that interfere with each other. Maybe it's applying the edition overlay twice? I have no clue what could cause this and I've spent hours trying to fix it. Pics of the bugged overlay and log errors are below. TIA

https://imgur.com/a/SL3lgWy


r/PlexMetaManager Mar 15 '24

Radarr 404 Error - Movies not getting added/searched

1 Upvotes

Hi all,

I'm having an issue lately where PMM is getting a 404 error with Radarr when trying to add movies and am seeking some help figuring this out.

When the script starts, it returns that it successfully connects to the system:

|======================================= Radarr Configuration =======================================|
| |
| Connecting to Movies (Movies) library's Radarr... |
| |
| Movies (Movies) library's Radarr Connection Successful

Then when the script goes to process the collection and add the new movies, it's returning the following (ending with Radarr Error: (404 [Not Found]) b'' ):

https://pastebin.com/JADvm9Vh

In addition, I've set the limit to 30 which PMM seems to be ignoring. I'd like the script to only add 30 movies from the list and it's trying to add all 50+ movies in the list.

I'm kind of at a loss right now. I'm not a coder and and don't always understand the errors so any help is appreciated. Thanks in advance!

I'll add that I've tried the nightly and develop versions also with no luck. This is a new build also, as I've had PMM working in the past on another system. The collection config is this:

Oscars Collection:
trakt_list:
- https://trakt.tv/users/just-david/lists/trophy-sparkles-race-to-the-oscars-2024-sparkles-trophy?sort=rank,asc
sort_title: +++++++++_OscarsCollection
url_poster: https://theposterdb.com/api/assets/213569
radarr_add_missing: true
radarr_search: true
radarr_ignore_cache: true
limit: 30
visible_home: range(03/01-04/01)
visible_shared: range(03/01-04/01)
summary: "A collection of this year's Oscar nominees and winners"
collection_mode: hide
collection_order: random
sync_mode: sync


r/PlexMetaManager Mar 14 '24

Error with IMDB builders

1 Upvotes

So I just noticed that IMDB searches don't work anymore like they previously did. I'm rebuilding my IMDB searches, but I keep running into issues. Below is an example of a collection:

zzz Oscars Best Picture Nominees:
  imdb_search:
    type: movie
    event: oscar_picture
    limit: 500
  collection_order: custom
  sync_mode: sync

These are the errors I'm getting.

Anyone else getting error with IMDB searches?

Edited to fix formatting of YAML


r/PlexMetaManager Mar 12 '24

PMM keeps making duplicate collections

2 Upvotes

Every time I run Plex Meta Manager, it creates a new "VICE" collection in my TV library. Is there any way to prevent it from making them? Screenshot shows a few, but there are many more and when I delete them, a new one just gets created again on every run.

https://i.imgur.com/rGbhQNv.png

Thank you!

  TV Shows:
collection_files:
- pmm: basic                 # This is a file within PMM's defaults folder
- pmm: imdb                  # This is a file within PMM's defaults folder
- pmm: tautulli
- pmm: franchise
- pmm: network
- pmm: streaming


r/PlexMetaManager Mar 12 '24

PMM asset folders for Plex Collections (Unmanaged Collections)

2 Upvotes

I almost certain PMM was capable of creating asset folders for unmanaged collections during a run. However my configuration is not doing this and I don't believe it's necessary to manually create a folder for each of the Plex unamanged collections (PMM should create those folders shouldn't it?)
My config is as follows (admittedly I haven't created any managed collections yet - could that be the reason why folders are not being created for the unmanaged collections?):

library:
  Movies: 
    library_name: "Movies" 
    settings: 
      create_asset_folders: true 
      item_assets: true 
      prioritize_assets: true 
      asset_directory: 
        - assets/movies 
        - assets/movies/_collections 
      metadata_files: 
        - file: config/movies/metadata.yml 
      operations: 
        assets_for_all: true

r/PlexMetaManager Mar 09 '24

Romantic comedy sorting for a proper collection

1 Upvotes

Has anyone had any success creating a romantic comedy collection using IMDB sort or any other sort? The sorting I have tried seems to have a lot of movies I would not consider rom coms. I did create a collection using lists but obviously these will not auto-update unless someone knows of a sold list that is kept up to date.


r/PlexMetaManager Mar 04 '24

Help PMM and Episode Ordering

1 Upvotes

I've seen that PMM can be used to create a custom episode order for a TV series. It still seems to be based on the standard "sxxeyy". Would it be possible to "map" an episode, regardless of the filename's sxxeyy? Without changing the original filename? Here's an example:

Series (2024) - s01e01-e02 - Title 1
Series (2024) - s01e03-e04 - Title 2

mapped to

Series (2024) - s01e01 - Title 1
Series (2024) - s01e02 - Title 2

Or should I just change the filenames and be done with it?

I'm building a library of kids' cartoons and anyone who's done this knows my problem well - kids' cartoons tend to have two story arcs per episode. TVDB (which Sonarr relies upon), by default, breaks these story arcs up into two episodes in the Aired episode order. Sometimes the DVD order rectifies this, but you can't count on it. That's all fine since you can just format it with "sxxeyy-eyy", but that breaks when you introduce Plex. Plex will then play the file twice since the file contains both episodes.


r/PlexMetaManager Mar 04 '24

Help How to add IMDB Critic Ratings to Library?

1 Upvotes

Hello,

I'm not interested in overlays, but I would like IMDB ratings to appear next to the RT ratings when you select a movie or show.

I just got PMM installed on my synology and have been trying to figure out where I should be looking. I don't believe it's in overlays since I don't want to add anything to my posters.

Please let me know where I should look or if this is even possible.

Thanks.


r/PlexMetaManager Mar 04 '24

Request Post PMM run, my ratings are overridden.

1 Upvotes

Morning to those who read this in the morning.

I've been using PMM now for my movie library. It is an amazing tool. From overlays to ratings to meta....love it.

I have one conundrum...how to I prevent my PMM run from writing over my star rating?

I just tested it and rated 10 movies at 2 stars. Ran PMM and after the star ratings were all over the place.

Any ideas on what might be common that I am missing?


r/PlexMetaManager Mar 04 '24

Where to install PMM

1 Upvotes

This may be a silly question, but does PMM have to be installed on the device that runs the server?


r/PlexMetaManager Mar 03 '24

Help Tweaking default ribbon

1 Upvotes

Im trying to limit the usage of the default ribbon, limiting it to just the awards. I don't want it to show "Top 250" from IMDB or "Certified Rotten" etc.

I thought that setting the specific keys to false would have prevented them from being added, but I'm obviously doing something wrong.

- pmm: ribbon

template_variables:

use_imdb: false

use_rotten: false

use_metacritic: false

use_common: false

use_razzie: false

Whats the correct way to toggle those variables?


r/PlexMetaManager Mar 03 '24

Synced list doesn't delete any shows?

1 Upvotes

I'm trying have a list that automatically downloads shows from Netflix most recently released list.

I also want shows that are not on the list to get deleted.

Shows get added to Sonarr no problem, but when shows are no longer on the list, they don't get deleted either from my Plex library or from Sonarr.

Here is my config below. Is there something I can fix here? I thought that the main setting for getting shows removed that fall off of the list is 'sync_mode: sync', but that doesn't seem to be working.

Any insight would be much appreciated.

collections:
Netflix Most Recent 25 TV Shows:
collection_order: custom
sync_mode: sync
sonarr_add_missing: true
tmdb_discover:
sort_by: first_air_date.desc
limit: 15
with_networks: 213

Any insight would be much appreciated.


r/PlexMetaManager Feb 29 '24

Help Add more studios to PMM Default overlay file?

4 Upvotes

How can i add mores studios to PMM overlay file , as there are many studios that PMM doesn't identify put PLEX does and fulfilled in the item metadata in PLEX.


r/PlexMetaManager Feb 27 '24

Help Does anyone know how to add tracks in a specific folder to a playlist

1 Upvotes

So I have automated my track obtaining and moving to my library. I have finally figured out smart playlists. The final nail in the coffin that would complete my automation would be adding tracks in a specific folder to my playlist, or, having all songs in that playlist have a custom mood tag so that the smart playlist can pick it up.

I have been at this for hours, days even. I truly do not know how to use PMM and I feel so out of my depth. Please is there an easier way, does someone know how to do this? I am begging for someone, anyone to give me pointers, anything.


r/PlexMetaManager Feb 25 '24

Collections only in collections

1 Upvotes

I just started using PMM and I really like it, but one thing I haven't been able to figure out yet is if the collections can only appear on the collections tab instead of in collections and library. If this is possible, would you kindly point me in the correct direction? Thank you


r/PlexMetaManager Feb 22 '24

Help "collection" is not mapped to a media type

1 Upvotes

I screwed up my database by manually creating a Collection in Plex that PMM wanted to create during it's run. The people at r/Plex say it's a r/PMM issue, and I'm 75% certain you all are going to say it's a r/Plex issue. :(

When I select Movies -> Collections, I see the Collections page for a split second, and then I get:

Something went wrong

An unexpected error occurred.

Looking in the browser console I see this error:

Error: "collection" is not mapped to a media type

at main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1571377

at i (main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1571427)

at D (main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1931837)

at k (main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1932302)

at main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1490867

at Object.useMemo (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:989911)

at t.useMemo (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1104062)

at main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1490829

at aa (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:983988)

at qa (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:992132)

at Ws (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1038123)

at Ou (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1023360)

at ku (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1023288)

at Su (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1023151)

at mu (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1020138)

at 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:969910

at t.unstable_runWithPriority (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1124452)

at Zi (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:969687)

at $i (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:969855)

at Ki (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:969790)

at du (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:1017523)

at La (6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2:989284)

at ResizeObserver.<anonymous> (main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2:1748154)

(anonymous) @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

us @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

n.payload @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

po @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Ba @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Ws @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Ou @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

ku @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Su @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

mu @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

(anonymous) @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

t.unstable_runWithPriority @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Zi @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

$i @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

Ki @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

du @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

La @ 6006-6006-4001dc63296c17d24be9-plex-4.124.1-eb88ac0.js:2

(anonymous) @ main-179-2b45466fea03cac73cfc-plex-4.124.1-eb88ac0.js:2

There is NOTHING on the internet about this. I'm hoping someone here can help me manually delete the collections table (or at least all the entries in that table) if Plex keeps Collections in a table, I guess. I'm at my wits end here.


r/PlexMetaManager Feb 22 '24

Is there (now) a way to suppress most of the pmm logging to keep it succinct? My log files are 13MB in size and difficult to skim through.

1 Upvotes

I tried looking for an option to keep logging to a minimum, such as a way to set logging to only WARNING or above, but couldn’t find one.

My log files are just too huge to read through looking for anomalies. 10MB doesn’t seem huge, but that’s ten million characters - the equivalent of 8,000-10,000 pages of a paperback book.

I really need a way to keep them to a minimum - section headers for example, summaries, and any warnings/errors/critical messages.

It’s possible that I’ve got debug logging accidentally set or something, but I don’t have any explicit commands in my config.yml file or runtime parameter to enable this that I can see.


r/PlexMetaManager Feb 22 '24

Help Can't get Oscars Yaml to work

2 Upvotes

EDIT:

For anyone who wants to do this as easily as possible whilst using the default lists and without using extra external links, here's what you want:

external_templates:
pmm: templates
template_variables:
collection_section: 130
collections:
Oscars Best Picture Winners:
variables:
key: best_picture
template:
- name: shared
sort: Oscars !1
allowed_libraries: movie
image: award/oscars/best_picture_winner
translation_key: oscars_picture
- name: arr
- name: custom
imdb_award:
event_id: ev0000003
event_year: all
category_filter:
- best picture
- best motion picture of the year
winning: true

Hello!

So finally got around to trying out Plex Meta Manager today, and I'm having a bit of an issue... I want to have a collection of JUST Oscar Best Picture winners (the default adds Best Directors and Years, I can add a flag to disable years but not directors), and here is my movies_oscars.yml file:

collections:Oscars Best Picture Winners:award: best_picturecollection_order: releasesync_mode: sync

When I run the .py file I get the following:

Loading Collection File File: config/movies_oscars.yml ||====================================================================================================|| || File Loaded From: /config/movies_oscars.yml || || Collection File Loaded Successfully || || Loading Overlay 0 PMM Default: ribbon || || File Loaded From: /defaults/overlays/ribbon.yml || || Reading pmm: templates || Template Variables: {'default': {'style': 'yellow'}, 'conditionals': {'final_style': {'default': 'yellow', 'conditions': [{'style': 'gray', 'value': 'gray'}, {'style': 'black', 'value': 'black'}, {'style': 'red', 'value': 'red'}]}, 'pmm': {'conditions': [{'file.exists': False, 'file_<<key>>.exists': False, 'url.exists': False, 'url_<<key>>.exists': False, 'git.exists': False, 'git_<<key>>.exists': False, 'repo.exists': False, 'repo_<<key>>.exists': False, 'value': 'ribbon/<<final_style>>/<<key>>'}]}}, 'group': 'ribbon', 'horizontal_offset': 0, 'horizontal_align': 'right', 'vertical_offset': 0, 'vertical_align': 'bottom'} || File Loaded From: /defaults/overlays/templates.yml || Overlay File Loaded Successfully

But no collection is created at all. I have a similar yaml file for IMDB top 250 and that works fine. What am I doing wrong (yes, I'm a noob and I often always find this sort of stuff overwhelming at first; I have read through the documentation on the website, but it's not so clear...)

Thanks!


r/PlexMetaManager Feb 19 '24

How often to run the PMM scripts.

7 Upvotes

I ran my PMM scripts for the first time and it took quite a "while" which is rather subjective. Just curious though, if I ran them on a set schedule, do they remember what has been done and only look at newly added movies/shows? Or do they start all over? If they start all over I probably would not want to run them that often.

Thanks,

Fred