#Issue with sorting some collections.

1 messages Β· Page 1 of 1 (latest)

tidal tree
#

I have decade collections set up with all movies in my plex to be sorted into decades and I would like them sorted ascending by release. I receive an error sort_by attribute not supported. Is there no way to have them display from oldest to newest in the collection. Thanks for taking a look. I have tried various combinations.

brittle crownBOT
#

Welcome @tidal tree!

It looks like you have not yet completed #938455615741775902, this will allow us to help you quicker.

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.

blissful hollow
#

Can you provide a log showing the error in context?

#

And maybe describe what this means?

I have tried various combinations

#

There are a lot of collections there. Which are affected?

#

This:

collections:
  Best 2010+ Movies:
    smart_filter:
      all:
        year.gte: 2010
      sort_by: audience_rating.desc
      limit: 20

Is straight from the docs and works fine.

Compare this to yours:

templates:        
  Decade:
    smart_filter:
      any:
        decade: <<decade>>
      url_poster: https://theposterdb.com/api/assets/<<poster>>
      sort_title: +001_Best of <<decade>> 
    collection_mode: hide  
    sort_by: release.asc

and you'll note that sort_by is in the wrong place, and as noted isn't valid there. You'd use collection_order to set it at the collection level.

#

If I change yours to:

templates:        
  Decade:
    smart_filter:
      any:
        decade: <<decade>>
      url_poster: https://theposterdb.com/api/assets/<<poster>>
      sort_title: +001_Best of <<decade>> 
      sort_by: release.asc
    collection_mode: hide  

It creates the collection without an error, but doesn't set the sort_title or the poster, since those are in the wrong place.

#

If I change it to:

templates:        
  Decade:
    smart_filter:
      any:
        decade: <<decade>>
      sort_by: release.asc
    url_poster: https://theposterdb.com/api/assets/<<poster>>
    sort_title: +001_Best of <<decade>> 
    collection_mode: hide  

Then it sets the sort title and complains that Poster DB is down:

Collection Warning: No Poster Found at https://theposterdb.com/api/assets/213588 
#

Sorted by release ascending

tidal tree
brittle crownBOT
#

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

#
πŸ‘₯ **People Poster Scan Results**

❌ Missing People (No TMDB Image) ❌

These are people found in the attached log we do not have a pre-made poster for and we cannot detect a TMDB image to use as a source for creating a poster. If you could go and add proper images to TMDb for these people, we can then proceed to create the styled posters:

  • Spencer Tracy
  • Katharine Hepburn
  • James Cagney
  • Clark Gable
    βœ‰οΈ People Poster request sent on your behalf to: #1110266071849652335 βœ‰οΈ
blissful hollow
blissful hollow
blissful hollow
#

These:

|    11 | Collection Error: sort_by attribute not supported                                          |

Are caused by what I pointed out above.

These:

|     9 | Collection Error: imdb_search sort_by attribute audience_rating.desc must be in [popularity.asc, popularity.desc, title.asc, title.desc, rating.asc, rating.desc, votes.asc, votes.desc, box_office.asc, box_office.desc, runtime.asc, runtime.desc, year.asc, year.desc, release.asc, release.desc] |

Explain right there what the problem is. audience_rating.desc is not valid in that context; you have to use one of those listed sorts.

These:

|     9 | Playlist Error: Library: TV Shows not defined                                              |

Are because you aren't providing your library names in the playlist config; it's using the defaults [Movies and TV Shows] and you don't have "TV Shows".

The other two are because the default star trek playlist trakt list has gone away and needs to be replaced. This is fixed in nightly.

tidal tree
#

I implemented the above changes to my decades and am getting an odd error message I cannot figure out. On a different note, how do I prevent the playlist error TV shows not defined when I have no intention of using PMM with television?

brittle crownBOT
#

πŸ“ If you want to review this again, plantationcane.man:
: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: PlantationCane
Person who Invoked the Command: PlantationCane
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: Rec 01 - ❌ ANIDB AUTH ERRORS
Page 08: Rec 02 - βŒπŸ”’ BLANK API KEY ERROR
Page 09: Rec 03 - ❌ [ERROR]
Page 10: Rec 04 - ❌ MY ANIME LIST CONNECTION ERROR
Page 11: Rec 05 - ❌ PLAYLIST ERROR
Page 12: Rec 06 - ⚠️ [WARNING]
Page 13: Rec 07 - πŸ’¬ CONVERT WARNING
Page 14: Rec 08 - πŸ’¬πŸ’‘οΈ PLEX DB CACHE ADVICE
Page 15: Rec 09 - πŸ’¬πŸͺŸπŸ§ WSL MEMORY RECOMMENDATION

