| Age | Commit message (Collapse) | Author |
|
Stop resolving items with every field where only stored columns are read
Original-merge: 408e5e01b1447e24689bd3653e2328bf173c8ce3
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Stop wrong-type alternate version cleanup from recursing
Original-merge: af368af0619ab04594169468790a6b61f55543b1
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Preserve active scans when requesting a background library refresh
Original-merge: 949e0585a65a91f90644a2475c1e1009e5d51e90
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Check Live TV access for a single user instead of enumerating all users
Original-merge: 2bcd3b1efb121ad661495570b43aace247ee0a27
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Don't queue by-name items for playback and reject source requests for them
Original-merge: d3b2542f2193e0350e1dd88a2f3395fe8a9ca6f4
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Fix forced-only not overriding remembered subtitles
Original-merge: 95d7028f3afdd4419c664e917f43bee685b0ab7e
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Fix SimilarItemsManager concurrency
Original-merge: 47ba387eb36458e2b417748fbe852c27957020ad
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Populate missing tags array in Filters2
Original-merge: 3d52fbe84e78d6447465bb831039dabb6142ca67
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Fix /UserViews exhausting memory and reporting random child counts
Original-merge: a838a06aa51eac388a76e9e6421f1a80873c417b
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Fix versions of a video still listing separately from their group and preserve manual merges
Original-merge: cabec7ec28df671e3bb1c360c32db60b085f4084
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Cody Robibero <cody@robibe.ro>
|
|
Expose optimized ItemCounts for byName items
|
|
|
|
|
|
Fix items being lost from the refresh queue and bound the directory service caches
|
|
|
|
|
|
Add comprehensive logging for post scan tasks
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: Cody Robibero <cody@robibe.ro>
|
|
|
|
|
|
Fix recursive handling for LinkedChildren
|
|
Enforce permissions on similar items
|
|
|
|
Secure library paths
|
|
Filter search candidates by user access in a single query
|
|
|
|
|
|
|
|
|
|
Delete credits nothing maps to and bound item-by-name folder names
|
|
Stop deriving user view ids from their localized name
|
|
|
|
|
|
|
|
|
|
Fall back to the ancestor filter when a view has no top parents
|
|
|
|
|
|
Fix missing ItemRemoved events and search fallback after access filtering
|
|
Bugfix: #17547 | Batching MediaSourceCount into one call
|
|
|
|
Rename GetItemsWithAlternateVersions to GetItemIdsWithAlternateVersions
across the interfaces and implementations since it returns ids. Return
the hashset straight from the query instead of materializing an array
first. Rename the DtoService guard to mayHaveAlternateVersions and
invert it so the computed path is the explicit case. Assert the media
source count value in the batch skip test and add a test covering an
item that is in the returned set still resolving to the correct count.
|
|
|
|
Browsing a page of videos with the MediaSourceCount field ran one alternate
version query per item, each opening a fresh DbContext. On a large library that
turned a single page into hundreds of sequential round trips and made the Items
endpoint take tens of seconds while holding a request thread the whole time.
Detect which videos own alternate versions once per page with a single query,
mirroring the existing people batch. Videos absent from that set have a single
media source, so the per item lookups are skipped for the common case. Behavior
is unchanged: a video with no alternates already resolved to a count of one.
Adds a regression test asserting the count resolves from the batch and the per
item lookups are never called.
|
|
GetBaseItemDtos already batch fetches user data, child counts, played counts
and artists before its per item loop, but AttachPeople still ran one GetPeople
query per item. Rendering a page of items (for example a large playlist) fired
one extra query per row.
Add GetPeopleByItems to IPeopleRepository, which reads every requested item in a
single query over the people mapping table and returns full PersonInfo (role,
type and sort order) grouped by item id. GetBaseItemDtos prefetches this once
when the People field is requested and passes it into AttachPeople, which reads
from the batch instead of querying per item. The single item GetBaseItemDto path
keeps its existing per item behaviour when no batch is supplied.
Adds a DtoService test asserting people resolve from the batch and the per item
GetPeople is never called.
|
|
Improve People deduplication, fix search and restrict ItemByName responses
|