Hiya, been awhile. I just noticed my Holiday collection isn't working. I've been looking through other older issues searching Holiday and Seasonal on here, trying not to bug you guys, but I can't seem to find my underlying issue. I'm pretty sure it worked before..I don't hav the now defunct "imdb.com/search/title/" stuff. Only lists. I'm sure it's easy enough to fix, just need a little guidance please?
#Custom Holiday Collections
1 messages · Page 1 of 1 (latest)
Welcome @humble pewter!
Thanks for being a Kometa Sponsor, we greatly appreciate it! Your ticket will now be diverted to <@&1097919568334311495> and <@&938443185347244033>.
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.
Just in case, here's the other yml that creates my other collections:
(Which on a unrelated side note, I can't seem to get the smart collection thing to work so it doesn't need to run to update?! Starts at Line 44)
The holiday collections that ar scheduled to run today are "Thanksgiving" in Movies and "Thanksgiving" and "Halloween" in TV.
In both cases Thanksgiving is failing due to an error on the IMDb side:
|============================== Running Thanksgiving Movies Collection ==============================|
|
| Sync Mode: append
|
| Builder: imdb_list: {'list_id': 'ls000835734', 'limit': 0}
|
| Processing IMDb List: ls000835734
| Response: {'errors': [{'message': 'Variable "$isInPace" of required type "Boolean!" was not provided.', 'locations': [{'line': 1, 'column': 161}], 'extensions': {'code': 'BAD_USER_INPUT', 'locations': [{'line': 1, 'column': 161}]}}], 'extensions': {'disclaimer': 'Public, commercial, and/or non-private use of the IMDb data provided by this API is not allowed. For limited non-commercial use of IMDb data and the associated requirements see https://help.imdb.com/article/imdb/general-information/can-i-use-imdb-data-in-my-software/G5JTRESSHJBBHTGX#', 'entitlements': {'fields': {'Title.productionStatus': 'DENY', 'Title.principalCreditsV2': 'DENY'}, 'inUse': True}}} |
| Traceback (most recent call last):
| File "C:\Users\User\Kometa\kometa.py", line 857, in run_collection
| builder.filter_and_save_items(builder.gather_ids(method, value))
| File "C:\Users\User\Kometa\modules\builder.py", line 2259, in gather_ids
| ids = self.config.IMDb.get_imdb_ids(method, value, self.language)
| File "C:\Users\User\Kometa\modules\imdb.py", line 769, in get_imdb_ids
| return [(i, "imdb") for i in self._pagination(data, "list" if method == "imdb_list" else "watchlist")] |
| File "C:\Users\User\Kometa\modules\imdb.py", line 639, in _pagination
| search_data = response_json["data"][step]["titleListItemSearch"] if is_list else response_json["data"]["advancedTitleSearch"] |
| KeyError: 'data'
|
| Unknown Error: 'data'
Halloween in the TV case fails because the builder you're using doesn't work with TV:
|============================== Validating Halloween Movies Attributes ==============================|
|
| Looking for: Halloween Movies
|
| Validating Method: smart_label
| Value: title.asc
|
| Validating Method: delete_not_scheduled
| Value: True
|
| Validating Method: schedule
| Value: range(10/01-10/31)
|
| Validating Method: imdb_list
| Value: ['https://www.imdb.com/list/ls023118929/', 'https://www.imdb.com/list/ls000099714/']
|
| Validating Method: tmdb_collection
| Value: [91361, 8581, 1733, 8091]
| Traceback (most recent call last):
| File "C:\Users\User\Kometa\kometa.py", line 829, in run_collection
| builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str) |
| File "C:\Users\User\Kometa\modules\builder.py", line 1025, in __init__
| raise Failed(f"{self.Type} Error: {method_final} attribute only allowed for movie libraries")
| modules.util.Failed: Collection Error: tmdb_collection attribute only allowed for movie libraries
|
| Collection Error: tmdb_collection attribute only allowed for movie libraries
This error is due to a change on the IMDB side; it is fixed in the Kometa nightly build as of 06/27/2025
You're also using a fairly old version of Kometa, so you probably want to update that.
Dumb question, but if I update to the latest stable is that nightly update included since it's older?
or should i just switch and use nightly?
Right now latest, develop, nightly are all the same build and any IMDb “fix” up to this point from nightly, will be included in the latest release
ok, thanks.
Could that be why that smart collection I mentioned wasn't working as well?
Not necessarily. Could be that you have an old version of Kometa…
Which smart collection?
Starts at Line 44
Line 44 of what? That second YAML file?
What are you expecting it to do, and what is it doing instead?
Any smart collection that uses that template will fail because:
...
| Collection Error: collection_order does not work with Smart Collections
The collection at line 44 doesn't appear in that log.
Ya, the second yaml file. (moviecollections.yml). I was trying out the smart collection, i read that Kometa doesn't need to run everytime to update those particular collections, whcih would be handy for recently added/released.
sort_title: '-03_'
visible_home: true
visisble_shared: true
smart_filter:
all:
added: 90
sort_by: added.desc```
Not sure why it wouldn't be in the log, it's been in the config for awhile, so Kometa has for sure ran since I added it.
All I can do is read the log, and there is no mention of it in that log above. Uppercase "TEST" appears only once:
That collection definition doesn't match the one in moviecollections.yml:
That log does contain a collection named "", which doesn't match the definition found in moviecollections.yml as provided above.
The log contains a smart collection definition:
| Recently Added Movies (Last 30 Days) Collection in Movies
|==============================================================================
|
|================================ Building Definition From Templates ==========
|
| Templates Called: standard
|
|==================================== Final Template Attributes ===============
|
| {'collection_order': 'custom', 'sync_mode': 'sync', 'visible_library': True, 'visible_shared': False} |
|
|==================== Validating Recently Added Movies (Last 30 Days) Attributes
|
| Looking for: Recently Added Movies (Last 30 Days)
|
| Validating Method: sync_mode
| Value: sync
|
| Validating Method: smart_filter
| Value: {'limit': 100, 'all': {'added': 30}, 'sort_by': 'added.desc'}
| Smart URL: ?type=1&limit=100&sort=addedAt%3Adesc&addedAt%3E%3E=-30d
| Traceback (most recent call last):
...
|
| Collection Error: collection_order does not work with Smart Collections
|
|==============================================================================
| Finished Recently Added Movies (Last 30 Days) Collection
| Collection Run Time: 0:00:00
The moviescollections.yml version isn't a smart collection:
Recently Added Movies (Last 30 Days):
template:
name: standard
plex_search:
added: 90
collection_order: release
sort_title: '-03_'
visible_home: true
visible_shared: true
summary: Movies added in the last month...
file_theme:
config/assets/movies/collections/categories/Recently Added/theme.mp3
So this moviecollections.yml attached to this thread is not the same one that was used to generate that log.
I don't see anything here that would prevent this collection from updating automatically without Kometa running. My own "recently added movies" looks basically just like this.
I can't offer anything else, though, since this collection doesn't appear in the log, and the YAML file you've provided what does contain the definition does not appear to be the one that was in use when that log was generated.
Very stange. I've updated Kometa so I'll run collections only and see what happens.
oh oh..I got a warning/error after updating and I have 0 idea how to fix it.
import pkg_resources```
You need to update the requirements.
The moviecollections.yml that was run in that log above contains these 11 collections:
| Running moviecollections Collection File
...
| Recently Released Movies (Last 90 Days) Collection in Movies
| Recently Added Movies (Last 30 Days) Collection in Movies
| Plex Popular Collection in Movies
| Plex Watched Collection in Movies
| IMDb Popular Collection in Movies
| IMDb Top 250 Collection in Movies
| Top 50 Grossing of All Time Collection in Movies
| Oscar Nominess Collection in Movies
| Oscar Winners Collection in Movies
| Best Motion Picture Award (Last 50 Years) Collection in Movies
| Omega Collection Collection in Movies
while the moviecollections.yml above contains 12:
collections:
Recently Released Movies (Last 360 Days):
Recently Added Movies (Last 30 Days):
Recently Added Movies - TEST:
Plex Popular:
Plex Watched:
IMDb Popular:
IMDb Top 250:
Top 50 Grossing of All Time:
Oscar Nominess:
Oscar Winners:
Best Motion Picture Award (Last 50 Years):
Omega Collection:
This wouldn't have anything to do with Kometa updates. If it were reading the twelve and skipping one of them, that one would still be mentioned in the log.
I reran the Kometa update, including the requirements and rran into this:
WARNING: Ignoring invalid distribution -etuptools (c:\users\user\kometa\kometa-venv\lib\site-packages)
never seen that before
i've never touched any files in there either
What does "reran the Kometa update" mean? What specifically did you do?
I ran
cd C:\Users\User\Kometa
git stash
git stash clear
git pull
.\kometa-venv\Scripts\activate
python -m pip install -r requirements.txt```
Then I hit enter after to install requirements as it prompted and I got the above warning.
I have folders is C:\Users\User\Kometa\kometa-venv\Lib\site-packages named:
~etuptools
~etuptools-78.1.0.dist-info
~kg_resources
~distutils_hack
apparently created in march.. clearly an old version.
the proper setuptools folders in \Lib\site-packages are:
setuptools
setuptools-80.9.0.dist-info
I'd delete all those stray folders that start with a tilde
I figured, but didn't want to without your go ahead. Still dunno where they came from. Oh well.
Alrighty, i deleted all of the tilde ones, but it threw up a small error about one of the distro ones, so i only deleted the ~eteuptools ones instead. Ran smooth, now trying a collections only run, HOPEFULLY the Holiday and Smart collection shows up this time.
Well, Got the holiday collections working, just not that smart collection
I suspect you have two copies of that yaml file and Kometa is not pointed at the one you expect.
Can you provide a log?
Got it working, spelling error. Visisible is not the same as visible apparently lol. Thanks.
antwanchild used !aenh
@humble pewter, 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.