stoic verge
tidal tree
#

My config never says the word "television"

stoic verge
#

right, but playlist assumes that, so you need to use the template variables to tell it what libaries you want it to run

#

the Wiki shows what the default libraries are, and that you can silence that error by useing a variable

tidal tree
#

Thanks I think I have that fixed now on the television issue. The bigger question is the multiple Unknown Error: (404) not_found that I am now receiving.

brittle crownBOT
#

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

brittle crownBOT
# brittle crown
**PMM Info**
PMM Header

Version: 1.20.0 (Docker)
PlexAPI Version: 4.15.7
Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.28
Memory: 8 GB

Run Command: plex_meta_manager.py --run

PMM Footer

Finished Run
Version: 1.20.0
Finished: 23:55:53 2024-02-03 Run Time: 0:25:29

Available PMM Versions

as of 2024-02-04 03:46:21

PMM Version (Master branch)

1.20.0

PMM Version (Develop branch)

1.20.0-develop14

PMM Version (Nightly branch)

1.20.0-nightly29

stoic verge
#

by the way, on your seasonal, the collection_section belongs under template variables

#

have you tried nightly?

tidal tree
#

I have not tried nightly. I figured I was pretty happy just to have it working. What would I do for nightly implementation?

warped dustBOT
#

NOTE: This is addressing changing from, for instance, latest to nightly.

The method depends on how you installed it.

**I'M USING DOCKER:**
docker pull meisnate12/plex-meta-manager:TAG_HERE

replace TAG_HERE with latest, develop, or nightly; whichever you want to switch to.

Then recreate your container via whatever means you used to create it [docker run, docker-compose, etc.], setting the image as meisnate12/plex-meta-manager:TAG_HERE

**I'M USING DOCKER ON UNRAID**

:one: Click on DOCKER tab and then on Plex-Meta-Manager
:two: Edit Repository: setting to switch branches:

meisnate12/plex-meta-manager:TAG_HERE

replace TAG_HERE with latest, develop, or nightly; whichever you want to switch to.

**I'M USING DOCKER ON A SYSTEM WITHOUT COMMAND PROMPT (SUCH AS NAS):**

The same concepts as above will apply:
:one: pull new image
:two: recreate container using that image instead of the current one.

Whatever the system, there will be a way to accomplish these two things.

**I'M RUNNING LOCALLY VIA GIT:**
cd DIRECTORY_WHERE_YOU_PUT_PMM
git checkout BRANCH_NAME
git stash
git stash clear
git pull
python -m pip install -r requirements.txt

For BRANCH_NAME, substitute master, develop, or nightly

Those stash commands are going to discard any changes you may have made to PMM's own files. If that's a concern, you are probably familiar enough with git to know what you need to do instead.

blissful hollow
#

The 404s are PMM asking Plex to set the summary on a collection using an id that Plex provided. Plex is responding "I don't have such a thing.". There isn't much PMM can do about that.
You may try deleting the collections and letting PMM recreate them.

tidal tree
#

I have been tinkering and have run into some issues I cannot figure out. 1. My Decades collections were deleted and added again based on the above recommendation however, now they sort with decades first, then best of decades. I really liked it where it would be 1930s then right next to it 1930's Best of . 2. I am trying to get the decades to sort by year ascending which they do, but I want the Best of to be sorted by rating.desc. 3. I moved the posters to the assets folders of each collection but they are not loading. 4. My Seasonal collection will not move to the top no matter what I try. I have run multiple tries at it but have not been able to move it.

#

Thanks for the help.

brittle crownBOT
#

The following was shared by @tidal tree and was automatically redacted by Luma as it may have contained sensitive information.

If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.

stoic verge
#

@tidal tree can you post most recent log?

#

your radarr_add_missing for universe needs to go under template_variables. not sure why you keep putting variables in the wrong place

#

