#Season poster, title cards and metadata not updated

1 messages · Page 1 of 1 (latest)

frank heronBOT
#

Welcome @dreamy halo!

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.

#

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

#

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

frank heronBOT
#

Hi,
I just changed my config files quite a lot in order to automate everything (I did only manage my movie library with kometa before. Now i would to manage them all).
I have an issue with my TV Show library ("Séries TV" in french)

The posters of series are well updated
The collection are created

but

The season posters and title cards are not updated
The metadata are not updated (I would like to force the label used for title order)

Here is the way my assets are organized :
For every movie/collection/tv show/... I have a dedicated folder with all the assets in the folder. The name of the folder is always the exact same name of the directory of the movie/collection/tv show/...
\192.168.X.X\docker\Kometa\config\assets\Stargate SG-1 (1997) {tvdb-72449}
├── poster.jpg
├── background.jpg
├── Season00.jpg
├── Season01.jpg
├── Season02.jpg
├── Season03.jpg
├── Season04.jpg
├── S01E01.jpg
├── S01E02.jpg
├── S01E03.jpg
├── S02E01.jpg
├── S02E02.jpg
├── S02E03.jpg
├── S10E20.jpg

Attached are my log and config files. As I am trying to debug, i have commented everything and I have created a TV Show library called test with just 2 seasons of Stargate SG-1

Thx a lot for your help !

dreamy halo
frank heronBOT
#

📝 If you want to review this again, shoobx:
: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 03** - ❌ **IMAGE SIZE ERRORS**

