#Is this valid?

1 messages Β· Page 1 of 1 (latest)

little holly
#

Wanting to set collection filtering to user and filter out played items. Is this the valid way to do it?

brittle fiberBOT
#

Welcome @little holly!

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.

night hornet
#

When you run this, what is the output in the meta.log?

#
libraries:
  Movies:
    collection_files:
      - pmm: basic
  TV Shows:
    collection_files:
      - pmm: basic
little holly
ebon lanternBOT
#

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

little holly
brittle fiberBOT
#

πŸ“ If you want to review this again, mypostingid:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**Rec 03** - ❌ **MDBLIST ATTRIBUTE ERROR**

❌ MDBLIST ATTRIBUTE ERROR
MDBList functionality does not currently support season-level collections.
In the PMM discord thread, type !wiki for more information and search.
For more information on MDBList configuration, [https://www.metamanager.wiki/en/latest/files/builders/mdblist/?h=mdblist+builders]
15 line(s) with MDBList attribute errors. Line number(s): 104299, 104353, 104407, 104457, 104512, 104562, 104612, 104667, 104719, 104769, 104819, 104874, 105066, 105121, 150016

night hornet
#

Did you grab those values from somewhere???

#

Trying to understand if you are using the defaults (which need to be used exclusively in the config.yml) or are you trying to do something else with an external yml file?

#

PMM basic has those template variables available

little holly
#

Not sure how to point to another thread but I got "collection_filtering" from a thread I had asked about the way the collections (Newly Released) was displayed (either always as admin or as the user viewing it). The "filter" part I just added to see if it worked, but neither one appears to be doing anything.

night hornet
#

Please drop meta.log in here and answer yea to both prompts by luma

little holly
brittle fiberBOT
#

πŸ“ If you want to review this again, mypostingid:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**User Info**

Author of Linked Message: MyPostingID
Person who Invoked the Command: MyPostingID
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation βœ…
Page 05: πŸ‘₯ People Poster Scan Results
Page 06: Plex Configuration - Section 1
Page 07: Plex Configuration - Section 2
Page 08: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ❌ MY ANIME LIST CONNECTION ERROR
Page 10: Rec 03 - ❌ MDBLIST ATTRIBUTE ERROR
Page 11: Rec 04 - ❌ PLAYLIST LOAD ERRORS
Page 12: Rec 05 - ⚠️ [WARNING]
Page 13: Rec 06 - ⚠️ NO ITEMS FOUND IN PLEX
Page 14: Rec 07 - ⚠️ PLEX REGEX ERROR
Page 15: Rec 08 - πŸ’¬πŸ’‘οΈ PLEX DB CACHE ADVICE

night hornet
#

Perfect. Thanks

#

Ok... two problems that I saw

#

file not files

#

diiivoycolor and not diiivoy_color

#

Best suggestion I can give you is a good editor

ebon lanternBOT
#

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.

Preferred:
Visual Studio Code (Windows/Mac/Linux, Opensource & Free) Website
Additionally, install the indent-rainbow by oderwat extension and the YAML by Red Hat extension and leverage our schema.json file by adding this to the top of your config.yml file: # yaml-language-server: $schema=https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/json-schema/config-schema.json

Other options:
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 here.

Here is an example of how Visual Studio Code works with indent-rainbow plugin and using our PMM schema (Click on image to get a better view):

night hornet
#

The vs code one with that schema file is really gonna help you find these issues right away

#

Once all that is cleaned up, rerun and drop the logs here and answer yes to both prompts again

little holly
brittle fiberBOT
#

πŸ“ If you want to review this again, mypostingid:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**Plex Configuration** - Section 2

Using Asset Directory: config/assets/tv
Connected to server HTPC version 1.32.8.7639-fb6452ebf
Running on Windows version 10.0 (Build 19045)
Plex DB cache setting: 64 MB
PlexPass: True on Public update channel.
Scheduled maintenance running between 2:00 and 5:00
Connected to library TV Shows
Type: Show
Agent: tv.plex.agents.series
Scanner: Plex TV Series
Ratings Source: N/A
TV Shows Library Connection Successful

nocturne locust
#

This:

    - pmm: basic
      template_variables:
        collection_filtering: user
        filters:
          plays.lt: 1

isn't valid in at least one way. You can't apply filters like this to the defaults.

Also, I don't see collection_filtering listed in the wiki as a valid template variable for the defaults.

If you were creating a collection yourself, you could use collection_filtering: user, but that's not something you can apply to the defaults.

#

The template variables one can use to customize any of the defaults are listed on the wiki page for each default file, and in the case of the defaults they can only be customized as specifically discussed on those pages.

#

This would work, for example:

collections:
  Rewind Supernatural:
    builder_level: episode
    smart_filter:
      all:
        title: Supernatural
        episode_plays.gte: 1
        episode_plays.lt: 2
      sort_by: episode_release.asc
      limit: 1
    collection_filtering: user
little holly
nocturne locust
#

You can exclude any of the default collections.

little holly
night hornet
ebon lanternBOT
#

Have you gone through the wiki before asking your question? Please use the correct link for the branch that you're running, as each branch's wiki has information that may not yet be available in other branches.

You can find access to the Plex Meta Manager Wiki for each branch at the following links:

Knowledgebase/FAQ

Want to perform your own support before using the community driven and free support here on Discord? This is where you can go through some basic steps to understand what might be failing and how you can fix the issue yourself.

night hornet
#

There you go

little holly
#

I'll try that, thank you.