collection_section under genre is not indented properly

tidal tree
#

The radarr_add_missing was under template variables and also above. I am a dunce. I have all other collections lined up the way I want except the Decades and the Seasonal.

brittle crownBOT
#

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

stoic verge
#

you still have radarr_add_missing duplicated

#

and collection_section in genre is still not correct indent

#

you're setting a sort prefix. in regard to above, by default, the seasonal collections are already at the top. without changing anything, seasonal collections sit at top for me. you've changed some prefix, which seems to have changed what you are wanting

#

and your file_poster in decade, points to a folder and not a file. if you are in fact using assets, then file_poster isn't needed.

#

@tidal tree see above

tidal tree
#

Going one by one. Seasonal rests at the very bottom after my people section.

stoic verge
#

what is the sort title?

tidal tree
#

On my seasonal all I have is sort_prefix: "! 000001" on directors I have sort_prefix: zzz
collection_section: 950

stoic verge
#

this is default, and seasonal is at top. Which is why i'm asking

stoic verge
#

if you want seasonal up top, then don't mess with the sort prefix, out of the box season will sit at top

tidal tree
#

You are saying remove the sort_prefix and have nothing? I will try.

stoic verge
#

i am not fully understanding the order you want things sorted. you really only need to change the collection_section on each of the defaults that you are wanting to move

tidal tree
#

Do you think because seasonal is scheduled only Thursday that nothing I do will change it until then?

stoic verge
#

yeah, that's true. you can tell pmm to ignore schedules, or you can temporarily turn off the schedule

tidal tree
#

Funny if you read really far up in this thread I was told to add sort_prefix so I did. I have no issues with any sorting other then decades.

#

I turned off the schedule.

#

You are right it was closed. This was supposed to be about sorting within the collection. ... until other issues popped up. For the life of me I cannot figure why the decades and Best of changed sorting. I checked a backup and it had the same settings.

#

As for the posters, if I place them in the right folders in the Asset directory how do I get PMM to use them?

stoic verge
#

well, don't point to the folder using a file reference. those lines should be taken out

#

what is the path to your 1920's Films?

#

and you need to set your depth more than 0, i use 3... But when using folders like you are, you do need a depth of more than 0

tidal tree
#

"X:\Users\vince\Plex-Meta-Manager\config\assets\1920's Films" Full path

#

The file inside the folder is "Decades 1-1920s"

stoic verge
#

for assets to work, the file needs to be named poster.ext ext being replaced with whatever the extension of the file is

#

that's how assets work

tidal tree
#

I would name it poster.png in every asset folder?

stoic verge
#

yes

blissful hollow
stoic verge
#

or turn on dimensional_asset_rename: true. it's already in your settings, you just need to set it to true

tidal tree
#

Does dimensional_asset_rename: true mean I do not need to rename them all?

stoic verge
#

right

tidal tree
#

Bingo. Trying it now. My run is taking some time so I will check back around 10pm.

stoic verge
#

well those won't happen unless you cancel and restart your run

blissful hollow
tidal tree
#

Thanks. I have been creating some posters so it is nice to learn how to have them added by PMM instead of manually.

stoic verge
#

did you restart pmm? @tidal tree

#

if so, can you please provide a current log, even if incomplete?

tidal tree
brittle crownBOT
#

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

stoic verge
#

it was already in your config.yml you only needed to change that setting to true, which you didn't do. LOL

#

it doesn't go in your other yml files @tidal tree

brittle crownBOT
#

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

#

I cannot figure this one for the life of me. Only two posters appeared. 2010 and 2020 Films. All asset folders have files with the same name of poster. All other decade collections have no posters. To add another layer, I changed my config to true in dimensional_asset_rename: true.

stoic verge
#

How are you folders for the collection assets?

#

you are selectively making changes

#

you have assets set up in folders, so FIRST, you need to set the asset_depth in your settings to a number more than 0. I suggest 3

#

AND, ALL your references to file_poster in your decades need to be removed since you are using assets. you are just referencing a folder in those cases @tidal tree

blissful hollow
#

All asset folders have files with the same name of poster

What does that mean?

#

All of these:

[ERROR]    | Unknown Error: [Errno 21] Is a directory: "/config/assets/2000's Films"

are because you have this in your YAML files:

