#IMDB's trending_india does not work with movie libraries?

1 messages · Page 1 of 1 (latest)

native quiver
#
Validating Method: imdb_chart                                                                      |
[2024-09-26 16:09:54,646] [builder.py:970]            [DEBUG]    | Value: trending_india                                                                              |
[2024-09-26 16:09:55,008] [kometa.py:920]             [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/app/kometa/kometa.py", line 784, in run_collection                                        |
                                                                 |     builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str) |
                                                                 |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
                                                                 |   File "/app/kometa/modules/builder.py", line 1041, in __init__                                    |
                                                                 |     self._imdb(method_name, method_data)                                                           |
                                                                 |   File "/app/kometa/modules/builder.py", line 1491, in _imdb                                       |
                                                                 |     raise Failed(f"{self.Type} Error: chart: {value} does not work with movie libraries")          |
                                                                 | modules.util.Failed: Collection Error: chart: trending_india does not work with movie libraries    |
                                                                 |                                                                                                    |
[2024-09-26 16:09:55,009] [kometa.py:921]             [ERROR]    | Collection Error: chart: trending_india does not work with movie libraries                         |

Am I doing something wrong?

nocturne tokenBOT
#

Welcome @native quiver!

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.

native quiver
#

Attached is my imdb collection and below is a snippet from my config:

- repo: imdb
        template_variables:
          collection_section: "046"
          radarr_tag_<<key>>: kometa_<<collection_name>>
          radarr_add_missing_trending_india: true
          radarr_add_missing_top_indian: true
nocturne tokenBOT
#

❌ YAML validation failed! YAML checked and is NOT valid.

Error message:

mapping values are not allowed here
  in "<unicode string>", line 3, column 27:
            template_variables:
                              ^
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

native quiver
#

Just wondering what's going on because the docs show that it should work with both.

native quiver
nocturne tokenBOT
#

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

native quiver
#

After looking at it myself, I think it's running as it's supposed to - I just don't have any of the movies.

#

If I have this in my config - shouldn't the movies at the least be added to radarr? I don't see any movies in there with this tag.

- repo: imdb
        template_variables:
          collection_section: "046"
          radarr_tag_<<key>>: kometa_<<collection_name>>
          radarr_add_missing_trending_india: true
          radarr_add_missing_top_indian: true
nocturne tokenBOT
#

❌ YAML validation failed! YAML checked and is NOT valid.

Error message:

mapping values are not allowed here
  in "<unicode string>", line 3, column 27:
            template_variables:
                              ^
native quiver
#

@shrewd wraith some updates

twin pecan
#

why are you using - repo: imdb instead of - default: imdb

native quiver
twin pecan
#

so unless those keys are defined in your file, then Kometa doesn't know what to do or what to add to radarr

nocturne tokenBOT
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

twin pecan
#

it does look like they are.

native quiver
twin pecan
#

that error log is erroring out and saying the collection doesn't exist

#

and not sure without the rest of the log file

native quiver
#

Also, even if it's erroring out that the collection doesn't exist. Shouldn't the movies be added to radarr/sonarr anyway? So theoretically, the next run (after the movies have been grabbed), the collection can be made?

twin pecan
#

the logs will have additional information about radarr and so forth

native quiver
nocturne tokenBOT
#

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

nocturne tokenBOT
# nocturne token
**Kometa Info**
Kometa Header

Version: 2.0.2-build52 (Docker: nightly)
Newest Version: 2.0.2-build53
Platform: Linux-6.1.106-Unraid-x86_64-with-glibc2.28
Total Memory: 16 GB
Available Memory: 4 GB

Run Command: kometa.py

Kometa Footer

Finished Run
Version: 2.0.2-build52 Newest Version: 2.0.2-build53
Finished: 18:20:28 2024-09-27 Run Time: 1:50:06

Available Kometa Versions

as of 2024-09-28 02:29:52

Kometa Version (Master branch)

2.0.2

Kometa Version (Develop branch)

2.0.2-build53

Kometa Version (Nightly branch)

2.0.2-build53

nocturne tokenBOT
twin pecan
#

@native quiver have you tried to add them within your repo file instead of using a template variable?

native quiver
twin pecan
#

but that's not a default

native quiver
twin pecan
#

right, so sometimes those need to be used in the yml instead of a template variable. just a suggestion. i've had to declare in my yml file instead of trying to use as a template_variable

native quiver
twin pecan
#

you might try adding that, i didn't think of that. Actually, that's probably the solution

twin pecan
#

not that that would fix it either, but you are one build behind on your Kometa. just mentioning it

native quiver
#

Yep, adding the arr template solved it. The original error was fixed when I switched to nightly 52 (don't know which release it was actually fixed in).

We can close this up. Thanks for guiding me to the actual solution @twin pecan

nocturne tokenBOT
#

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