233 Commits

Author SHA1 Message Date
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) 2025-07-19 11:34:51 -06:00
Tim Eisele
c6e568692e
Fix modification checks and make sure to use UTC (#14347) 2025-06-26 17:50:37 -06:00
JPVenson
ba0eb87371
Add migration to migrate disconnected UserData too (#14339) 2025-06-23 08:36:49 -06:00
Shadowghost
af0bcbc652 Fixup 2025-06-19 12:33:46 +02:00
Shadowghost
ccb917b8df Cleanup logging and user data import skip on missing user 2025-06-18 21:33:32 +02:00
JPVenson
1e9e4ffda9
Rework startup topic handling and reenable output to logging framework (#14243) 2025-06-08 19:52:39 -06:00
JPVenson
88332e89c4
Feature/version check in library migration (#14105) 2025-06-05 08:59:11 -06:00
JPVenson
d5672ce407
Add declarative backups for migrations (#14135) 2025-06-03 16:49:41 -06:00
JPVenson
9456d7168f
Add partition helper (#14039) 2025-06-03 15:15:04 -06:00
JPVenson
a7bb3ea214
Only consider migrations that have key set for migration.xml migration (#14061) 2025-05-05 17:23:23 -06:00
Tim Eisele
d976f13970
Recognize file changes and remove data on change (#13839) 2025-05-04 21:21:44 -06:00
JPVenson
e66c76fc34
Unified migration handling (#13950) 2025-04-27 18:18:08 -06:00
Tim Eisele
9092130350
Optimize migrations (#13855) 2025-04-26 09:36:17 -06:00
JPVenson
77ad7f6139
Fix the migration as the new constraint now uses Value as unique key (#13867) 2025-04-07 14:42:01 -06:00
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
Tim Eisele
0bde7bae05
Only remove keyframe cache dir if it exists (#13834) 2025-04-03 08:47:31 -06:00
Tim Eisele
0573999d5e
Import Keyframes into database (#13771)
* Migrate keyframe data into database

* Clear database table before import to handle failed migrations
2025-04-02 18:06:40 -06:00
Tim Eisele
3fc3b04daf
Rework parental ratings (#12615) 2025-03-30 21:51:54 -06:00
Tim Eisele
d7b786e777
Fix MoveTrickplayFiles migration (#13807) 2025-03-30 21:38:50 -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
Bond-009
6331de2e13
Merge pull request #13406 from Shadowghost/extract-trickplay-master
Extract trickplay files into own subdirectory
2025-03-10 11:00:12 +01: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
17003f4d76 Merge remote-tracking branch 'jellyfinorigin/master' into feature/pgsql_provider 2025-02-02 02:09:14 +00:00
JPVenson
aa811eb1e3 Prepared Seperation of Database components for future multi provider support 2025-01-26 20:45:28 +00:00
Bond-009
ab124bec88
Merge pull request #13436 from luzpaz/typos
Fix various typos
2025-01-26 16:54:53 +01:00
Shadowghost
6454a35ef8 Extract trickplay files into own subdirectory 2025-01-26 11:56:19 +01: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
Josh Soref
044cf9fb85 chore: fix spelling
* a
* acceleration
* addition
* altogether
* api clients
* artist
* associated
* bandwidth
* cannot
* capabilities
* case-insensitive
* case-sensitive
* configuration
* delimiter
* dependent
* diacritics
* directors
* enable
* explicitly
* filters
* finish
* have
* hierarchy
* implicit
* include
* information
* into
* its
* keepalive
* localization
* macos
* manual
* matching
* metadata
* nonexistent
* options
* overridden
* parsed
* parser
* playback
* preferring
* processes
* processing
* provider
* ratings
* retrieval
* running
* segments
* separate
* should
* station
* subdirectories
* superseded
* supported
* system
* than
* the
* throws
* transpose
* valid
* was

link: forum or chat rooms

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-01-25 20:05:15 -05:00
JPVenson
b33810534b Applied review comments 2025-01-15 20:12:41 +00:00
JPVenson
fe1aab034e
Merge branch 'jellyfin:master' into feature/EFUserData 2024-12-06 17:59:27 +01:00
Bond-009
a1e635809b
Merge pull request #12867 from Dessyreqt/master
Move TV-PG ratings to be in line with PG rating.
2024-11-30 12:10:14 +01:00
JPVenson
80cace4321 Updated usage of internal user Id 2024-11-23 22:39:39 +00:00