file_poster: config/assets/2000's Films/

You are telling PMM "Use this file for the poster" and you are giving PMM the path to a folder, not a file.

Remove that everywhere it appears in your decade YAMLs.

Then show me what is in the assets directory for these collections.

tidal tree
tidal tree
#

Mr. Carrot. I think you are looking at my decades file from yesterday. I made changes already and posted at 9:59am a decades file with all the file_poster: config/assets/2000's Films/ already removed.

#

Nope.. Of course I am wrong and you are right. Let me get back to work.

blissful hollow
#

Those errors are in the last log you provided above.

stoic verge
#

look again, and you need to set the depth larger than 0

tidal tree
#

Can you give a quick explanation of depth?

blissful hollow
#

It's how deep into the file system PMM dives when looking for assets.

stoic verge
#

So when you say zero, it’s not going to look past the initial asset folder. With all your assets setup in folder, that is part of the reason why assets aren’t working. In addition to others…

blissful hollow
#

For example, given this pathological setup:

plantationcane/
└── assets
    β”œβ”€β”€ movies
    β”‚Β Β  └── s
    β”‚Β Β      └── comedy
    β”‚Β Β          └── bill_murray
    β”‚Β Β              └── Stripes (1980)
    β”‚Β Β                  └── poster.png
    └── shows
        └── s
            └── comedy
                └── bill_murray
                    └── Saturday Night Live (1975)
                        └── poster.png

and plantationcane/assets as the asset dir, you'd need a depth of 5 to find either of those posters

If the asset dir were set to plantationcane/assets/movies/s/comedy/bill_murray the depth could be 0

etc

brittle crownBOT
#

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

#

Hoping another set of eyes can figure this out. Only two of the "best of" collections had posters added (see screenshot). I set depth to 5. In the folders of those that did not apply the poster is labeled exactly like the other folders that did apply. Folder directories look the same.

blissful hollow
#

There's no information about where those folders are.

#

Many of these collections are failing because of an IMDB issue, so they aren't getting to the point of setting artwork.

stoic verge
#

assets for those collections are not running because those collections are erroring out, it appears

tidal tree
#

OK then that makes sense that the error is not allowing it to move forward and apply the poster. So then the next question is about the error. The message is Unknown Error: 'data' . There is some language above in the debug that I need help comprehending.

blissful hollow
#

That's not an error that you can do anything about. IMDB is not returning the expected payload on an intermittent basis.

stoic verge
#

IMDb has had some intermittent problems the last few days

tidal tree
#

LOL. You mean I finally did not so something wrong? Shocking. Have a good night.

tidal tree
#

I have an odd situation with my IMDB search limit. In my Best of Decades collections I placed a limit of 100 in all imdb seach criterion. 2010 and 2020 are way over 100 in my collection. Then in a whole different .yml I have warnings in my log and I did not place a 100 limit.

brittle crownBOT
#

πŸ“ If you want to review this again, plantationcane.man:
: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 09** - πŸ’¬πŸͺŸπŸ§ **WSL MEMORY RECOMMENDATION**

πŸ’¬πŸͺŸπŸ§ WSL MEMORY RECOMMENDATION
According to Microsoft’s documentation, the amount of system memory (RAM) that gets allocated to WSL is limited to either 50% of your total memory or 8GB, whichever happens to be smaller.

It is possible to override the maximum RAM allocation, we suggest googling 'WSL memory limit' to learn more otherwise the following may work for you:To override the maximum RAM allocation when running Windows Subsystem for Linux (WSL), you need to modify the configuration settings. Here are the steps to do this:

  1. Open a PowerShell window as an administrator.
  2. Run the command: wsl --set-default-version 2 to set WSL version to 2 (WSL 2).
  3. Run the command: wsl --set-memory <your_memory_limit> to set the maximum memory limit for WSL (replace <your_memory_limit> with the desired memory limit, e.g., 4GB).
  4. Restart WSL by running the command: wsl --shutdown.

It is important to note that modifying these settings may require a reboot of your system.

wise jacinth
#

Fix you auth issues or comment the sections out that you don't use

wise jacinth
#

Are you sure about the numbers? Plex has a bug where the ui shows a number greater than what is actually in the collection

stoic verge
#

plex will show 800 or 1000, but then when you actually go in the collection, there is only the 100

