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
Shadowghost
5d4880c497
Backport pull request #11743 from jellyfin/release-10.9.z
...
Fix replace logic
Original-merge: 2ddb15c784
Merged-by: joshuaboniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:56 -04:00
gnattu
3ae0fb90cb
Validate Collection Folders on adding and removal ( #11444 )
2024-05-05 08:21:40 -06:00
Bond-009
3feb3f81bf
More efficient array creation ( #11468 )
2024-04-30 13:32:59 -06:00
Bond-009
d29b85a134
Fix multiple intro providers and remove unneeded ToLists ( #11431 )
2024-04-25 07:02:01 -06:00
Bond-009
37d301ebd4
Merge pull request #11352 from jellyfin/fix-library-removal
...
fix: explicitly allow remove root when performing library removal
2024-04-18 12:16:04 +02:00
Bond-009
bb018c4adc
Enable nullable for LibraryManager ( #11191 )
2024-04-17 10:44:50 -06:00
gnattu
e4d66f35fd
chore: use proper way to override remove root
...
This is an alternate approach which is more proper, but changes all parts that uses/overrides the original ValidateChildren method
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17 14:41:19 +08:00
Cody Robibero
6fb6b5f176
Validate item access ( #11171 )
2024-04-14 08:18:36 -06:00
gnattu
7befbda1a6
fix: code style
...
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-13 15:02:13 +08:00
gnattu
4fa6b8874f
fix: typo
...
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-13 14:58:29 +08:00
gnattu
204146a3a5
fix: mark UserRoot as non-root when performing removal
...
Fixes #11269
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-13 14:48:40 +08:00
Bond-009
7d28d08e08
Enable more warnings as errors ( #11288 )
2024-04-12 17:45:01 -06:00
Tim Eisele
134bf7a6a5
Don't throw if file was already removed ( #11286 )
2024-04-12 17:44:45 -06:00
Niels van Velzen
d9fe900952
Fix FindExtras overwriting current extra type ( #11260 )
2024-03-31 14:48:56 -06:00
Cody Robibero
f7f3ad9eb7
Precache livetv program images ( #11083 )
...
* Precache livetv program images
* return if cache hit
* use EnsureSuccessStatusCode
* Read proper bytes
2024-03-03 13:32:55 -07:00
Cody Robibero
0bc41c015f
Store lyrics in the database as media streams ( #9951 )
2024-02-26 05:09:40 -07:00
Patrick Barron
0960438065
Remove ActionableProgress
2024-02-06 09:58:25 -05:00
Patrick Barron
8698b90594
Remove SimpleProgress
2024-02-06 09:50:46 -05:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
2024-01-17 08:51:39 -07:00
Cody Robibero
033cfa59c4
Convert CollectionType to use lowercase enum names
2023-12-08 15:45:36 -07:00
Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum ( #9764 )
...
* Convert CollectionType, SpecialFolderType to enum
* Hide internal enum CollectionType values
* Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Fix recent change
* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
---------
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-11-09 14:00:29 -07:00
Cody Robibero
c7a94d48ae
Convert ItemSortBy to enum ( #9765 )
...
* Convert ItemSortBy to enum
* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Stepan Goremykin
8d7e4229ca
Merge branch 'master' into fix-resharper-warnings
...
# Conflicts:
# Emby.Server.Implementations/Net/SocketFactory.cs
# RSSDP/SsdpCommunicationsServer.cs
# RSSDP/SsdpDeviceLocator.cs
# RSSDP/SsdpDevicePublisher.cs
2023-10-12 20:11:16 +02:00
Bond-009
406c5df8a3
Merge pull request #10345 from Bond-009/getperson
2023-10-08 14:07:38 +02:00
Stepan Goremykin
f84469d500
Remove redundant using directives
2023-10-08 00:50:02 +02:00
Stepan Goremykin
a37dc3da96
Use async overload
2023-10-08 00:17:48 +02:00
Bond_009
b176beb88e
Reduce string allocations
...
Some simple changes to reduce the number of allocated strings
2023-10-06 01:04:25 +02:00
Bond_009
852f1dc0c1
Don't create non existent persons in LibraryManager.GetPerson
...
return null instead.
GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist
Fixes #3901
2023-10-05 23:16:17 +02:00
Bond_009
767a42fbdb
Minor LibraryMonitor improvements
...
* Enable nullable
* Add a fast return to ReportFileSystemChanged when path should be ignored
* Use Span overloads of Path.* functions where possible
* IFileSystem: remove NormalizePath as Path.TrimEndingDirectorySeparator already checks if it's a root path
2023-09-13 17:30:50 +02:00
Stepan Goremykin
0ed2aa6f06
Fix a few multiple enumerations
2023-08-26 16:57:27 +02:00
cvium
2e32e335ac
refactor: use ConcurrentDictionary when IMemoryCache isn't needed
2023-08-18 14:00:56 +02:00
Claus Vium
bfb7c60f72
Merge pull request #9447 from Bond-009/disablerealtimemonitor
...
Disable real time monitoring by default
2023-07-01 19:33:53 +02:00
Shadowghost
81746666de
Fix TotalRecordCount calculation
2023-05-26 11:06:04 +02:00
JPVenson
3c22d5c970
#7626 Added handling for common FormatExceptions with Skia loading sv… ( #9581 )
...
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-04-10 21:38:07 +02:00
Stepan Goremykin
b6cfdb8b92
Simplify conditional expression
2023-04-06 19:30:17 +02:00
elmuffo
bb5bf0277a
Implement check to hide all libraries when user has no access ( #9536 )
2023-04-01 15:01:05 -06:00
Bond_009
891e2495c9
Disable real time monitoring by default
2023-03-07 17:59:29 +01:00
Joe Rogers
1c3a97bf6a
Inject IDirectoryService where needed instead of passing it through ItemResolveArgs
2023-03-06 23:00:55 -05:00
Joe Rogers
160baa02fd
Remove some BaseItem references to make ItemResolveArgs more usable for testing.
2023-03-06 22:18:26 -05:00
Bond_009
4b01aaa0f7
Allocate less Lists
2023-03-01 00:44:57 +01:00
Bond-009
497d8c4957
Use Order() introduced in .NET 7 ( #8923 )
2022-12-19 09:30:00 -07:00
Joe Rogers
e4040ab812
Allow video extras to use owner library options
2022-12-08 01:00:27 -05:00
Bond_009
9bb1bc5a3e
Remove dependency on OptimizedPriorityQueue
2022-12-07 18:02:12 +01:00
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2022-12-07 16:43:59 +01:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
Shadowghost
072651c4be
Add xmldocs for TMDb provider, correct provider spelling
2022-11-17 11:16:20 +01:00
Joe Rogers
c38052a753
Skip missing symlink instead of breaking out of directory scan
2022-10-09 18:56:25 -04:00
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
Hannes Braun
4edeccc5e0
Remove redundant using directives
2022-09-28 16:26:03 +02:00
LogicalPhallacy
e8893f3d41
Backport pull request #8399 from jellyfin/release-10.8.z
...
Respect visibility for people items (rebased)
Original-merge: e6124bc154
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:38 -04:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Joshua Boniface
e251f1483f
Backport pull request #8167 from jellyfin/release-10.8.z
...
Add back library scan from library manager
Authored-by: Cody Robibero <cody@robibe.ro>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: f9dffa767f
2022-08-01 14:25:44 -04:00
Cody Robibero
7f1223016d
Merge pull request #7946 from cvium/svg
...
(cherry picked from commit 4ebe70cf6a )
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -04:00
Cody Robibero
e086eebb71
Merge pull request #7525 from 1337joe/fix-duplicate-library-media-paths
...
(cherry picked from commit bebe1808ce )
Signed-off-by: crobibero <cody@robibe.ro>
2022-04-07 12:54:58 -04:00
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Stanislav Ionascu
554d1b2ca8
Fix #7100 by catching the exception on opening invalid UDF images
...
When an invalid UDF image is opened by the UdfReader, it may throw
and exception. This change is to catch and log the exception.
2022-02-20 13:30:55 +00:00
Bond_009
adad13b865
Remove some dead code
2022-02-17 08:15:26 +01:00
Bond_009
5732e6188c
Fix some warnings
2022-02-15 18:59:46 +01:00
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
2022-02-06 15:25:48 -07:00
Claus Vium
488ce51032
Remove some allocations ( #7246 )
2022-01-28 12:21:40 +01:00
Bond_009
e7be01d7a5
Flush to disk async where possible
2022-01-22 23:36:42 +01:00
Cody Robibero
a60cb280a3
Properly populate QueryResult
2022-01-20 08:53:06 -07:00
Joe Rogers
a26509a98a
Keep from serializing trailers into database
2022-01-07 22:33:31 +01:00
Bond_009
77c615ba42
Error on SA1316
2022-01-05 10:58:57 +01:00
Bond-009
11d0c6827f
Merge pull request #7058 from cvium/the_most_important_feature
2022-01-02 12:31:20 +01:00
cvium
28c2ac9cc0
Remove file extension filter and fix build
2022-01-01 20:07:03 +01:00
cvium
2749509f00
Use dedicated resolvers for extras
2021-12-28 00:37:40 +01:00
Cody Robibero
7bfc6b5679
Remove more warnings
2021-12-27 07:38:06 -07:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
Cody Robibero
00211ca056
Merge pull request #7028 from cvium/everything_went_wrong
2021-12-22 17:57:00 +00:00
cvium
83a94aa612
Fix extras folders
2021-12-20 12:15:20 +01:00
Joe Rogers
077f13ae4c
Increment library number instead of appending
2021-12-18 20:50:36 +01:00
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
2021-12-15 08:38:39 +01:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
cvium
fde84a1e00
Refactor extras parsing
2021-12-07 15:24:57 +01:00
cvium
4f45c52674
Remove ILibraryManager as a dependency in resolvers etc.
2021-11-15 15:56:02 +01:00
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
2021-11-09 22:29:33 +01:00
Bond_009
5726535a26
Fix some warnings
...
609 left
2021-11-09 13:14:31 +01:00
Patrick Barron
876a902356
Fix warnings in Library
2021-10-03 21:41:22 -04:00
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
2021-09-24 20:15:46 +02:00
Dixin
dc8420c7a2
Fix extra folder type resolving.
2021-09-19 16:54:00 -07:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
2021-09-03 06:56:45 -06:00
Cody Robibero
cba07b1ca6
Remove more and more warnings
2021-08-28 16:32:50 -06:00
Bond_009
645825db36
Enable nullable for more files
2021-08-28 17:32:09 +02:00
Bond_009
915141f196
Fix some warnings
2021-07-11 22:51:36 +02:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00