#Seasonal Collection is working in the latest update 1.18.0!

1 messages · Page 1 of 1 (latest)

serene sequoia
#

However, it seems to not catch every holiday movie?

I have a library of about 5,000 and it only picked up 30 movies for the Christmas collection?

I thought that seemed odd? So, I manually scrolled through and found many that weren't tagged?

Some examples:

  • Black Christmas
  • Grinch
  • Guardians of the Galaxy Holiday Special
  • Jingle Jangle
  • Etc

I manually added the "Christmas" tag to the Sharing metadata field to these movies in order to manually add them to the collection.

Is there any way to have the Seasonal Collections feature work better?

gray hinge
#

I did this:


        imdb_list_christmas: 
          - https://www.imdb.com/list/ls000096828/
          - https://www.imdb.com/list/ls003863011/
          - https://www.imdb.com/list/ls563941723/
        trakt_list_christmas:
          - https://trakt.tv/users/movistapp/lists/christmas-movies?sort=rank,asc
          - https://trakt.tv/users/lish408/lists/rotten-tomatoes-50-best-christmas-movies-of-all-time?sort=rank,asc
          - https://trakt.tv/users/tass22/lists/christmas-movie-wonderland?sort=popularity,asc
        tmdb_collection_christmas:
          - 1241
          - 9888
          - 386382

To get more movies in the default Christmas collection, you can obviously add more, I’ve also seen people use plex search and search for titles that include christmas/holiday but i had some false positives from this

gritty spruce
#

Or you can create your own Christmas collection outside the defaults and build it however you prefer.

serene sequoia
# gray hinge I did this: ``` imdb_list_christmas: - https://www.imdb.com/...

That's a great idea! If I wanted to consolidate into a single list, is this the code that would go into my config.yml file?

christmas_holiday: - https://www.imdb.com/list/ls000096828/ - https://www.imdb.com/list/ls003863011/ - https://www.imdb.com/list/ls563941723/ - https://trakt.tv/users/movistapp/lists/christmas-movies?sort=rank,asc - https://trakt.tv/users/lish408/lists/rotten-tomatoes-50-best-christmas-movies-of-all-time?sort=rank,asc - https://trakt.tv/users/tass22/lists/christmas-movie-wonderland?sort=popularity,asc - 1241 - 9888 - 386382

gritty spruce
#

No.

#

If you want to modify the default seasonal collection, you would add template variables as shown above, with the headings.

serene sequoia
# gritty spruce The default Christmas collection is based on this list: <https://www.imdb.com/li...

Thank you! So, like this?

- pmm: seasonal template_variables: - https://www.imdb.com/list/ls000096828/ - https://www.imdb.com/list/ls003863011/ - https://www.imdb.com/list/ls563941723/ - https://trakt.tv/users/movistapp/lists/christmas-movies?sort=rank,asc - https://trakt.tv/users/lish408/lists/rotten-tomatoes-50-best-christmas-movies-of-all-time?sort=rank,asc - https://trakt.tv/users/tass22/lists/christmas-movie-wonderland?sort=popularity,asc - 1241 - 9888 - 386382

Sorry for the basic questions, I'm not a coder or in tech by profession.

gritty spruce
#
libraries:
  Movies:
    metadata_path:
      - pmm: seasonal
        template_variables:
          imdb_list_christmas: 
            - https://www.imdb.com/list/ls000096828/
            - https://www.imdb.com/list/ls003863011/
            - https://www.imdb.com/list/ls563941723/
          trakt_list_christmas:
            - https://trakt.tv/users/movistapp/lists/christmas-movies?sort=rank,asc
            - https://trakt.tv/users/lish408/lists/rotten-tomatoes-50-best-christmas-movies-of-all-time?sort=rank,asc
            - https://trakt.tv/users/tass22/lists/christmas-movie-wonderland?sort=popularity,asc
          tmdb_collection_christmas:
            - 1241
            - 9888
            - 386382
