Shadowghost
5882006ee7
Optimize migrations
2026-03-07 21:23:16 +01:00
Shadowghost
077fa89717
Split BaseItemRepository and IItemRepository
2026-03-07 20:12:42 +01:00
Shadowghost
268f23f39a
Fix trickplay generation for parts and alt versions
2026-03-06 00:16:04 +01:00
Shadowghost
6ce5f9dfd5
Cleanup folder duplicates of series
2026-02-22 12:34:58 +01:00
Shadowghost
f96c399e62
Fix cleanup for BDMV
2026-02-17 22:59:03 +01:00
Shadowghost
84962cbc94
Cleanup orphan items
2026-02-16 10:06:16 +01:00
Shadowghost
3439d3c017
Migrate PrimaryVersionId to GUID and fix assignment
2026-02-15 23:12:52 +01:00
Shadowghost
837c7d4ed3
Try fixing orphan versions again
2026-02-15 19:49:30 +01:00
Shadowghost
4ce03ffa21
Fix orphaned alt version cleanup
2026-02-15 17:34:06 +01:00
Shadowghost
9730aaac57
Fix ordering of cleanup in migration
2026-02-15 10:32:53 +01:00
Shadowghost
340bcafd3d
Merge remote-tracking branch 'upstream/master' into perf-rebased
2026-02-15 10:14:41 +01:00
Shadowghost
f5c9a4a476
Add cleanup for orphaned versions
2026-02-15 10:14:30 +01:00
dfederm
d8543351e2
Backport pull request #16226 from jellyfin/release-10.11.z
...
Deduplicate provider IDs during MigrateLibraryDb migration
Original-merge: 58c330b63d
Merged-by: Bond-009 <bond.009@outlook.com >
Backported-by: Bond_009 <bond.009@outlook.com >
2026-02-14 05:57:24 -05:00
Shadowghost
edec464306
Handle episode versions in LinkedChild migration
2026-02-09 18:25:07 +01:00
Shadowghost
737abe6f3a
Fix version order in migration
2026-02-09 09:13:05 +01:00
Shadowghost
2420ece5fe
Fix version resolution and scan handling
2026-02-07 19:01:37 +01:00
Shadowghost
98d7c8d59f
Make sure we deduplicate LinkedChildren
2026-02-07 09:37:42 +01:00
Shadowghost
a0346fe5b7
Fix multiple version handling
2026-02-05 01:41:07 +01:00
Shadowghost
09a729effe
Fix tag checks
2026-01-31 23:45:38 +01:00
Shadowghost
dfa78590c2
Add OwnerId fix migration and library options event
...
- Add FixIncorrectOwnerIdRelationships migration routine
- Add LibraryOptionsUpdatedEventArgs for library options changes
2026-01-18 19:47:02 +01:00
Shadowghost
f260585917
Add LinkedChildren data migration routine
...
Migrates existing LinkedChildren data from JSON-serialized Data column
to the new relational LinkedChildren table for boxsets, playlists,
and video alternate versions.
2026-01-18 19:47:02 +01:00
Shadowghost
c350fd0f40
Remove ExtraIds column and use OwnerId relationship for extras
...
- Remove ExtraIds property from BaseItemEntity and BaseItem
- Update RefreshExtras to query via OwnerId instead of cached ExtraIds
- Update GetExtras methods to query database via OwnerIds filter
- Add OwnerIds and ExtraTypes filter support to InternalItemsQuery
- Add filter handling in BaseItemRepository for new query options
- Update HasSpecialFeature/HasTrailer filters to use Extras relationship
- Add CleanupOrphanedExtras migration routine
- Add database migration to drop ExtraIds column
2026-01-18 19:47:02 +01:00
Shadowghost
139d23ddc2
Normalize OwnerId to GUID and add performance indexes
...
- Change OwnerId from string to Guid for proper foreign key relationships
- Add Owner/Extras navigation properties for extras relationship
- Add indexes on OwnerId and ExtraType columns for efficient queries
- Add optimized composite indexes for latest items queries sorted by DateCreated
- Update BaseItemRepository and migration to handle new Guid type
2026-01-18 19:46:37 +01:00
ZeusCraft10
0ff869dfcd
fix: Handle unknown item types gracefully in DeserializeBaseItem
...
When querying items with recursive=true, items with types from removed
plugins would cause a 500 error. Now these items are skipped with a
warning log instead of throwing an exception.
Fixes #15945
2026-01-05 21:08:26 -05:00
audrey-inglish
8fd59d6f33
Merge pull request #14879 from audrey-inglish/master
...
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
Fix: normalize punctuation when computing CleanName so searches without punctuation match (closes #1674 )
2025-12-08 18:43:37 +01:00
Niels van Velzen
67c67df507
Use async migration
2025-11-20 22:11:55 +01:00
Niels van Velzen
196c243a7d
Disable legacy authorization methods by default
2025-11-18 16:17:04 +01:00
theguymadmax
2e7d7752e9
Backport pull request #15446 from jellyfin/release-10.11.z
...
Fix AncestorIds not migrating
Original-merge: 177b6464ca
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-11-17 14:09:01 -05:00
crobibero
c9d93b0745
Backport pull request #15322 from jellyfin/release-10.11.z
...
Fix legacy migration file checks
Original-merge: da254ee968
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Joshua M. Boniface <joshua@boniface.me >
2025-11-02 21:58:43 -05:00
JJBlue
21f65e2e27
Backport pull request #15220 from jellyfin/release-10.11.z
...
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
Skip extracted files in migration if bad timestamp or no access
Original-merge: a305204cfa
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-10-27 15:43:31 -04:00
crobibero
a489942454
Backport pull request #15212 from jellyfin/release-10.11.z
...
Skip invalid database migration
Original-merge: 2966d27c97
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-10-27 15:43:29 -04:00
Shadowghost
14e8194581
Backport pull request #15112 from jellyfin/release-10.11.z
...
Skip extracted files in migration if bad timestamp or no access
Original-merge: 7a1c1cd342
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-10-27 15:43:13 -04:00
Shadowghost
9e53f46ad2
Backport pull request #15032 from jellyfin/release-10.11.z
...
Skip invalid keyframe cache data
Original-merge: f4a53209f4
Merged-by: crobibero <cody@robibe.ro >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-10-27 15:43:04 -04:00
JPVenson
f01cddf273
Add migration attribute
2025-10-09 19:45:43 +00:00
JPVenson
0d4bd0495b
Add migration to remove artist and album artists from database
2025-10-09 19:44:07 +00:00
JPVenson
8ea9bece03
Add explicit reference check to migration
2025-09-28 08:46:31 +00:00
JPVenson
e282b05b8f
fixes #14859 Add Check for ItemValues ( #14860 )
2025-09-25 08:02:20 -06:00
JPVenson
740b9924a0
Include ListOrder on Import ( #14854 )
2025-09-24 15:22:05 -06:00
JPVenson
5a6d9180fe
Add People Dedup and multiple progress fixes ( #14848 )
2025-09-24 15:20:30 -06:00
JPVenson
0949212993
Make migration handle parent cleanup ( #14817 )
...
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
* Make migration handle parent cleanup
* Remove speed improvement
* Update MigrateLibraryDb.cs
2025-09-19 13:17:31 -06:00
JPVenson
eaf33f01e1
#14751 Only migrate providerids that match assumption ( #14810 )
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
2025-09-17 18:33:23 -06:00
evan314159
2618a5fba2
Fix sync disposal of async-created IAsyncDisposable objects ( #14755 )
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
2025-09-16 11:14:52 +02:00
Bond-009
8776a447d1
Various cleanups ( #14785 )
2025-09-12 13:58:23 -06:00
evan314159
7aa1c46447
Merge pull request #14653 from evan314159/coremigration
...
Delay initialization of singleton services during migration CoreInitialisation stage
2025-08-22 10:06:39 +02:00
JPVenson
c8d2f43660
Add logging
2025-07-30 20:14:24 +00:00
JPVenson
ef733c5ace
use guid instead
2025-07-30 20:10:26 +00:00
JPVenson
a1eb04dc0b
Add full migration for IsFolder flag
2025-07-30 19:58:56 +00:00
JPVenson
711e649e35
Also migrate IsFolder
2025-07-30 19:41:34 +00:00
JPVenson
c62a07405e
improve userdata migration ( #14488 )
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
2025-07-19 11:34:51 -06:00
JPVenson
c51f3a3342
Use IDatabaseCreator instead of relying on History repository ( #14465 )
2025-07-14 18:36:36 -06:00