|============================= Validating Dragon Ball Shows Attributes ==============================|
| |
| Looking for: Dragon Ball Shows |
| |
| Validating Method: anidb_id |
| Value: 11210, 1530 |
| Traceback (most recent call last): |
| File "D:\Repositories\Kometa\kometa.py", line 842, in run_collection |
| builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str) |
| File "D:\Repositories\Kometa\modules\builder.py", line 1070, in __init__ |
| self._anidb(method_name, method_data) |
| ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "D:\Repositories\Kometa\modules\builder.py", line 1418, in _anidb |
| for anidb_id in self.config.AniDB.validate_anidb_ids(method_data): |
| ^^^^^^^^^^^^^^^^^ |
| AttributeError: 'ConfigFile' object has no attribute 'AniDB' |
| |
| Unknown Error: 'ConfigFile' object has no attribute 'AniDB' |
#`anidb-api` image tests
1 messages ยท Page 1 of 1 (latest)
Welcome @fringe sundial!
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.
@fallen mason ping for awareness ๐
ISSUE 1
I've realised this is because I didn't have this in config.yml:
anidb:
enable_mature: true
I think we should default that to false behind-the-scenes if the user doesn't have it in config.yml?
ISSUE 2
I've also noticed this during the initialization process. My collections do get created.
|====================================================================================================|
| Connecting to AniDB... |
| Using cached Master Title List from AniDB. |
| AniDB Authorization Failed: AniDB Error: Could not fetch Anime ID 99 |
| AniDB API Connection Failed |
|====================================================================================================|
Here is a -lr log
It is in the template. Not sure why it wouldn't have defaulted like other things that are in the template but not in the active config. I'll look at that.
ISSUE 3?
anidb_popular returns 0 AniDB IDs, I've manuallly matched some items to make sure I have items that are found in the AniDB Popular page
collections:
AniDB Popular:
anidb_popular: 20
collection_order: custom
sync_mode: sync
I have Sousou no Frieren (2026) aka Frieren: Beyond Journeys End (2026) which you can see being mapped in the cache file. It is #1 in anidb_popular https://anidb.net/latest/anime/popular/
Okay so it's if the anidb section doesn't exist at all
this works (as in, doesn't produce the error, even if client and version are no longer used):
anidb:
client: thisismytest
version: 1
language: en
cache_expiration: 60
No, I never had an anidb section in my config.yml because I don't use that service
If I don't use a service, I'll generally remove it from my config.yml
It's probably a bit of an edge case, but just something I noticed
Did you remove your test yml?
It wasn't related to the error so I removed it earlier
I can post it again in a bit if needed
This is the YAML related to issue 3
I thought you posted a copy of - file: config/test.yml
I can post that in a bit
I posted the file when I thought it was related to the ConfigFile error
Removed it when I realised it was the config.yml thing but will repost it once back on my computer
Okey doke. I can tell you that the tag builder isn't expected to work [it's removed] as it relied on scraping the AniDB site. Perhaps it can be restored based on the information we have in the cache.
Yeah I realised I that one when I viewed the image's docs
collections:
AniDB Popular:
anidb_popular: 20
collection_order: custom
sync_mode: sync
All Attack on Titan:
anidb_relation: 9541
Dragon Ball Shows:
anidb_id: 11210, 1530
You have the credentials to the plex server in your DM's if you need it for testing
Turns out I was trying to use an RSS feed that doesn't exist. mea culpa.
Would "hot anime" be a reasonable replacement for "popular"?
Good question, not sure
Doesn't look like it since the hotanime API returns 8 items.
Ah, so is popular not feasible anymore then?
Unless there's a non-scraping way to get that data, seems not.
Let me go through the whole thing
Okidoki
Saw your message to the guy, if we can get this resolved soon I'd like to do a push to master
Your test file and the tags builders work now
collections:
# AniDB Popular:
# anidb_popular: 20
# collection_order: custom
# sync_mode: sync
All Attack on Titan:
anidb_relation: 9541
Dragon Ball Shows:
anidb_id: 11210, 1530
Action Anime:
anidb_tag_name: action
collection_order: custom
sync_mode: sync
Future Setting:
anidb_tag:
tag_id: 2626
limit: 50
collection_order: custom
sync_mode: sync
AniDB popular removed for now
do any of the operations work or was that scraping based? that was only the only thing i was using for anidb
mass_audience_rating_update:
- anidb_average
- anidb_rating
- anidb_score
and
- default: other_chart
template_variables:
limit_anidb: 50
sonarr_add_missing_anidb: true
sonarr_folder_anidb: /home/johnfawkes/MergerFS/anime
sonarr_tag_anidb: pmm_anidb
most of my anime stuff is through arialz's script using anilist
as I recall the operations end up getting the anime details, which used to scrape and now go through the new service.