#

I don't know why you're removing those headings.

serene sequoia
#

I'm sorry, it's because I don't know what I'm doing.

#

I try to "guess" what the code means.

gritty spruce
#

If you are given specific code examples, those are GENERALLY things you should use as-is, not guess at and alter in some way.

serene sequoia
#

Gotcha, will do! Thank you sirs!

gritty spruce
#

That applies to code examples I provide; that's all I can guarantee.

serene sequoia
#

@gritty spruce & @gray hinge !! <--- thank you guys!

#

Happy holidays! The family's gonna love all your hard work!

gray hinge
#

Happy holidays!

serene sequoia
#

Actually, sorry, I tried running it and ran into this error?

| During handling of the above exception, another exception occurred: | | | | Traceback (most recent call last): | | File "C:\Users\adminUser\Plex-Meta-Manager\plex_meta_manager.py", line 239, in start | | config = ConfigFile(default_dir, attrs) | | File "C:\Users\adminUser\Plex-Meta-Manager\modules\config.py", line 135, in __init__ | | self.data = YAML(self.config_path).data | | File "C:\Users\adminUser\Plex-Meta-Manager\modules\util.py", line 916, in __init__ | | raise Failed(f"YAML Error: {e}") | | modules.util.Failed: YAML Error: mapping values are not allowed here | | in "C:\Users\adminUser\Plex-Meta-Manager\config\config.yml", line 9, column 27 | | | | YAML Error: mapping values are not allowed here | | in "C:\Users\adminUser\Plex-Meta-Manager\config\config.yml", line 9, column 27

blissful mistBOT
#
Providing Log Files

You have been asked to provide your log file, which will allow us to support you further.

You can find your meta.log file within the logs folder of your Plex Meta Manager config folder (typically the logs folder is in the same directory as your config.yml file).

Drag-and-drop your meta.log file directly into the Discord support thread. If the file is larger than 50mb, we suggest zipping it or uploading it to another file-sharing website.

Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.

balmy blaze
#

have you ever tried actually reading the error message?

in "C:\Users\adminUser\Plex-Meta-Manager\config\config.yml", line 9, column 27

#

maybe take a look at line 9?

serene sequoia
serene sequoia
balmy blaze
#

yes i know that

#

i am telling you to look at the entire line

#

not only that word

serene sequoia
#

Ohhh, okay!

#

There's nothing else after that text, the colon is at column position 28 and the error message says column 27?

balmy blaze
#

i would recommend you start using vscode with the two recommended extensions, because it would directly tell you what the error is even before you run the file through pmm

gray hinge
#

You should have the template_variables indented at the same level as the -pmm line

balmy blaze
blissful mistBOT
#
Recommended Text Editors

We highly recommend to use a decent editor software to manage PMM´s .yml files.

Standard text editors (such as Notepad and TextEdit) often save text in a rich-text format which can result in text formatted in a way that PMM cannot read. But not only that, they also make it very hard to visually distinguish the formatting, such as indentation.
PMM requires indents to always be multiples of 2 spaces, and not TAB stops. If you have one space too much, or too few, it is very hard to notice that with a editor like Notepad.
An editor that is more focused on editing code instead of text will automatically detect the .YML fileformat and adjust things to make it easier to work. They can also try to detect possible errors even before you actually run the .yml in PMM.

This can save a lot of time and headaches.

Visual Studio Code (Windows/Mac/Linux, Opensource & Free)
Website

Notepad++ (Windows only, Opensource & Free)
Website

Sublime Text (Windows/Mac/Linux, Paid)
Website

For further details and a short list of highly recommended extensions, you can also take a look at our Reddit post.

gray hinge
serene sequoia
#

OMG

#

duh

gritty spruce
#

?

serene sequoia
#

i see what the problem is now

#

thank you for these hints!

#

i'll install the VSS Code app

fluid glacier
#

And now that you are on 1.18… you will want to fix up the rest of your config.yml based on this:

