Kometa-Team / Kometa

Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.
https://kometa.wiki
MIT License
2.51k stars 306 forks source link

Can't set Original Title on Show item #3

Closed Soitora closed 3 years ago

Soitora commented 3 years ago

I followed the example, and the docs say it can (even though I know Agents can't normally)

|====================================================================================================|
|                                      Series Library Metadata                                       |
|====================================================================================================|
|                                                                                                    |
|                                                                                                    |
|====================================================================================================|
|                                                                                                    |
| Updating Show: Avatar: The Last Airbender...                                                       |
| 'Show' object has no attribute 'originalTitle'                                                     |
|                                                                                                    |
|====================================================================================================|

Series.yml

metadata:
  "Avatar: The Last Airbender":
    sort_title: Avatar 01
    alt_title: The Last Airbender
    original_title: The Last Airbender
    seasons:
      1:
        title: "Book One: Water"
      2:
        title: "Book Two: Earth"
      3:
        title: "Book Three: Fire"
  "Avatar: The Legend of Korra":
    sort_title: Avatar 02
    alt_title: The Legend of Korra
    original_title: The Legend of Korra
    seasons:
      1:
        title: "Book One: Air"
      2:
        title: "Book Two: Spirits"
      3:
        title: "Book Three: Change"
      4:
        title: "Book Four: Balance"
meisnate12 commented 3 years ago

unfortunately, it doesn't appear possible I thought I had tested this but I guess I was mistaken. I tried to bump your thread so hopefully that helps. I'm going to close this because there's no much I can do about it, but if they update the API to work with original_title ill get it in here as soon as I know just open an issue once its actually available

Soitora commented 3 years ago

I would have hoped theres a dirty fix but I guess not

I'm not keeping my hopes up as it has been 10 years and they're not focusing much on user experience aside from going public with free movies (Although intro skip is amazing)

Thanks for your work, if I see it come back I'll reopen the issue

meisnate12 commented 3 years ago

i had an idea of trying to set the original title by directly injection it into the database bypassing the api. I'm going to run some tests and see what i can come up with

meisnate12 commented 3 years ago

I figured it out i can edit the original titles full update will be out later

meisnate12 commented 3 years ago

check the develop branch to test

Soitora commented 3 years ago

I can check it out tomorrow after studying 👍🏻