Fetch TV through its library, not the physical folder (1.4.1) #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/tv-by-library"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New episodes of some shows could be left out of the email. Jellyfin's recursive query by the physical TV folder omits items whose ancestor index is stale; the same query by library returns them. Measured: 13 of 52 series and 956 episodes missing from one folder, plus 90 "series doesn't exist" warnings per run.
jellyfin/series_by_library.go(new):getSeriesFolderItemsfinds the library that lists the watched folder and keeps the series whosePathis under it, plus their seasons and episodes bySeriesId(some seasons have no path, and a library can span several folders). It falls back to the folder query if no library lists the folder, or if listing fails (it can need an admin key).GetLibraryFolderswraps/Library/VirtualFolders.client.go,libraryItemsApi.go: the new interface method, the library-structure API on the client, andPathin the TV query's fields.series.gocalls the new lookup.🤖 Generated with Claude Code