blissful mistBOT
#
Upgrading PMM Defaults to 1.18.0

As part of 1.18.0, a few major changes have been made to the PMM Default files that will impact how you use them within your config.yml

Merged into ribbon: oscars, imdb_top_250, rt_cert_fresh, mc_must_see, commonsense_selection
Merged into resolution: resolution_standards & special_release
Renamed to language_count: audio_language

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
serene sequoia
#

Thank you, bookmarking this post!

gray hinge
#

@serene sequoia feel free to message/mention me if you need extra help going forward

serene sequoia
#

@gray hinge Hello! For some reason, it still isn't working? It didn't add any additional movies from the additional list sources?

balmy blaze
#

fix the errors in your log

#

one example

===============================================================================================
                                                                                               
 YAML Error: while scanning a tag                                                              
         in "C:\Users\adminUser\Plex-Meta-Manager\config\Movies.yml", line 21, column 17
       expected ' ', but found '<'
         in "C:\Users\adminUser\Plex-Meta-Manager\config\Movies.yml", line 21, column 19
 Metadata File Failed To Load```
#
                                                                                        
File Error: File does not exist C:\Users\adminUser\Plex-Meta-Manager\config\Overlays.yml
Overlay File Failed To Load                                                             ```
#

Playlist Error: trakt_list requires Trakt to be configured

serene sequoia
#

All of the errors come from the boiler plate code? Should I just comment them out?

wary zinc
#

the first one your yaml file isnt valid and pmm cant read it
the second pmm cannot find the file at the location C:\Users\adminUser\Plex-Meta-Manager\config\Overlays.yml
the third you have to configure your trakt api key to use trakt lists

balmy blaze
#

It didn't add any additional movies from the additional list sources?
i think you are trying to use trakt lists for your christmas movies... and one of the many errors says that trakt isnt configured... so.... configure trakt?

serene sequoia
#

Oh, gotcha. Sorry, I didn't know that trakt needed an account to use it, I thought it was like IMDB, I'll create one thank you!

serene sequoia
balmy blaze
#

how should we know? its your config, you are trying to load overlays.yml but pmm says that file doesnt exist

#

so either dont tell pmm to load it, or make sure it actually does exist

wary zinc
#

your config file has this

#

and pmm cant find that file

#

also this - pmm: ribbon is an overlay file not a metadata file

serene sequoia
# blissful mist

@balmy blaze the Metabot sent this, so I tried to follow its instructions

serene sequoia
gritty spruce
#

remove_overlays will override any other overlay stuff in the config.

#

If you set:

      - remove_overlays: false

to true, all your overlays will be removed.

If you don't remove this line:

      - file: config/Overlays.yml

You will continue to get this error:

File Error: File does not exist C:\Users\adminUser\Plex-Meta-Manager\config\Overlays.yml
Overlay File Failed To Load                                   ```
As long as that line is in your config file and that file does not exist.  I believe that error will happen regardless of how `remove_overlays` is set.

That is a file that *you* create; it is not a file that is provided by or built into PMM.
serene sequoia
#

do users create the Overlays.yml file from scratch? It doesn't exist when we git down the code?

gritty spruce
#

Yes, that line is there as an example. The file itself is something you have to create.

#

Or you can remove that line if you have no need or desire to define your own overlays.

serene sequoia
#

Thanks @gritty spruce , this is very helpful!

gritty spruce
#

In the same way, the config template contains references to a Movies.yml and TV.yml and a couple more.

serene sequoia
gritty spruce
#
      - file: config/Movies.yml
      - folder: config/Movies/
      - file: config/Overlays.yml
      - file: config/TVShows.yml
      - file: config/Overlays.yml
      - file: config/Anime.yml
      - file: config/Music.yml
  - file: config/playlists.yml   

All of these are files that you would create yourself

#

There are default overlays you can add by just putting:

  - pmm: resolution

and so on in your config. No more advanced than the default collections that you are presently using.