Closed Deanosim closed 1 year ago
Current theory is it gives that error for libraries that have move than one path on the Jellyfin side, because I removed and re-added the TV Shows library with only 1 folder and now that's working, but the Anime library is now having the same problem and it has 2 folders.
I am also getting an error unexpectedly.
Jellyfin: Generating watched for mainuser in library Shows
[ERROR]: Jellyfin: Query failed 'str' object does not support item assignment
[INFO]: Jellyfin: Skipping library Collections is not whitelist_library
[ERROR]: Jellyfin: Failed to get users watched, Error: 'Exception' object is not subscriptable
[ERROR]: Jellyfin: Failed to get watched, Error: 'Exception' object is not subscriptable
[ERROR]: 'Exception' object is not subscriptable
[ERROR]: Traceback (most recent call last):
File "C:\JellyPlex-Watched\src\jellyfin.py", line 292, in get_users_watched
if len(watched["Items"]) == 0:
TypeError: 'Exception' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\JellyPlex-Watched\src\jellyfin.py", line 345, in get_watched
await self.get_users_watched(
File "C:\JellyPlex-Watched\src\jellyfin.py", line 328, in get_users_watched
raise Exception(e)
Exception: 'Exception' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\JellyPlex-Watched\src\main.py", line 639, in main
main_loop()
File "C:\JellyPlex-Watched\src\main.py", line 590, in main_loop
server_2_watched = asyncio.run(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 612, in run_until_complete
return future.result()
File "C:\JellyPlex-Watched\src\jellyfin.py", line 366, in get_watched
raise Exception(e)
Exception: 'Exception' object is not subscriptable
All my libraries span over multiple folders and did not have this issue for a while. Now its suddenly doing it. I won't be splitting my libraries folders out, so hopefully we can figure out what is going on.
This is already implemented see #36 for more information
This is the log in debug true with debug level set to debug not sure what exactly is going on. I'm running in a docker container
I could wonder if the debug level isn't working for some reason.