tidal tree
#

There are 186 movies in 2010 Best of.

wise jacinth
#

have you tried to delete that specific collection and then run a collection-only run (to avoid all the other items) and share teh log here?

tidal tree
#

The other issue is within the Best of colletion. I have sort_by: rating.desc
limit: 100. Neither seem to be followed. Are these not part of the imdb search?

#

How do I do the collection only run? By collection only do you mean my Decades.yml or the 2010 Best of? I would love to know this technique.

wise jacinth
#

-r -co

#

python plex_meta_manager.py -r -co

#

or even more targetted

#

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

tidal tree
#

I only have movies setup so that would be a full run right?

wise jacinth
#

no it would be a collections only run for your Movies library

#

ie. a full run of your movies would include metadata, operations, and overlays, AND collections

#

-co will only run collections only for all defined libraries in config

#

in your case since you have only Movies defined, then it would only do collections for that 1 Library

#

you have some yml issues in your config

#

playlist_sync_to_user: all --> playlist_sync_to_users: all

#

ignore_imdb_ids: false --> ignore_imdb_ids:

#

collection_section: 600 is not indented properly so might as well delete that line

tidal tree
#

no true or false for ignore_imdb_ids: ?

wise jacinth
#

nope

#

just nothing

tidal tree
#

Fixed all that you recommended. I am inadequate with docker- pytrhon. If I normally use this as my commend how would I edit it to do just the collection run? docker run -it -v "C:\Users\vince\plex-meta-manager\config:/config:rw" meisnate12/plex-meta-manager: –run

blissful hollow
#

change --run to -r -co -rl "Movies"

#

Also, remove this colon:

meisnate12/plex-meta-manager:
                            ^
tidal tree
#

Ok. Thanks for the help. I deleted my best ofs and am running now. I will post the log when complete. Much appreciated.

tidal tree
brittle crownBOT
#

πŸ“ If you want to review this again, plantationcane.man:
: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 01** - ❌ **[ERROR]**

