evan314159
6f49782b7b
fix file modification date comparisons ( #14503 )
2025-07-27 20:08:06 -06:00
Tim Eisele
a068f75623
Set DateLastSaved after running metadata savers ( #14531 )
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (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
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 Issue Labeler / Check for stale issues (push) Has been cancelled
2025-07-25 08:20:19 -06:00
JPVenson
4d5ba8d7a5
Only save images when changed ( #14425 )
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-07-07 09:14:01 -06:00
Tim Eisele
c6e568692e
Fix modification checks and make sure to use UTC ( #14347 )
OpenAPI / OpenAPI - HEAD (push) Waiting to run
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-06-26 17:50:37 -06:00
Tim Eisele
9f0f9a276f
Fix People Issues ( #14284 )
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-06-12 05:21:01 -06:00
Tim Eisele
49c6a99e00
Cleanup external item data cleanup ( #14072 )
2025-05-09 08:35:29 -06:00
Tim Eisele
d976f13970
Recognize file changes and remove data on change ( #13839 )
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-05-04 21:21:44 -06:00
Bond-009
0c3ba30de2
Cleanup file related code ( #14023 )
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-05-04 08:40:34 -06:00
Tim Eisele
f576783ae1
Fix distinction queries ( #14007 )
2025-04-26 18:49:30 -06:00
Tim Eisele
a0b3b7335f
Add .gitignore style ignoring ( #13906 )
2025-04-26 09:35:57 -06:00
JPVenson
8ee358de2c
Check for path overlaps ( #12832 )
2025-04-26 09:30:25 -06:00
Bond-009
f35b8dd33d
Merge pull request #13536 from tkloy24/13250-Extras-Delete-Whole-Folder
...
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
Fix IsInMixedFolder not being set for Extras
2025-04-26 12:07:45 +02: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
JPVenson
a18d60d2de
Trim library names ( #13828 )
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-04-02 18:19:31 -06:00
Michael McElroy
f02190c394
Fix for Issue #12142 : Fix ExtraRuleResolver filtering out top level folders ( #12170 )
...
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
* Fix ExtraRuleResolver to stop filtering out libraries where the name of the base folder matches an 'videos extras' rule with an ExtraRuleType of DirectoryName
Currently the ExtraRuleResolver code doesn't know anything about the root folder of the current library. As a result, when we're attempting to add items in a library where the root folder has a name with a match in Emby.Naming.Common.NamingOptions.VideoExtraRules, the entire library is being ignored as a Video Extras folder.
Need to pass in the root folder of the current library to compare to the path of the current item being evaluated, and if we match the current item's folder to the root folder, then we ignore the ExtraRules with a type of DirectoryName and we continue to scan deeper in the library. Filters still apply to subfolders within the library itself.
* Update CONTRIBUTORS.md
* Update Emby.Naming/Video/ExtraRuleResolver.cs
* Update ExtraTests.cs
Add tests for this fix.
Also add missing tests in TestKodiExtras, TestExpandedExtras, and TestSample, and expanded TestDirectories into TestDirectoriesAudioExtras and TestDirectoriesVideoExtras. There were no checks for the theme-music folder name previously.
* Update ExtraTests.cs
Removed unnecessary "using System"
* In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4
* Update ExtraTests.cs
Remove empty lines in usings
* Revert "In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4"
2025-03-27 18:18:19 -06:00
Cody Robibero
88ceaa39b0
Implement limiting caches ( #13605 )
...
* Implement basic expiring cache for LibraryManager
* Add expiring cache to more places
* Rider why
* Make DirectoryService caches static
* Use FastConcurrentLru
* Reduce default cache size
* Simplify DirectoryService caches
* Make directory service cache size at least 128
2025-03-27 18:16:54 -06:00
Tobias Kloy
7717d2e261
Avoid multiple enumerations
2025-03-27 17:51:31 +01:00
Tobias Kloy
b108a8cfc5
Fix IsInMixedFolder not being set for Extras in mixed subfolders
2025-03-27 17:51:31 +01:00
JQ
d06ce1f1e0
Fix only returning one item from /Item/Latest api. ( #12492 )
...
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
* Updated to EFcore
* Remove unused using
* Dont use DateCreated not from episode type or music type
* use TranslateQuery to filter out instead and then do the grouping and retrival of min and max datecreated instead
* Album also
2025-03-26 20:26:47 -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
Tim Eisele
dfb485d1f2
Rework season folder parsing ( #11748 )
2025-03-23 10:05:40 -06:00
Tim Eisele
8db6a39e92
Remove all DB data on item removal, delete internal trickplay files ( #13753 )
2025-03-23 10:05:13 -06:00
Cody Robibero
85b5bebda4
Add fast-path to getting just the SeriesPresentationUniqueKey for NextUp ( #13687 )
...
* Add more optimized query to calculate series that should be processed for next up
* Filter series based on last watched date
2025-03-18 17:37:04 -06:00
JPVenson
feea5af2f3
Merge remote-tracking branch 'jellyfinorigin/master' into feature/DatabaseRefactor
2025-03-01 14:16:49 +00:00
Bond-009
1131b051d8
Backport pull request #13601 from jellyfin/release-10.10.z
...
Delete children from cache on parent delete
Original-merge: 767a5e6193
Merged-by: Bond-009 <bond.009@outlook.com >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-02-25 15:32:03 -05:00
Shadowghost
06be4998e1
Backport pull request #13611 from jellyfin/release-10.10.z
...
Remove empty ParentIndexNumber workaround
Original-merge: 1daf761aec
Merged-by: Bond-009 <bond.009@outlook.com >
Backported-by: Bond_009 <bond.009@outlook.com >
2025-02-25 15:26:47 -05:00
JPVenson
d8030147ff
Merge remote-tracking branch 'jellyfinorigin/master' into feature/DatabaseRefactor
2025-02-19 18:25:00 +00:00
Bond_009
ce76817020
Rename CreateOrUpdateItems back to CreateItems
...
Reverts the name change of this function made in the EFCore PR. This hopefully
reduces the amount of merge conflicts while backporting and makes it consistent
with the CreateItem function.
2025-02-09 18:30:53 +01:00
JPVenson
17003f4d76
Merge remote-tracking branch 'jellyfinorigin/master' into feature/pgsql_provider
2025-02-02 02:09:14 +00:00
sinterdev
ce64dbc034
Removing CollectionFolders from cache when they are deleted on disk. ( #13315 )
2025-01-30 18:43:37 -07:00
Bond-009
bcdffa74a8
Remove useless checks and dead code ( #13405 )
...
* Remove useless checks and dead code
* Enable adaptive bitrate streaming again
* Disable adaptive bitrate streaming by default
2025-01-28 11:29:22 +01:00
JPVenson
aa811eb1e3
Prepared Seperation of Database components for future multi provider support
2025-01-26 20:45:28 +00:00
Joshua M. Boniface
93b8eade61
Merge pull request #12798 from JPVenson/feature/EFUserData
...
Refactor library.db into jellyfin.db and EFCore
2025-01-25 02:08:44 -05:00
Bond_009
47f798827b
Remove useless checks and dead code
2025-01-22 17:31:52 +01:00
Daniyar Alpyspayev
2614fecf8d
move to new System.Threading.Lock type for better performance
2024-12-12 18:10:06 +05:00
JPVenson
b39553611d
Applied coding style
2024-11-17 11:03:43 +00:00
JPVenson
b60cd378d9
Updated order of saving for Items
2024-11-14 20:03:23 +00:00
JPVenson
b830c42fca
There can be also NULL people?
2024-11-14 16:10:43 +00:00
JPVenson
f81d124019
Fixed items can be null saving
2024-11-14 15:23:59 +00:00
JPVenson
7c51b37ca0
Fixed Person creation
2024-11-13 22:05:23 +00:00
JPVenson
6b371ba04f
Fixed storage of Person images
2024-11-13 22:04:03 +00:00
JPVenson
b09a41ad1f
WIP porting new Repository structure
2024-10-09 10:36:08 +00:00
Niels van Velzen
675a8a9ec9
Remove left-over network path references ( #12446 )
2024-09-07 11:22:31 -06:00
Stepan Goremykin
a3cc39ddd8
Use frozen collections in MimeTypes.cs ( #10826 )
...
Co-authored-by: Stepan Goremykin <goremukin@gmail.com >
2024-09-04 17:47:01 -06:00
Bond_009
09f4477510
Replace UserId with User in UserViewQuery
2024-08-05 17:17:57 +02:00
ItsAllAboutTheCode
5e840c1db6
Improve LibraryManager.Sort when using "Random" order ( #12165 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro >
2024-07-15 08:44:06 -04:00
Shadowghost
6734450d40
Backport pull request #12025 from jellyfin/release-10.9.z
...
Fix empty image folder removal for legacy locations
Original-merge: 476dc01f4d
Merged-by: Bond-009 <bond.009@outlook.com >
Backported-by: Joshua M. Boniface <joshua@boniface.me >
2024-06-24 20:28:58 -04:00
gnattu
cd5fb84136
Backport pull request #11963 from jellyfin/release-10.9.z
...
Fix Library renaming
Original-merge: b78efd6b1e
Merged-by: joshuaboniface <joshua@boniface.me >
Backported-by: Joshua M. Boniface <joshua@boniface.me >
2024-06-06 14:30:34 -04:00