IMAGE SIZE ERRORS
It seems that you are attempting to upload or apply artwork and it's greater than the maximum 10MB.
This usually means that you have internal server errors (500) as well in this log. Change the image to one that is less than 10MB. For more information on handling this, [https://www.google.com]
2 line(s) with IMAGE SIZE errors. Line number(s): 5833, 5847

dreamy halo
#

i found the issue of the movie library. some posters were >10Mo. strage because it worked before but anyway collection are being created now

manic merlin
#

your asset_depth may not be deep enough. you may need to increase that number

#

however, i also recommend setting the asset_directory at the library level as well

#

for my config, i have yaml libraries: TV Shows: ... settings: asset_directory: - config/assets/TV Shows operations: assets_for_all: true ##<--- THIS IS NEEDED IN EACH LIBRARY YOU WANT ASSESTS

dreamy halo
#

I will try this and let you know. thanks a lot !

dreamy halo
manic merlin
dreamy halo
frank heronBOT
#

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

dreamy halo
#

zip seems to be ok.

frank heronBOT
#

here is the last version of the config file. somme metadata are updated : only the one that are in the "collection" files where I have the collections summary overwrittent sometimes.
but the metadata for the season posters, title cards and label used for order in plex are not updated

long rain
#

You don't have assets_for_all enabled on the TV library. This means that only collections in the TV library will get assets applied.

dreamy halo
#

i assume assets_for_all will solve the problem for season posters and title cards but maybe not metadata ?

long rain
#

|========================================= Redacted Config ==========================================|
| libraries:
|   Films:
...
|     operations:
|       mass_audience_rating_update: tmdb
|       delete_unmanaged_collections: true
|       assets_for_all: true
|
|
|   Films d'animation:
...
|     operations:
|       mass_audience_rating_update: tmdb
|       delete_unmanaged_collections: true
|       assets_for_all: true
|
|   Acteurs:
...
|     operations:
|       mass_audience_rating_update: tmdb
|       delete_unmanaged_collections: true
|       assets_for_all: true
|
|   Films Documentaires:
...
|     operations:
|       mass_audience_rating_update: tmdb
|
|   Documentaires TV:
...
|     operations:
|       mass_audience_rating_update: tmdb
|
|   Séries TV:
...
|     operations:
|       mass_audience_rating_update: tmdb
|       mass_episode_audience_rating_update: tmdb
|
|   Dessins animés:
...
|     operations:
|       mass_audience_rating_update: tmdb
|       mass_episode_audience_rating_update: tmdb

The last four libraries there will not get assets applied.

dreamy halo
#

ok thankx for that I will update them all.

#

have you seen my previous question ?

long rain
#

This is invalid:

    metadata_paths:
    - metadata/Metadata_Series_TV.yml

metadata_paths is not in the wiki; kometa isn't looking for it; this just gets ignored.

#
    metadata_files:
    - metadata/Metadata_Series_TV.yml
dreamy halo
#

ok thx. i change this immediately and will test it

long rain
manic merlin
dreamy halo
#

i'm sorry i did not see the "files" instead of "paths". i only paid attention to the place of the paths in the library instead of the settings section of the config file

#

i have launched a new update by kometa. i will let you know if it works. thanks to both of you.

long rain
#

In the last config it's in the right place but it's not the right attribute.

manic merlin
#

COOL!!! Let us know

long rain
#
|========================================= Redacted Config
| libraries:
|   Séries TV:
|     template_variables:
|       collection_mode: hide_items
|
|     collection_files:
|     - file: config/Series_TV_collection.yml
|
|     metadata_paths:
|     - metadata/Metadata_Series_TV.yml
|
|   Dessins animés:
|     template_variables:
|       collection_mode: hide_items
|
|     collection_files:
|     - file: config/Dessins_animes_collection.yml
|
|     metadata_paths:
|     - metadata/Metadata_Dessins_Animes.yml
|
dreamy halo
#

Yes you are right. I changed the place but not the attribute.
Really sorry guys

#

Now it should be ok. I will let you know

frank heronBOT
#

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

#

So I have the result.
Assets are taken into account. thanks a lot. Season posters and title cards are updated now.
I still have an issue with metadata. The mapping is not done but i dont know why. My libraries are in French but the names if the files on the drive are in english.
How should I change the medata files to fix this. I have read the wiki and i understood I need to use the label in the plex library so french...
Log, metadata file and screenshot of the files on the drive attached.

additional problem : the "old" collection are not deleted. i changed the names of some collections. the new one have been created but the old one are still there (example "Minions" should be removed as I created "Moi, moche et méchant")

manic merlin
#

You need to delete the old collections

long rain
#

Kometa will not delete collections unless specifically instructed to do so. Changing the name will not delete the previous one.

#

You should use the match attribute with an ID in the metadata file rather than relying on the title.

#

If you are in love with using titles, the metadata file is looking for the title as found in Plex. It doesn't know or care about the files on disk.

dreamy halo
#

I would prefer using tmdv or tvdb ID but i didnt understand how to do so

#

i thought the "deleted_unmanaged_collection" would delete the collection 😉 but i will do it manually

long rain
#

A collection create by Kometa is a managed collection, so deleting unmanaged collections won't touch it.

long rain
dreamy halo
#

ok thx

dreamy halo
#

Here is the file if anyone looks at this conversation and is interested by a concrete example.

metadata:
83268: # Star Wars - The Clone Wars (2008)
sort_title: Star Wars 001
283468: # Star Wars Rebels (2014)
sort_title: Star Wars 002
351575: # Star Wars Resistance (2018)
sort_title: Star Wars 003
385376: # Star Wars - The Bad Batch (2021)
sort_title: Star Wars 004

long rain
#

I'm curious how the examples in the wiki are deficient or insufficiently concrete? What needs to change there?

dreamy halo
#

there is something i dont understand. I had more spaces before the comments (shows name) and I had an error. i would like to have all the comments aligned but ...

long rain
#

and I had an error

Depends entirely what that error is. There should be no problem with extra space before the comment marker

dreamy halo
#

message is not very specific but anyway thx a lot for your help.

long rain
#

You can't use tab characters in YAML. \t is a tab character. Move those comments over with spaces, not tabs.

dreamy halo
#

ok thx

long rain
#

What needs to change in the wiki to make the examples useful?

dreamy halo
#

It’s probably clear for the majority of people. As you have already understood i know nothing about coding and real exemples are much simpler to understand for me. This is whiy I shared the few lines I tested.

I tried to use ChatGPT but it doesnt work very well.

#

I am supposed to close the conversation now that the problem is solved is the command to do do ?

#

Once again many Thanks for your help and patience.

long rain
#

My question is what is not real about the examples shown? They seem the same as what you pasted here

metadata:
  Star Wars:    # Matches via the title "Star Wars"
    edits...
  299534:       # Matches via TMDb ID: 299534
    edits...
  tt4154756:    # Matches via IMDb ID: tt4154756
    edits...
  "9":          # Matches via the title "9" 
    edits...

and

metadata:
  83268:        # Star Wars - The Clone Wars (2008)
    sort_title: Star Wars 001
  283468:       # Star Wars Rebels (2014)
    sort_title: Star Wars 002
  351575:       # Star Wars Resistance (2018)
    sort_title: Star Wars 003
  385376:       # Star Wars - The Bad Batch (2021)
    sort_title: Star Wars 004

Don't seem substantively different to me. Is it the explicit sort_title rather than the general edits... that was throwing you off?

dreamy halo
#

Edits… doenst mean anything for’example

#

I know it sounds stupid but once again for’people that have never coded anything its a difficulty

long rain
#

It's intended as a stand-in for any of the edits described elsewhere on the page. Often when we've included more specific examples then people ask if those specific things are required.

#

LIke this:

metadata:
  83268:        # Star Wars - The Clone Wars (2008)
    sort_title: Star Wars 001

has led people to ask if they have to include the sort title.

dreamy halo
#

Yes I understand your point

long rain
#

OK, I just ask this routinely when peple have trouble with the wiki.

#

Also, there's an example at the top of the page that shows metadata edits in action.

dreamy halo
#

You will never find a single way to explain somerhing to everyone clearly !

#

And once again maybe im the only one with such difficulty

plush craterBOT
#

antwanchild used !aenh

@dreamy halo, 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.