#Kometa Reprocessing everything

1 messages · Page 1 of 1 (latest)

hexed thicket
#

Is kometa supposted to reprocess every overlay pretty much everytime is runs?
Each library has the following:
reapply_overlays: false

Not sure what else it could be. I have a large library and it takes hours. Thanks for helping!

honest hollyBOT
#

Welcome @hexed thicket!

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.

feral pawn
delicate lily
#

same goes for collections, metadata files and operations. Everything kometa does requires the entire library to be scanned, however it will only change the things it needs to change

hexed thicket
smoky kayak
honest hollyBOT
#

📝 If you want to review this again, dasvekman:
: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> 📝

hexed thicket
#

hopefully I just setup something wrong

smoky kayak
#

That log ends well prior to overlays being applied.

It ends while Kometa is doing the processing/filtering to decide which things get which overlays.

That will happen on each overlay run, but only those overlays which have actually changed will get applied at the end of that.

#

If it's actually reapplying overlays, we will need to see a log showing that happening.

hexed thicket
#

sorry I uploaded the wrong 1

honest hollyBOT
#

📝 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> 📝

honest hollyBOT
# honest holly
**User Info**

Author of Linked Message: DasVekman
Person who Invoked the Command: Antwan
File Name: meta-3.zip

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Plex Configuration - Section 4
Page 09: Plex Configuration - Section 5
Page 10: Plex Configuration - Section 6
Page 11: Rec 01 - ❌ [ERROR]
Page 12: Rec 02 - ❌ CORRUPT FILE ERROR
Page 13: Rec 03 - ❌ OVERLAY LOAD ERRORS
Page 14: Rec 04 - ⚠️ [WARNING]
Page 15: Rec 05 - ⚠️ NO ITEMS FOUND IN PLEX
Page 16: Rec 06 - ⚠️ MEMORY RECOMMENDATION
Page 17: Rec 07 - 💬 CONVERT WARNING
Page 18: Rec 08 - 💬💡️ PLEX DB CACHE ADVICE

honest hollyBOT
feral pawn
hexed thicket
#

why does it take so long then?

feral pawn
hexed thicket
feral pawn
smoky kayak
#

If you have five overlays on a thing and one of the five changes, yes, all five will be reapplied,

However, the "did anything change" process involves looking at every overlay on every item in the library, and there is no way to shortcut that process.

feral pawn
#

and then also must still step through each episode and say "oh hey, this is the overlay i had did anything change? ... No... Okay, next episode"

hexed thicket
#

so since I have a large library, what's best practice to apply to changed/added files?

feral pawn
#

honest opinion, not use episode level overlays. But there are instances of looking for images and not found; which does contribute to the extra time as well

smoky kayak
#

There are other problems going on here, though.

#

There are about 3000 of these:

[2025-06-04 01:52:32,407] [kometa.py:459]             [INFO]     |     1 | Overlay Error: Image Error: Not Found on Image URL: (redacted)/library/metadata/8481/thumb/1721017022?X-Plex-Token=(redacted) |

Kometa is asking Plex for a clean image on which to apply overlays, and Plex is returning a "can't find one".

Those 3000 failed attempts will get repeated on every run.

hexed thicket
#

odd, I don't know where that path is going

smoky kayak
#

In terms of time you need to decide which overlays are actually providing value commensurate with the time they take. For example:

[2025-06-03 12:08:54,617] [plex.py:1144]              [INFO]     | Processing Plex All Episodes                                                                       |
[2025-06-03 12:08:54,618] [plex.py:606]               [INFO]     | Loading All Episodes from Library: Anime                                                           |
[2025-06-03 12:10:56,969] [plex.py:626]               [INFO]     | Loaded 32742 Episodes                                                                              |
[2025-06-03 12:10:57,371] [builder.py:2292]           [DEBUG]    |                                                                                                    |
[2025-06-03 12:10:57,371] [builder.py:2293]           [DEBUG]    | 32742 IDs Found                                                                                    |
[2025-06-03 12:10:57,387] [builder.py:2295]           [DEBUG]    |                                                                                                    |
[2025-06-03 12:33:42,736] [overlays.py:610]           [INFO]     | 32742 Items found for Overlay File (4) Episode Info                                                |

Here Kometa is taking 20 minutes to prepare to put "S01E01" on all 33K episodes, when that information is typically already visible in the UI right next to that image. That's not applying the overlay, that's just gathering the data.

Then a moment later:

[2025-06-03 12:33:43,137] [plex.py:1144]              [INFO]     | Processing Plex All Episodes                                                                       |
[2025-06-03 12:33:43,137] [plex.py:606]               [INFO]     | Loading All Episodes from Library: Anime                                                           |
[2025-06-03 12:35:43,606] [plex.py:626]               [INFO]     | Loaded 32742 Episodes                                                                              |
[2025-06-03 12:35:44,008] [builder.py:2292]           [DEBUG]    |                                                                                                    |
[2025-06-03 12:35:44,008] [builder.py:2293]           [DEBUG]    | 32742 IDs Found                                                                                    |
[2025-06-03 12:35:44,023] [builder.py:2295]           [DEBUG]    |                                                                                                    |
[2025-06-03 12:58:22,642] [overlays.py:610]           [INFO]     | 32742 Items found for Overlay File (5) runtime_info                                                |

Another 20 minutes to gather runtimes on all 33K episodes.

Only you can decide whether those two bits of info are worth nearly an hour of processing.

hexed thicket
#

yeah probably not, I'll go ahead and remove those

smoky kayak
#

This run took:

Run Time: 14:29:53

And nearly all of that 14 hours is processing overlays on three libraries:

| Title                       | Run Time |
| =========================== | ======== |
| Library Overlay Files       |  6:43:00 | # Anime
| Library Overlay Files       |  2:25:29 | # TV Shows
| Library Overlay Files       |  4:54:37 | # Cartoons
| Library Overlay Files       |  0:09:21 | # Movies
| Library Overlay Files       |  0:02:48 | # Animated Movies
| Library Overlay Files       |  0:00:33 | # Anime Movies
hexed thicket
#

I'm also adding language to the episode

feral pawn
hexed thicket
#

just being anal retentive I suppose but it's not worth the processing time

#

what's the best way to undo the changes I made to the episodes?

feral pawn
#

remove those items from your config, and then the next run they'll be processed and removed. no need to issue "reapply_overlays: true", that will happen automatically

hexed thicket
#

great thank you

#

is there anything else in the config or errors that I need to address?

smoky kayak
#
[INFO]     |     1 | Config Warning: Path does not exist: /root/config/assets

If you are planning to use assets you'll need to address this.

#
 |   392 | Overlay Error: This item's poster already has an Overlay. There is no Kometa setting to change; manual attention required. |

These are probably seasons that don't have art of their own so Plex gave Kometa tha already-overlaid show poster, which Kometa will then not double-overlay.

#
[INFO]     |     3 | File Error: Default does not exist content_rating_us.yml 

You have:

libraries:
  Movies:
...
    overlay_files:
      - default: content_rating_us
...
  Animated Movies:
...
    overlay_files:
      - default: content_rating_us
...
  Anime Movies:
...
    overlay_files:
      - default: content_rating_us
...

which should be:

libraries:
  Movies:
...
    overlay_files:
      - default: content_rating_us_movie
...
  Animated Movies:
...
    overlay_files:
      - default: content_rating_us_movie
...
  Anime Movies:
...
    overlay_files:
      - default: content_rating_us_movie
...
hexed thicket
#

ty sir