David
a714008b59
Add missing FileStreams
2020-12-23 21:00:50 +01:00
David
2a574914ea
Use streams instead of strings
2020-12-23 19:24:58 +01:00
David
196388d607
Remove custom Json serializer from Emby.Server.Implementations
2020-12-23 13:14:40 +01:00
Claus Vium
21d2e9ff0c
Merge pull request #4771 from crobibero/typed-get-preference
...
Use typed UserManager GetPreference
2020-12-16 22:15:56 +01:00
crobibero
ee23d06154
Use a more descriptive function name
2020-12-13 08:15:26 -07:00
artiume
297cb27ab6
remove opf extension for book types
2020-12-11 21:13:28 -05:00
crobibero
b670937c3d
Use typed UserManager GetPreference
2020-12-11 15:00:43 -07:00
cvium
3f6e6c4839
Simplify
2020-12-10 14:47:47 +01:00
cvium
3c5bbeb80c
Remove ImageFetcherPostScanTask
2020-12-10 13:38:33 +01:00
nyanmisaka
020fe37dfe
fix custom library order
2020-12-08 22:33:52 +08:00
crobibero
b5a7a74e89
Use GetParentItem where applicable
2020-12-01 16:16:17 -07:00
crobibero
2055d49701
fix inverted condition
2020-12-01 11:10:56 -07:00
crobibero
c083b29e29
Use Guid as API parameter type where possible
2020-12-01 11:07:41 -07:00
BaronGreenback
969b9e2a18
Update ImageFetcherPostScanTask.cs
2020-11-21 23:33:41 +00:00
Joshua M. Boniface
bf54b5579c
Merge branch 'master' into defer_image_fetching
2020-11-21 17:20:31 -05:00
Joshua M. Boniface
7457c4a95d
Merge pull request #4499 from crobibero/more-param
...
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
Greenback
e51ddd326c
Fixes spelling.
2020-11-18 13:23:45 +00:00
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
2020-11-16 20:29:46 -07:00
BaronGreenback
2bbfcc264d
Merge branch 'master' into emby-namig-nullable
2020-11-16 19:47:36 +00:00
crobibero
e66d79fc0c
Merge remote-tracking branch 'upstream/master' into http-exception
2020-11-15 13:09:05 -07:00
crobibero
95a2de757f
remove custom HttpException
2020-11-14 14:30:34 -07:00
Bond_009
ff49a3bb61
Missed some stuff
2020-11-14 20:28:15 +01:00
Bond_009
bc7359f87d
Use string.Split(char) where possible instead of string.Split(char[])
2020-11-14 20:27:48 +01:00
Stepan
c0747512d6
Merge remote-tracking branch 'jellyfin/master' into emby-namig-nullable
2020-11-10 12:42:49 +01:00
cvium
584b4fa41f
Fix Persons, Genres and Studios endpoints
2020-11-05 12:27:22 +01:00
Anthony Lavado
6205fb4b6a
Merge pull request #4341 from Bond-009/minor6
...
Minor improvements
2020-11-02 11:10:39 -05:00
Stepan
60b49e67ea
Re-Sharper inspection issues
2020-11-01 11:19:22 +01:00
Stepan
59619b6ea7
Enable nullable in Emby.Naming
2020-11-01 10:47:31 +01:00
Bond_009
49569ca0a0
Use nameof where possible
2020-10-17 16:19:57 +02:00
Bond-009
d54de29485
Merge pull request #4315 from Jan-PieterBaert/fix-warnings
...
Fix some warnings
2020-10-14 14:04:13 +02:00
Anthony Lavado
8b419d9ea6
Merge pull request #4199 from ryanpetris/livetv-locking
...
Fix stream performance when opening/closing new streams.
2020-10-13 00:02:38 -04:00
Jan-Pieter Baert
ec91d3893d
Fix SA 1116 warnings
2020-10-12 20:05:11 +02:00
cvium
4a81ee43dc
Add try-catch to avoid crashing the whole thing
2020-10-06 23:36:48 +02:00
cvium
1b18f86c8b
Add missing parameter comments.
2020-10-03 13:52:51 +02:00
cvium
5d3449e9dc
Fix xml doc comment
2020-10-03 13:39:39 +02:00
cvium
763862cbd8
Defer image pre-fetching until the end of a refresh/scan
2020-10-03 13:36:53 +02:00
Gary Wilber
3cfbe6e340
better audio file check
2020-09-27 13:28:19 -07:00
Gary Wilber
75041e7f39
interlocked increment
2020-09-27 12:56:12 -07:00
Gary Wilber
05fa95f149
Increase scan speed for music libraries
2020-09-26 19:33:59 -07:00
Ryan Petris
4db5700e18
Don't take a lock if there's no intention to manipulate the list of open streams. Instead, use a ConcurrentDictionary so that, in those situations, thread-safe access to the dictionary is ensured.
2020-09-23 14:12:26 -07:00
Bond_009
edbd4e0db6
Remove extra return statement
2020-09-11 12:57:57 +02:00
Bond_009
441301069e
Fix
2020-09-11 12:56:11 +02:00
Bond_009
48e1cf9fd7
Minor performance improvements to item saving
2020-09-09 13:38:27 +02:00
Bond_009
119f64f5e7
Make some methods async
2020-08-21 22:01:19 +02:00
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
2020-08-20 12:16:24 +02:00
cvium
0cf75992a8
Use MemoryCache.Set since SetValue does not flush to cache automatically.
2020-08-07 11:55:22 +02:00
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
2020-08-01 21:51:49 +02:00
dkanada
e0d2eb8eec
remove useless order step for intros
2020-08-01 02:03:23 +09:00
Patrick Barron
e5c6eec642
Use MemoryCache in LibraryManager
2020-07-29 17:28:15 -04:00
Joshua M. Boniface
d7287a05ad
Merge pull request #3684 from Bond-009/warn22
...
Fix warnings
2020-07-27 00:16:09 -04:00
Odd Stråbø
9314a4fcc9
.
2020-07-26 23:28:25 +02:00
Odd Stråbø
7fa80ac3e0
Add more tests, update comment
2020-07-26 23:03:16 +02:00
Odd Stråbø
de708d2fca
Comment
2020-07-26 17:11:43 +02:00
Odd Stråbø
800260af43
Yep. I failed at copy-pasting.
2020-07-26 00:19:24 +02:00
Odd Stråbø
11d5410dbb
Don't ignore dot directories.
...
Use `.ignore` file to hide directory from library scan.
Also, please tell me we handle sample matching somewhere else? This is a mess.
2020-07-25 23:50:49 +02:00
Bond_009
01e781035f
Fix warnings
2020-07-24 16:37:54 +02:00
Bond-009
3ff110984a
Merge branch 'master' into readonlyspan
2020-07-24 09:40:44 +02:00
Patrick Barron
0aa349fe40
Remove unused dependencies.
2020-07-23 21:42:36 -04:00
Patrick Barron
3d69cea1c9
Merge branch 'master' into displaypreferences-efcore
2020-07-23 23:50:12 +00:00
Joshua M. Boniface
0d446c8755
Merge pull request #3609 from Bond-009/warn21
...
Fix warnings
2020-07-23 18:06:34 -04:00
Bill Thornton
e973757485
Simplify logic
2020-07-22 11:32:29 -04:00
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
2020-07-22 13:39:24 +02:00
Bill Thornton
2fa2952791
Skip image processing for live tv sources
2020-07-21 16:40:38 -04:00
Bond_009
7324b44c43
Fix warnings
2020-07-20 11:01:37 +02:00
Patrick Barron
b53bf2cd16
Remove obsolete network path code
2020-07-18 16:21:01 -04:00
crobibero
e152a6c82f
Increase delete logging
2020-07-17 15:53:10 -06:00
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
2020-07-17 16:11:53 -04:00
Bond-009
cb193b6afd
Add support for ReadOnlySpan<char> in IgnorePatterns
2020-06-27 11:34:33 +02:00
crobibero
9772749d8f
Add more ignorepatterns and tests
2020-06-26 11:04:35 -06:00
dkanada
bb7444db07
Merge pull request #3439 from cvium/ignore_application_folders
...
Never ignore application folders
2020-06-26 06:14:19 +09:00
crobibero
9eba11379a
catch skia errors when getting image dimensions
2020-06-25 12:10:33 -06:00
Claus Vium
0f07b19ca5
Remove AllowIgnorePath
2020-06-25 11:33:10 +02:00
Claus Vium
9dee1eef83
Never ignore application folders
2020-06-25 11:31:43 +02:00
Bond-009
f75024fade
Fix scan crashed
2020-06-22 10:06:35 +02:00
telans
7f307f9082
brace multiline if statements
2020-06-20 21:12:36 +12:00
telans
8de6452967
fix some documentation periods
2020-06-20 18:13:11 +12:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516
2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
telans
3d9049ef08
fix SA1508
2020-06-15 10:45:55 +12:00
telans
acd4389653
fix SA1005
2020-06-15 10:41:00 +12:00
telans
726e116d5b
fix SA1510
2020-06-15 10:40:57 +12:00
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
2020-06-13 00:29:43 +09:00
Patrick Barron
fc02157b42
Fix build errors
2020-06-11 18:28:49 -04:00
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
2020-06-11 18:23:12 -04:00
Bond-009
ad5c41b542
Merge pull request #3258 from aled/2149-fix-a-small-number-of-compile-warnings-1
...
Fix a small number of compile warnings
2020-06-09 22:22:36 +02:00
crobibero
7ed5cf3dca
Force configuration paths to not be ignored.
2020-06-07 20:32:06 -06:00
aled
22a860a806
Fix a small number of compile warnings
2020-06-06 20:17:49 +01:00
Daniyar Itegulov
613748b45d
Make books resumable and have duration of 1 second
2020-06-06 18:50:28 +10:00
crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
2020-06-04 16:52:23 -04:00
Bond-009
2dbb9d4895
Fix build
2020-06-03 11:54:01 +02:00
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-06-03 12:27:59 +03:00
Vasily
668e10ceb7
Merge pull request #2767 from Bond-009/nullable3
...
Enable nullabe reference types for MediaBrowser.Model
2020-06-03 12:26:54 +03:00
Vasily
b9618c8c01
Merge pull request #2676 from GranPC/public-pr/blurhash
...
Implement Blurhash generation for images
2020-06-02 17:25:45 +03:00
Vasily
26eef1bbf8
Move logic of computing Blurhash components to ImageProcessor
...
Also rename last few instances of GetImageHash to GetImageBlurHash for clarity
2020-06-01 18:12:49 +03:00
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-05-29 11:28:19 +02:00
Vasily
9208acd5ae
Convert non-local image to local before computing blurhash
2020-05-28 17:55:29 +03:00
Vasily
ed791dee46
Do not compute dimensions or blurhash for remote images
2020-05-28 17:30:11 +03:00
Bond_009
7439e095e2
Merge branch 'master' into nullable3
2020-05-27 20:49:18 +02:00
Vasily
edcfcadcd3
Make sure blurhash is recomputed if image changed or metadata refresh toggled
2020-05-27 17:00:59 +03:00
Vasily
6c9dc04189
Handle errors during blurhash generation so it does not fail the scan
2020-05-27 15:01:03 +03:00
Patrick Barron
eef7cfd912
Make SonarCloud less angry
2020-05-26 22:43:03 -04:00
Patrick Barron
01ce56016a
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
# MediaBrowser.Api/UserService.cs
# MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Joshua M. Boniface
0be3dfe7c5
Revert "Fix emby/user/public API leaking sensitive data"
2020-05-26 12:14:40 -04:00
Vasily
29443e3681
Apply suggestions from code review
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2020-05-26 00:50:29 +03:00
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
2020-05-21 01:43:19 +03:00
Vasily
8b517e9bef
Fix nullref for imageProcessor in LibraryManager
2020-05-21 00:03:22 +03:00
Patrick Barron
c464f700db
Remove redundant qualifiers
2020-05-20 13:07:53 -04:00
artiume
0efb81b21e
Add lost+found to ignore list
...
https://forum.jellyfin.org/t/library-not-loading/2086
2020-05-19 21:45:48 -04:00
Vasily
186b7f303c
More small optimizations
2020-05-19 15:08:43 +03:00
Vasily
a226a4ee03
Compute hash only when one is not computed in DB, small optimizations here and there
2020-05-19 14:50:14 +03:00
Vasily
bfb644d5f5
Fix nullref exception
2020-05-19 13:45:39 +03:00
Vasily
02da312f8a
Fix compilation after rebase
2020-05-19 00:22:52 +03:00
Jesús Higueras
fe480caf54
Add endpoint to update all items in library
2020-05-18 23:21:38 +03:00
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
2020-05-18 23:21:37 +03:00
Vasily
2d2c1d9473
Merge pull request #3099 from rigtorp/ignore-patterns
...
Use glob patterns to ignore files
2020-05-18 22:23:40 +03:00
Erik Rigtorp
f144acdc96
Use glob patterns to ignore files
2020-05-15 18:33:18 -07:00
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
2020-05-15 17:20:07 -04:00
artiume
4eb4ad3be7
Update Books Resolver File Types
2020-05-14 17:03:53 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Patrick Barron
62420a6eb1
Remove support for injecting ILogger directly
2020-05-12 16:03:15 -04:00
Bond-009
62da4d0e5c
Merge pull request #2492 from Polpetta/fix-api-private-data-leak
...
Fix emby/user/public API leaking sensitive data
2020-05-07 14:52:10 +02:00
Davide Polonio
57cf19f058
Fix variable declaration and follow sonarcloud suggestions
2020-05-06 17:25:41 +02:00
Davide Polonio
472efeeec4
Remove extra line in UserManager
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-05-02 13:09:57 +02:00
Vasily
5922c35d69
Merge pull request #2920 from Bond-009/tests2
...
Add some simple tests
2020-04-29 12:17:01 +03:00
dkanada
97d7ffc458
Merge pull request #2861 from mark-monteiro/fix-auth-response-codes
...
Fix Auth Response Codes
2020-04-23 14:10:22 +09:00
Bond-009
07326c1d9b
Merge branch 'master' into fix-auth-response-codes
2020-04-22 13:16:08 +02:00
Bond_009
c430a7ed8f
Address comments
2020-04-21 10:18:26 +02:00
Mark Monteiro
bc4e72b29b
Create ApplicationHost logger correctly
2020-04-20 20:48:39 -04:00
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-20 20:11:33 -04:00
Bond_009
7f4a229cd2
Add some simple tests
2020-04-20 10:18:12 +02:00
randrey
d30fd3b3d2
Changed '\d' to '[0-9]'.
2020-04-19 14:14:04 -07:00
randrey
92f273cb0c
Limit imdbid to 8 digits.
2020-04-18 18:18:48 -07:00
randrey
d7a71cee3c
Fix imdbid regex
2020-04-18 17:26:22 -07:00
Vasily
e1fb24c9ee
Merge pull request #2830 from Bond-009/dvdlib
...
DvdLib: remove dependency on MediaBrowser.Model
2020-04-16 00:53:25 +03:00
Bond-009
bcf53b3226
Merge pull request #2746 from dafo90/master
...
Authentication request log with IP
2020-04-15 23:22:50 +02:00
Bond_009
fc049caba2
Merge branch 'master' into nullable3
2020-04-15 11:09:14 +02:00
Mark Monteiro
9c7b3850f9
Throw AuthenticationException instead of ArgumentNullException when a user does not exist
2020-04-13 14:55:24 -04:00
Mark Monteiro
53380689ad
Return correct status codes for authentication and authorization errors
...
- Use AuthenticatonException to return 401
- Use SecurityException to return 403
- Update existing throws to throw the correct exception for the circumstance
2020-04-13 13:17:46 -04:00
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-11 10:00:39 -04:00
Bond_009
d8a7462205
DvdLib: remove dependency on MediaBrowser.Model
2020-04-11 12:33:23 +02:00
Vasily
06c5b73c15
Merge pull request #2755 from Bond-009/dbcleanup
...
Clean up SqliteItemRepository
2020-04-10 00:20:53 +03:00
dafo90
dd128b5e30
Log message for each exception during login
2020-04-08 17:02:32 +02:00
Vasily
5b59cd2eb2
Merge pull request #2696 from mark-monteiro/fix-extras
...
Display Extras With Unknown Types
2020-04-07 23:39:31 +03:00
dafo90
62b0db59aa
Fix Authentication request log
2020-04-06 22:23:53 +02:00
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
2020-04-05 18:10:56 +02:00
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
2020-04-04 19:57:26 -04:00
Mark Monteiro
4daa5436fc
Register and construct IUserManager and IUserRepository correctly
2020-04-04 19:31:14 -04:00