Tim Eisele
596b635511
Cleanup extracted files ( #13760 )
...
* Cleanup extracted files
* Pagination and fixes
* Add migration for attachments to MigrateLibraryDb
* Unify attachment handling
* Don't extract again if files were already extracted
* Fix MKS attachment extraction
* Always run full extraction on mks
* Don't try to extract mjpeg streams as attachments
* Fallback to check if attachments were extracted to cache folder
* Fixup
2025-04-03 09:17:14 -06:00
JPVenson
90a6cca92b
Library.db migration impovements ( #13809 )
...
* Fixes cleanup of wrong table in migration
* use dedicated context for each step
* Use prepared Context
* Fix measurement of UserData migration time
* Update logging and combine cleanup to its own stage
* fix people map not logging
migrate only readonly database
* Add id blacklisting in migration to avoid duplicated log entires
2025-03-30 21:36:27 -06:00
JPVenson
d75216cf3a
Fixes cleanup of wrong table in migration ( #13796 )
2025-03-29 10:00:19 -06:00
theguymadmax
ae4b35da46
Include UnratedType in LibraryDb migration query ( #13783 )
2025-03-27 10:43:39 -06:00
JPVenson
9e4abb7319
Add override for migration if old library still exists ( #13779 )
2025-03-27 05:34:59 -06:00
JPVenson
296b17bf44
Feature/backup on migration ( #13754 )
...
* Added generalised backup for migrations
* Added backup strategy to MigrateLibraryDb
* Added missing namespace
* Fix merge issues
* Fixed style issue
* change fast backup key to timestamp
* Update src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs
* Update Fields
* applied review comments
2025-03-26 20:23:36 -06:00
Cody Robibero
d848faeb75
Merge pull request #13589 from JPVenson/feature/DatabaseRefactor
...
[Feature] Database code refactor
2025-03-25 21:34:26 -06:00
JPVenson
42bdb22bfb
Fixed namespaces
2025-03-25 16:45:00 +01:00
JPVenson
160020c551
WIP fixed namespaces
2025-03-25 15:30:22 +00:00
JPVenson
850f1c79f1
Merge branch 'master' into feature/DatabaseRefactor
2025-03-25 15:12:48 +00:00
Niels van Velzen
8680170706
Merge pull request #13616 from Lampan-git/fix_people_role
...
Include PeopleBaseItemMap in GetPeople to inlcude Role and SortOrder
2025-03-24 15:29:28 +01:00
Fernando Fernández
c77a0719c2
Clear dictionaries when not needed, use set for finding existing base items ( #13749 )
2025-03-22 18:30:32 -06:00
Lampan-git
cf1f251f2a
Preserve null sortOrder during migration
2025-03-14 21:07:34 +01:00
theguymadmax
f1dd065eca
Include CleanName in LibraryDb migration query
2025-03-10 11:50:28 -04:00
Roman Dordzheev
70b8fa73f0
Include SortName in LibraryDb migration query
2025-03-08 13:55:21 +03:00
JPVenson
d8030147ff
Merge remote-tracking branch 'jellyfinorigin/master' into feature/DatabaseRefactor
2025-02-19 18:25:00 +00:00
Cody Robibero
debc499711
Change BaseItemEntity ChannelId to nullable Guid
2025-02-13 20:17:25 -07:00
JPVenson
aa811eb1e3
Prepared Seperation of Database components for future multi provider support
2025-01-26 20:45:28 +00:00
luzpaz
c877ffa5ad
Fix various typos
...
Found via `codespell -q 3 -S "./Emby.Server.Implementations/Localization" -L inh,som`
2025-01-25 21:04:37 -05:00
JPVenson
b33810534b
Applied review comments
2025-01-15 20:12:41 +00:00
JPVenson
80cace4321
Updated usage of internal user Id
2024-11-23 22:39:39 +00:00
JPVenson
77bae62acc
Added migration filtering
2024-11-15 16:24:38 +00:00
JPVenson
19e55f4309
Fixed migration referencing non-existing Items
2024-11-15 09:08:27 +00:00
JPVenson
ffc18a2044
Updated comments/TODOs
2024-11-14 05:58:32 +00:00
JPVenson
7b81a39ee1
Fix Deduplication and Save of Items
2024-11-13 14:25:26 +00:00
JPVenson
d073e2c664
Fixed invalid columns on MediaStreams
2024-11-12 23:53:05 +00:00
JPVenson
22515ad647
Fixed app paths not being expanded
2024-11-12 17:23:41 +00:00
JPVenson
85b8b2573b
Fixed AncestorIds
...
Fixed Sorting, NextUp and Continue Watching
2024-11-12 15:37:01 +00:00
JPVenson
510b29f2a4
Fixed dangling connections keept open on window migration
2024-11-12 07:16:24 +00:00
JPVenson
508b27f156
Fixed Duplicate returns on grouping
...
Fixed UserDataKey not stored
2024-11-11 17:39:50 +00:00
JPVenson
fb48d0790f
Fixed Library DB lookup
2024-11-11 06:14:08 +00:00
JPVenson
8dbbb3e243
Fixed user Index
2024-11-11 05:34:11 +00:00
JPVenson
2d4f7f725f
Fixed TopParent not beeing migrated
2024-11-11 00:27:30 +00:00
JPVenson
efc6611072
Refixed timing for migration
2024-11-10 20:40:24 +00:00
JPVenson
73ddbeb4c1
Fixed migration timer
2024-11-10 19:25:17 +00:00
JPVenson
b5bb2261bc
Who thought it be a good idea to let indexes start 1 one please step forward!!!
2024-11-10 19:19:35 +00:00
JPVenson
cec4ad9b65
Improved Logging
2024-11-10 18:36:46 +00:00
JPVenson
b0b14e6edd
Fixed order of column selects
2024-11-10 18:01:51 +00:00
JPVenson
6efcd6b873
Fixed GUID selector for typed based item
2024-11-10 18:01:04 +00:00
JPVenson
a3ae055779
Change ChannelId and OwnerId to be expected strings
2024-10-28 09:24:12 +00:00
JPVenson
3d87d0faa2
Fixed migration not loading guid for items
2024-10-28 09:02:24 +00:00
JPVenson
10a2a316a4
i have too much time.
...
Refactored BaseItem and UserData relation
2024-10-20 10:11:24 +00:00
JPVenson
cd2e043472
Readded old library move in migration
2024-10-20 09:43:40 +00:00
JPVenson
b73985e04f
Expanded People architecture and fixed migration
2024-10-11 11:11:15 +00:00
JPVenson
9c5599f81b
Applied review comments
2024-10-10 18:30:08 +00:00
JPVenson
ee0dad6f43
Refactored ItemValue structure
2024-10-10 14:32:49 +00:00
JPVenson
fe9c96d052
Used enum value for ItemValueType
2024-10-09 23:55:28 +00:00
JPVenson
2955f2f562
Fixed AncestorIds and applied review comments
2024-10-09 23:19:24 +00:00
JPVenson
eb601e944c
Expanded BaseItem aggregate types
2024-10-09 23:01:54 +00:00
JPVenson
5267851e64
Add migration for library.db to jellyfin.db
2024-10-09 17:04:58 +00:00