Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
2021-09-02 14:02:04 +02:00
Odd Stråbø
d0857cf655
Fix build, increase StringBuilder starting size
2021-04-11 08:21:23 +02:00
Odd Stråbø
e0edbc5754
Apply suggestions from code review
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-11 08:21:23 +02:00
Odd Stråbø
e57c1655fb
Remove GetSizeEstimate & GetEstimatedAspectRatio
...
from MediaBrowser.Controller.Drawing.ImageHelper
Rework GetCacheFilePath to take requested with and height parameters
in stead of using estimated output size
2021-04-11 08:21:23 +02:00
Bond-009
b2fbf97abd
Merge pull request #4988 from Bond-009/crop
2021-04-10 02:57:43 +02:00
Patrick Barron
f638ee6b09
Enable nullable for Jellyfin.Data and remove unnecessary attributes
2021-03-06 17:43:01 -05:00
Bond_009
620fbf0f89
Remove CropWhitespace function
2021-01-09 10:51:59 +01:00
Anthony Lavado
1f5ac19346
Merge pull request #3954 from Ullmie02/library-pictures
...
Use backdrop with library name as library thumbnail
2020-10-13 00:02:08 -04:00
Oleg Shevchenko
58924fd1da
Fix parameters validation in ImageProcessor.GetCachePath
2020-09-13 22:38:31 +03:00
David
a3020f2917
Use backdrop with library name as library thumbnail
2020-08-21 19:53:55 +02: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
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
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
Kristupas Savickas
18e06e53b4
reduce log spam when generating blurhashes
2020-06-08 10:27:03 +03: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
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
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
7439e095e2
Merge branch 'master' into nullable3
2020-05-27 20:49:18 +02:00
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
2020-05-21 01:43:19 +03:00
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
2020-05-18 23:21:37 +03:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Bond_009
118f30059c
Merge branch 'master' into nullable4
2020-04-23 11:29:19 +02:00
Mark Monteiro
8f02fb9a4f
Remove unused usings
...
This addresses the new issues identified in SonarCloud analysis
2020-04-22 13:09:59 -04:00
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
2020-04-05 21:19:04 +02:00
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
2020-04-04 17:12:24 -04:00
Mark Monteiro
efe3ebaab8
Eliminate circular dependency between LibraryManager and ImageProcessor
2020-04-04 16:01:10 -04:00
Bond-009
a2490a7ae5
Merge branch 'master' into images
2020-02-12 17:41:46 +01:00
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
2020-01-22 22:20:35 +01:00
Bond_009
ddf9b38799
Simplify image processing by removing image enhancers
2020-01-21 20:26:30 +01:00
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11 16:52:37 +02:00
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
2019-08-09 23:17:54 +02:00
Claus Vium
7322485a6d
Skip processing of images that don't exist
2019-03-11 20:44:12 +01:00
Vasily
3a88a3c795
Merge pull request #822 from Bond-009/imagedimensions
...
Complete rename ImageSize -> ImageDimensions
2019-02-08 20:02:25 +03:00
Bond_009
70c85925af
Move some arrays to generics
2019-02-06 22:58:12 +01:00
Bond-009
e216702bcf
Complete rename ImageSize -> ImageDimensions
2019-02-05 19:53:50 +01:00
Bond-009
78e4e2ed92
Fix all warnings
2019-02-02 21:45:29 +01:00
Bond-009
1ea219bf3f
Merge branch 'master' into culture
2019-01-30 16:57:15 +01:00
Erwin de Haan
581a7fe078
Unwrapped MoveDirectory
, DirectoryExists
, FileExists
& removed MoveFile
2019-01-28 22:10:00 +01:00
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
2019-01-28 22:09:56 +01:00
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
2019-01-28 22:06:34 +01:00
Bond_009
a709cbdc64
Fix more analyzer warnings
2019-01-27 12:12:44 +01:00
Bond_009
883575893b
Change image dimentions from double to int
...
Rename ImageSize -> ImageDimensions
2019-01-26 13:16:47 +01:00
Andrew Rabert
6a5488c651
Formatting
2019-01-20 20:47:02 -05:00
Andrew Rabert
1cf1e9bfa1
Update appPaths position
2019-01-20 20:46:40 -05:00
Andrew Rabert
7469ed4e6e
Update logger position
2019-01-20 20:46:00 -05:00
Andrew Rabert
c7f648f86a
Merge branch 'dev' into imagesize
2019-01-20 20:45:06 -05:00
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
2019-01-20 21:05:12 +00:00
Bond_009
7e4cc9f513
Touchup
2019-01-20 14:39:05 +01:00