#Kometa Removing Items from Collection (sync_mode: append)

1 messages ยท Page 1 of 1 (latest)

bold harborBOT
#

Welcome @rose rapids!

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.

bold harborBOT
#

Hey all. I have my script setup, doing nearly everything just the way I want. However, I have sync_mode: set to append but movies are still being removed from collections that I've added manually after.

My config file is attached. Any help would be appreciated. Thank you!

rose rapids
bold harborBOT
#

๐Ÿ“ If you want to review this again, y2j1245:
: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** - ๐Ÿ’ฌ๐Ÿ’ก๏ธ **PLEX DB CACHE ADVICE**

๐Ÿ’ฌ๐Ÿ’ก๏ธ PLEX DB CACHE ADVICE
Consider updating the Plex DB cache setting from 0.04 GB, to a value greater than 1 GB based on the total memory of 63.00 GB.
Setting db_cache: 1024 within the plex settings in your config.yml is effectively 1024MB which is 1GB. For more info on this setting: https://kometa.wiki/en/latest/config/plex#plex-attributes
NOTE:The number you choose can vary wildly based on a number of factors (such as the size and number of libraries, and the amount of files/operations/overlays that are being utilized).

wintry dawn
#

If you are adding things to Kometa-controlled collections behind Kometa's back, that really isn't recommended.

rose rapids
#

Ok. Well Kometa doesn't add Batman Returns to the Batman collection. It also removes it on subsequent scans.

By why does sync_mode exists with an append option, defined as: Will only add items that are added from the source builder, but will not remove anything even if it is removed from the source builder., if it isn't supposed to be used that way?

wintry dawn
#

Source builder, not target collection.

#

If you are building a collection from a Trakt list with 10 items in it, and tomorrow that Trakt list has 8 items in it, append mode won't remove the 2.

wintry dawn
rose rapids
#

It's just labeled as 'Batman'. It adds Batman, Batman Forever, and Batman & Robin, but skips Batman Returns. I've rescraped and running again.

wintry dawn
#

Sure, but how are you creating it in Kometa?

turbid estuary
wintry dawn
turbid estuary
#

Batman Begins | No TMDb ID for Guid: local://262603
Batman Returns | No TMDb ID for Guid: local://262660

#

i know Batman Begins is not part of that franchise, but i was just showing you there are several examples in there where movies are not properly matched, so they don't get picked up properly

formal sphinx
#

Id fix match on batman returns the refresh metadata on it and rerun kometa

#

Sometimes plex doesnt match properly or misses a tmdb id for a movie and a fix match will solve that

#

Kometa uses the tmdb ids that plex provides to match things from plex to tmdb/imdb/whatever db

wintry dawn
#

From the log:

| Mapping Error | local://262660                                 | No match in Plex for "Batman Returns" |

"Batman Returns" is not matched, so Plex has no idea that movie is in your library.

Then when the collection is processed:

|==================================== Running Batman Collection =====================================|
|                                                                                                    |
| Sync Mode: sync                                                                                    |
|                                                                                                    |
| Builder: tmdb_collection: 120794                                                                   |
|                                                                                                    |
| Builder: tmdb_collection loaded from Cache                                                         |
|                                                                                                    |
| 4 IDs Found                                                                                        |
|                                                                                                    |
|                                                                                                    |

Three movies from TMDB that are already in the collection

|=================================== Adding to Batman Collection ====================================|
|                                                                                                    |
| 1/3 | Batman Collection | = | Batman (1989)                                                        |
| 2/3 | Batman Collection | = | Batman Forever (1995)                                                |
| 3/3 | Batman Collection | = | Batman & Robin (1997)                                                |
|                                                                                                    |
| 3 Movies Processed 0 Movies Added                                                                  |

Remove the random thing [that happens to be named "Batman Returns" but isn't matched as that movie] that got added behind Kometa's back:

|                                                                                                    |
|================================== Removed from Batman Collection ==================================|
|                                                                                                    |
| 1/1 | Batman Collection | - | Batman Returns (1992)                                                |
|                                                                                                    |
| 1 Movies Removed                                                                                   |
|                                                                                                    |

Then report the one movie that's in the source list but isn't in the library:

|=============================== Missing Movies from Library: Movies ================================|
|                                                                                                    |
| Batman Collection | ? | Batman Returns (1992) (TMDb: 364)                                          |
|                                                                                                    |
| 1 Movie Missing                                                                                    |
|                                                                                                    |
ocean spadeBOT
#

chazlarson used !aenh

@rose rapids, 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.