#Duplicate Collection

1 messages ยท Page 1 of 1 (latest)

ocean swiftBOT
#

๐Ÿ“ If you want to review this again, sailoroftheseas.:
: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> ๐Ÿ“

#

Welcome @gritty agate!

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.

ocean swiftBOT
#

Everything has been fine for months now and then today one of my collections was duplicated. I have done all the first time fixes, clear bundles, optimise library etc but still keeps duplicating.
So I done a run on movies, it creates the collection with the poster then after about halfway through the run it then creates the duplicate. Weird thing is, the PPM collection is dumb but the duplicate is showing as smart. I have only ever made this collection via PPM.
I've attached all logs, yamls and a screenshot to show.
Had a look at the logs but not sure what has changed or happening.

Collection name: Disney Pixar & Dreamworks Movies

Only other slightly werid thing is, I added a limit to one of the collection today, Comedy Movies to 50 but it did not make a change. I'm sure it used to in the past without having to delete and recreate?

Any help given is always greatly appreciated.

bitter drift
#

Both of those Disney collections are being created by the dynamic genre collections.

It looks like you want to exclude some genres, but several of the exclude values are double-quoted:

    - pmm: genre
      template_variables:
        collection_order: release.asc
        use_separator: false
        exclude:
            - '"Chick Flicks"'              # double-quoted
            - '"Christmas"'                 # double-quoted
            - '"Stand-ups"'                 # double-quoted
            - Stand-ups
            - Chick Flicks
            - Mini-Series
            - Action
            - Comedy
            - Drama
            - Thriller
            - '"Documentaries"'             # double-quoted
            - '"Disney Dreamworks & Pixar"' # double-quoted

so you are actually trying to exclude the genre "Disney Dreamworks & Pixar" which doesn't appear in your library.

#

in the limit case, you have it in the wrong place in the config:

[ERROR]    | Collection Error: limit is not a valid plex_search attribute                                       |
gritty agate
#

Christ you are so right! Weird it is only happening now. Regardless, thanks a lot.

#

That has sorted it, just a quick extra question and I will close the thread.

If I add the limit to a collection does that mean it will update with a random set of 50 each time it's opened or just 50 static?

#

Or it needs to be a dynamic collection for that to work?

bitter drift
#

Other errors you should address:

|========================================== Error Summary ===========================================|
|                                                                                                    |
| Count | Message                                                                                    |
|=======|============================================================================================|
|     1 | Config Error: metadata_files attribute is blank                                            |

To eliminate that, get rid of the third line here:

| libraries:                                                                                         |
|   Movies:                         ## <<< CHANGE THIS LINE                                          |
|     metadata_files:                                                                                |
|     remove_overlays: false                                                                         |

Looks like Sonarr isn't completely configured:

|     1 | Config Error: token attribute must be set under sonarr globally or under this specific Library |

Discussed above:

|     1 | Collection Error: limit is not a valid plex_search attribute                               |

This is an imdb search issue that is fixed in nightly:

|     1 | Unknown Error: 'data'                                                                      |

Your horror collection has a bad rating specified:

|     1 | Collection Error: audience_rating.gte attribute 6.5ss must be a number between 0 and 10    |

Your middle earth collection is pointed at an invalid collection at TMDB:

|     1 | TMDb Error: No Collection found for TMDb ID 84773: (404 [Not Found]) Requested Item Not Found |

here:

|================================ Validating Middle Earth Attributes ================================|
|                                                                                                    |
| Validating Method: collection_order                                                                |
| Value: release                                                                                     |
|                                                                                                    |
| Validating Method: tmdb_collection                                                                 |
| Value: [119, 'https://www.themoviedb.org/collection/121938', 84773]                                |
| TMDb Error: No Collection found for TMDb ID 84773: (404 [Not Found]) Requested Item Not Found      |

One poster already has an overlay but PMM didn't put it there:

|     1 | Overlay Error: This item's poster already has an Overlay. There is no PMM setting to change; manual attention required. |
| Going In                                                                                           |
|     Overlay Error: This item's poster already has an Overlay. There is no PMM setting to change; manual attention required. |
|   Overlays Attempted on Going In: Overlay File (0) Rating1Rotten, Overlay File (1) runtime_info    |
bitter drift
gritty agate
#

