Closed tscibilia closed 1 year ago
I've had the same issue, it seems to be the &IncludeItemTypes=
request param at the end does not work with certain other filters. When that is removed the query is successful.
In my case it is because &IncludeItemTypes=Series
also tries to filter on isPlayed
and I assume that field does not exist at the Series level, so it errors out. Removing
This does not work
?SortBy=SortName&SortOrder=Ascending&Recursive=True&ParentId=XXXXXXXXXXXXXX&isPlayed=false&Fields=ItemCounts,ProviderIds,Path&IncludeItemTypes=Series
But this does
?SortBy=SortName&SortOrder=Ascending&Recursive=True&ParentId=XXXXXXXXXXXXXX&Fields=ItemCounts,ProviderIds,Path&IncludeItemTypes=Series
Holy crap, thx. That worked!
For my future reference or anyone else looking at this issue. I changed line 635 of /src/jellyfin.py from
+ "&isPlayed=false&Fields=ItemCounts,ProviderIds,Path&IncludeItemTypes=Series",
to this
+ "&Fields=ItemCounts,ProviderIds,Path&IncludeItemTypes=Series",
Interesting since this was working before for other users. Can you guys keep trying it for a while and let me know if its working as expecting on your sides. If so i can go ahead and get this implemented. @Kyon147 you can also submit a PR for this if you want, if not i can go ahead and just make the change myself.
Hey @luigi311 sure thing. I'll keep an eye on it for my server and make sure there's not any weirdness.
It was working for me on an older version of Jellyfin, but I recently updated to their latest and then that is when I noticed this error. So it could be a new bug introduced on their side.
I've not had a proper look at your codebase but do you use any played data at the Series level? If not, then it might be safe to leave it omitted from the query string.
Happy to make a PR ready though, either way.
After some testing it looks like it doesnt cause any issues, feel free to submit the PR to dev so i can merge it in and move it up with some other fixes
This is now included since it seems to be working just fine without that IsPlaying filter for me. You should no longer have this issue with the new latest build
Describe the bug I'm experiencing an issue with the script (running on my Ubuntu 22.04 VM where I host both plex and jellyfin right now). I've only whitelisted my own username and most tv shows and anime seems to work but none of my movies watched status is synced and I'm getting the following error.
Logs
Type:
Additional context I didn't include the entire log, please let me know if you need additional information.