#Collection Limits not being followed

1 messages Β· Page 1 of 1 (latest)

broken iris
#

Hey everyone, I'm having trouble with my top10trending collections for series and films in Kometa. When new items are added, old ones aren't being removed, and the collection ends up growing beyond the limit of 10 items.
Series.yml
`templates:
IMDb Popular:
mdblist_list:
url: <<url>>
sort_by: imdbpopular.desc
limit: 100
collection_order: custom
sort_title: +_<<collection_name>>
sync_mode: sync
visible_library: true

IMDb Votes:
mdblist_list:
url: <<url>>
sort_by: imdbvotes.desc
limit: 100
collection_order: custom
sort_title: +_<<collection_name>>
sync_mode: sync
visible_library: true

collections:
πŸ“ˆ Trending Now:
template:
name: IMDb Popular
url: https://mdblist.com/lists/ryanito/trending-tv
limit: 10
sync_mode: sync
`

config.yml
libraries: Shows & Series: collection_files: - file: config/Series.yml overlay_files: - file: config/Top-10-Series.yml

let me know if i should post anything else, thanks for the help!

river mesaBOT
#

Welcome @broken iris!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

sour pulsarBOT
#
Providing Log Files

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

broken iris
river mesaBOT
#

πŸ“ If you want to review this again, david_935675:
: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
Connected to server Hume version 1.41.1.9057-af5eaea7a
Running on Windows version 10.0 (Build 19045)
Plex DB cache setting: 40 MB
PlexPass: True on PlexPass update channel.
Scheduled maintenance running between 22:00 and 6:00
Connected to library Movies & Features
Type: Movie
Agent: tv.plex.agents.movie
Scanner: Plex Movie
Ratings Source: IMDb
Movies & Features Library Connection Successful

grave idol
#

The log shows that collection being limited to 10 items as far as Kometa can see:

|=============================== Adding to πŸ“ˆ Trending Now Collection ================================|
|                                                                                                    |
|  1/10 | πŸ“ˆ Trending Now Collection | = | The Penguin                                                |
|  2/10 | πŸ“ˆ Trending Now Collection | = | Lioness                                                    |
|  3/10 | πŸ“ˆ Trending Now Collection | = | Agatha All Along                                           |
|  4/10 | πŸ“ˆ Trending Now Collection | = | Only Murders in the Building                               |
|  5/10 | πŸ“ˆ Trending Now Collection | = | The Diplomat                                               |
|  6/10 | πŸ“ˆ Trending Now Collection | = | The Day of the Jackal                                      |
|  7/10 | πŸ“ˆ Trending Now Collection | = | Disclaimer                                                 |
|  8/10 | πŸ“ˆ Trending Now Collection | = | Game of Thrones                                            |
|  9/10 | πŸ“ˆ Trending Now Collection | = | Tulsa King                                                 |
| 10/10 | πŸ“ˆ Trending Now Collection | = | Arcane                                                     |
| Collection Limit reached                                                                           |
|                                                                                                    |
| 10 Shows Processed 0 Shows Added                                                                   |
|                                                                                                    |
|============================== Removed from πŸ“ˆ Trending Now Collection ==============================|
|                                                                                                    |
| 1/2 | πŸ“ˆ Trending Now Collection | - | Shrinking                                                    |
| 2/2 | πŸ“ˆ Trending Now Collection | - | Slow Horses                                                  |
|                                                                                                    |
| 2 Show Removed                                                                                     |
#

This one as well:

|================================ Adding to Popular Films Collection ================================|
|                                                                                                    |
|  1/10 | Popular Films Collection | = | The Apprentice (2024)                                       |
|  2/10 | Popular Films Collection | = | Deadpool & Wolverine (2024)                                 |
|  3/10 | Popular Films Collection | = | Beetlejuice Beetlejuice (2024)                              |
|  4/10 | Popular Films Collection | = | The Batman (2022)                                           |
|  5/10 | Popular Films Collection | = | Interstellar (2014)                                         |
|  6/10 | Popular Films Collection | = | Twisters (2024)                                             |
|  7/10 | Popular Films Collection | = | Smile (2022)                                                |
|  8/10 | Popular Films Collection | = | Venom (2018)                                                |
|  9/10 | Popular Films Collection | = | Harry Potter and the Sorcerer's Stone (2001)                |
| 10/10 | Popular Films Collection | = | V for Vendetta (2006)                                       |
| Collection Limit reached                                                                           |
broken iris
#

its almost like its appending them or something, but i have it all set to sync

grave idol
#

The other two don't have any limit set.

| Cult Classics        |     0 |    63 |     0 |  0:00:02 | Unchanged                                |
| Time Travel          |     0 |    26 |     0 |  0:00:01 | Unchanged                                |
broken iris
#

yes, this issue is just for my top 10 trending collections

grave idol
#

All we can go by is the log, and according to what Kometa can see it left that collection with 10 items in it:

|        Title         |   +   |   =   |   -   | Run Time | Status                                   |
|======================|=======|=======|=======|==========|==========================================|
| πŸ“ˆ Trending Now       |     0 |    10 |     2 |  0:00:09 | Modified                                 |

You could try a run with log-requests enabled to see what requests Kometa is making to Plex, but it looks like Kometa is trying to do the right thing here and Plex is behaving badly.

broken iris
#

gotcha, pardon my ignorance, trying to learn all this stuff, once i run the loq-request, should i reupload my meta.log here?

grave idol
#

Sure,

river mesaBOT
#

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

Using Asset Directory: config/assets
Starting new HTTP connection (1): 127.0.0.1:32400
http://127.0.0.1:32400 "GET / HTTP/11" 200 4622
Connected to server Hume version 1.41.1.9057-af5eaea7a
Running on Windows version 10.0 (Build 19045)
http://127.0.0.1:32400 "GET /:/prefs HTTP/11" 200 9068
Plex DB cache setting: 40 MB
PlexPass: True on PlexPass update channel.
Scheduled maintenance running between 22:00 and 6:00
http://127.0.0.1:32400 "GET /library HTTP/11" 200 289
http://127.0.0.1:32400 "GET /library/sections HTTP/11" 200 649
http://127.0.0.1:32400 "GET /library/sections/2/prefs HTTP/11" 200 3512
Connected to library Shows & Series
Type: Show
Agent: tv.plex.agents.series
Scanner: Plex TV Series
Ratings Source: N/A
Shows & Series Library Connection Successful

grave idol
#

I imagine this is the Plex emoji issue.

Here's Kometa asking Plex to remove the label from those two items, and Plex responding with a 200 [success]:

|============================== Removed from πŸ“ˆ Trending Now Collection ==============================|
|                                                                                                    |
| 1/2 | πŸ“ˆ Trending Now Collection | - | Shrinking                                                    |
| 2/2 | πŸ“ˆ Trending Now Collection | - | Slow Horses                                                  |
| http://127.0.0.1:32400 "PUT /library/sections/2/all?collection.locked=1&collection%5B%5D.tag.tag-=%25F0%259F%2593%2588%2520Trending%2520Now&id=80527%2C79881&type=2 HTTP/11" 200 0 |

But since the label contains an emoji, Plex apparently actually doesn't remove it from the items.

broken iris
#

looks like that was it!

#

thank u for being smarter than me ❀️

sour pulsarBOT
#

antwanchild used !aenh

@broken iris, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.