Thanks for all that error stuff, I will totally get that sorted and get the new nightly downloaded.

#

Any idea what poster is the issue?

#

The overlay

bitter drift
bitter drift
gritty agate
#

Oh, sorry I didn't know I had one called that haha. Thanks a lot

#

@bitter drift See in my movies yaml, all are just stadard collections?
The ones in config.yml are dynamic?

I find understanding the difference a bit of a mind-mess

#

How could I change this into a dynamic collection?

  Comedy Movies:
    sort_title: '!060_Comedy Movies'
    summary: "Movies that have the genre Comedy."
    imdb_list: https://www.imdb.com/list/ls000551766/
    limit: 50
    plex_search:
      all:
        genre: Comedy                        # grab everything with this genre in PLex
        audience_rating.gte: 6.5
    collection_order: release.desc
    radarr_add_missing: false
```yaml
#

Just can't get my head around it, been using simple ones for ages now and they work but maybe time to start getting deeper.

bitter drift
#

Plex has two types of collections:
dumb = a list of specific things; they only updates when PMM runs
https://metamanager.wiki/en/latest/files/builders/plex/
smart = a filter that shows things that match a criteria; they are updated when you view them
https://metamanager.wiki/en/latest/files/builders/smart/

A "dynamic collection" in PMM terms is one that was built based on the contents of your Plex libraries:
https://metamanager.wiki/en/latest/files/dynamic/

That definition you have there is a dumb collection. It will contain the list of movies that met that search at the moment it was created by PMM as well as movies that are in that imdb list.

If you wanted to convert it to a smart collection you'd change it to be something like:

collections:
  Comedy Movies:
    sort_title: '!060_Comedy Movies'
    summary: "Movies that have the genre Comedy."
    imdb_list: https://www.imdb.com/list/ls000551766/
    limit: 50
    smart_label:
      all:
        label: <<smart_label>>
        genre: Comedy
        audience_rating.gte: 6.5
    collection_order: release.desc
    radarr_add_missing: false

UNTESTED OFF THE TOP OF MY HEAD

gritty agate
#

Thanks, I can use that to work off. That makes a lot more sense.

So smart filter is a combination of both dumb and dynamic in a way?

bitter drift
#

No.

gritty agate
#

Ok, I'm going to give it all a shot. Just need to get my head working with it to understand what I want, need and which to use.

#

Thanks again for everything

bitter drift
#

a dumb filter is:

collections:
  Bill Murray after 2019:
    plex_search:
      all:
        actor: Bill Murray
        release.after: 12/31/2019

This collection contains at most six items:

 - Ghostbusters: Frozen Empire
 - Ant-Man and the Wasp: Quantumania
 - The Greatest Beer Run Ever
 - Ghostbusters: Afterlife
 - The French Dispatch
 - On the Rocks

It will only ever contain whichever of those 6 movies were in Plex at the moment it was created, until PMM is rerun. It's implemented in Plex as a list of those six items.

A smart filter is:

collections:
  Bill Murray after 2019:
    smart_filter:
      all:
        actor: Bill Murray
        release.after: 12/31/2019

That collection will contain up to the the six movies listed above, whatever's in your Plex library, BUT when you add one of the missing ones or Bill appears in some other new movie, those movies will appear in the collection without PMM being run again. It's implemented in Plex as a filter which shows movies released after 12/31/2019 in which Bill Murray is credited.

A "dynamic collection" is purely a PMM concept and has nothing to do with smart or dumb collections.

gritty agate
#

@bitter drift Weird, so it's still making the disney one even thought I have added to the exclude. What am I missing?

bitter drift
#

"the disney one"? As I recall there are two.
Added to the exclude how?
What does the log say?

gritty agate
#

Ignore it, I found the issue. Not sure how it worked but I added 'Disney Dreamworks & Pixar Movies' to the ignore as I remember before having issues that I have quotes around the names before. Run just finished and it didn't create the duplication. Thanks again for all the help, going to close this now,

ocean swiftBOT
#

This post has been marked as Resolved and has now been closed.

You cannot reopen this thread - you must create a new one or ask a member of staff to reopen it in #general-chat.

Thanks for using Plex Meta Manager.

bitter drift
#

You have two similar genres in your library:

Disney Dreamworks & Pixar
Disney Pixar & Dreamworks