❌ [ERROR]
Error messages found in your attached log.
There is a very strong likelihood that PMM did not complete all of what you wanted. Some [ERROR] lines can be ignored.
For more information on handling these, [https://www.metamanager.wiki/en/latest/pmm/logs/?h=[error]#error]
15 line(s) with [ERROR] messages. Line number(s): 1696, 2460, 2613, 2661, 3133, 3233, 3336, 3436, 3539, 3642, 3745, 3848, 3951, 11696, 11710

wise jacinth
#

please swithc to nightly

warped dustBOT
#

NOTE: This is addressing changing from, for instance, latest to nightly.

The method depends on how you installed it.

**I'M USING DOCKER:**
docker pull meisnate12/plex-meta-manager:TAG_HERE

replace TAG_HERE with latest, develop, or nightly; whichever you want to switch to.

Then recreate your container via whatever means you used to create it [docker run, docker-compose, etc.], setting the image as meisnate12/plex-meta-manager:TAG_HERE

**I'M USING DOCKER ON UNRAID**

:one: Click on DOCKER tab and then on Plex-Meta-Manager
:two: Edit Repository: setting to switch branches:

meisnate12/plex-meta-manager:TAG_HERE

replace TAG_HERE with latest, develop, or nightly; whichever you want to switch to.

**I'M USING DOCKER ON A SYSTEM WITHOUT COMMAND PROMPT (SUCH AS NAS):**

The same concepts as above will apply:
:one: pull new image
:two: recreate container using that image instead of the current one.

Whatever the system, there will be a way to accomplish these two things.

**I'M RUNNING LOCALLY VIA GIT:**
cd DIRECTORY_WHERE_YOU_PUT_PMM
git checkout BRANCH_NAME
git stash
git stash clear
git pull
python -m pip install -r requirements.txt

For BRANCH_NAME, substitute master, develop, or nightly

Those stash commands are going to discard any changes you may have made to PMM's own files. If that's a concern, you are probably familiar enough with git to know what you need to do instead.

wise jacinth
#

and try again

tidal tree
#

Ran nightly. I deleted the Best of collections from plex and they were not recreated. Log attached and Decades.yml attached. The "Best of" collections are contained in the Decade.yml.

brittle crownBOT
#

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

brittle crownBOT
#

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

brittle crownBOT
# brittle crown
**PMM Info**
PMM Header

Version: 1.20.0-nightly29 (Docker)
PlexAPI Version: 4.15.7
Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.28
Memory: 8 GB

Run Command: plex_meta_manager.py -r -co -rl Movies

PMM Footer

Finished Libraries Run
Version: 1.20.0-nightly29
Finished: 02:52:58 2024-02-11 Run Time: 0:19:26

Available PMM Versions

as of 2024-02-11 05:26:29

PMM Version (Master branch)

1.20.0

PMM Version (Develop branch)

1.20.0-develop14

PMM Version (Nightly branch)

1.20.0-nightly29

wise jacinth
#

Hmm... peculiar... hoping someone else sees what might be going on. An extra set of eyes...

stoic verge
#

@wise jacinth @tidal tree they aren't being created due to the error beign returned by imdb

wise jacinth
#

What is the specific error that IMDb is returning that would indicate this?

#

I'd like to read it and get a better understanding of it.

stoic verge
#

every imdb_search has Unknown Error: 'data' @wise jacinth

#

does it have to do with the limit?

wise jacinth
#

Well, I was expecting an actual error from the IMDb site. I don't know if that Unknown error is related to the IMDb site or to the yaml itself.

#

Someone with more experience on the team would need to chime in.

blissful hollow
#

The response JSON coming back from IMDB [which is coming back fine, no errors] is missing a field that PMM expects it to contain. This is entirely on IMDB's end.

wise jacinth
#

You think there is a way to capture this and report it with luma or will that possibly send people down a diffeeent path as this error might be too generic to capture and report on?

tidal tree
#

Need some guidance. I did an ovehaul and am testing two methods for best of decade. One is using mdblist with lists that I crete. The lists are good but I set a limit of 100 and it seems maybe only the bottom are being added? I thought it would go in order from the top with the limit.

#

Second is the bottom half of the list is working with imdb but displaying in the collection by year.asc which is really against the point of a best of list. I want top rated on top.

brittle crownBOT
#

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

blissful hollow
#

There is so much in there and no errors that I can see. What specifically should I look at?

#

Can you do a targeted run with just a couple of the specific collections you're having trouble with?

tidal tree
brittle crownBOT
#

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

blissful hollow
#

As far as I can tell this is working as documented and expected.

| Builder: mdblist_list: {'url': 'https://mdblist.com/lists/vinlaw/best-of-2000s-by-scores', 'limit': 100, 'sort_by': 'rank.asc'} |
|                                                                                                    |
| Processing Mdblist.com List: https://mdblist.com/lists/vinlaw/best-of-2000s-by-scores              |
| Sort By: rank.asc                                                                                  |
| Limit: 100 items                                                                                   |

The default sort is rank.asc, which is what it's giving you. Sort by rank, ascending, and give me the first 100.

If you look at the mdblist builder page in the wiki:
https://metamanager.wiki/en/nightly/files/builders/mdblist/#mdblist-list

You can also limit the number of items to search for by using the limit and url attributes under mdblist_list.

You can also sort the items by using the sort_by and url attributes under mdblist_list.

The default sort_by when it's not specified is rank.asc.

There are a number of different sort options listed there:
https://metamanager.wiki/en/nightly/files/builders/mdblist/#sort-options

And an example of how to use them:

collections:
  Top 10 Movies of The Week:
    mdblist_list: 
      url: https://mdblist.com/lists/linaspurinis/top-watched-movies-of-the-week
      sort_by: imdbrating.desc
    collection_order: custom
    sync_mode: sync

So, if you want the top 100 from that list, you want to sort by rank.desc to put the top ones first, then as noted there:

For these sorts to be reflected in your collection you must use collection_order: custom.

You have that in the template already, so would end up as something like:

  2000's Films Best of Collection:
    template: {name: Best of Decade}
    mdblist_list: 
      url:  https://mdblist.com/lists/vinlaw/best-of-2000s-by-scores
      limit:  100
      sort_by: rank.desc
    summary: A collection of only the best films of the 2000s
tidal tree
#

Thanks. Working as planned.

stoic verge
#

if there is nothing else, please type /close

blissful hollow
#

@tidal tree Anything further needed here? If not, please type /close and hit enter.