Jan-Pieter Baert
ec91d3893d
Fix SA 1116 warnings
4 years ago
Jan-Pieter Baert
6f9beef732
Fix SA1012 and SA1013 warnings
4 years ago
Matt Montgomery
53d5f64e03
Fix SA1513, SA1514, SA1507, and SA1508
4 years ago
Bond_009
15be11fca8
Fix build
4 years ago
Bond_009
48e1cf9fd7
Minor performance improvements to item saving
4 years ago
crobibero
5f64ab02a0
bump System.Text.Json
4 years ago
crobibero
340f83c3f5
Ignore null json values
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
Bond_009
4980db1594
Fix spelling
4 years ago
Bond_009
2b355c36ff
Minor improvements
...
OFC I reduced some allocations
4 years ago
Claus Vium
996d0c07d0
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
4 years ago
Claus Vium
85e43d657f
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
cvium
aa32aba0f8
Remove some unnecessary string allocations.
4 years ago
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
Patrick Barron
3d69cea1c9
Merge branch 'master' into displaypreferences-efcore
4 years ago
Bond_009
4d681e3cad
Optimize StringBuilder.Append calls
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
aled
299e49f39d
Fix a small number of compile warnings
4 years ago
aled
22a860a806
Fix a small number of compile warnings
5 years ago
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Vasily
58f099c0e2
Fix naming per code review
5 years ago
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
5 years ago
Vasily
a226a4ee03
Compute hash only when one is not computed in DB, small optimizations here and there
5 years ago
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
5 years ago
Bond_009
118f30059c
Merge branch 'master' into nullable4
5 years ago
Bond_009
10afa4509d
Log exception
5 years ago
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Vasily
06c5b73c15
Merge pull request #2755 from Bond-009/dbcleanup
...
Clean up SqliteItemRepository
5 years ago
Bond_009
c2b5fb78ce
Address comments
5 years ago
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
5 years ago
Mark Monteiro
f91f2ef328
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Mark Monteiro
735d6c8ad5
Convert properties in ApplicationHost to private readonly fields, where possible
5 years ago
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
5 years ago
Bond-009
0b21494999
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
5 years ago
Bond-009
cbb6797043
Update SqliteItemRepository.cs
5 years ago
Bond_009
8e7b15285e
Clean up SqliteItemRepository
5 years ago
Bond_009
3161e85f76
Address comments
5 years ago
Bond-009
f31efce52d
Merge branch 'master' into usings
5 years ago
Bond_009
787049f35f
Merge branch 'master' into minor
5 years ago
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
5 years ago
Vasily
0d2a355c00
Make variables binding correspond with column names
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
dkanada
7270997e76
add code suggestions
...
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
5 years ago
Vasily
a9f3b5dacb
Fix ordering of search results
5 years ago
Bond_009
a07ee65365
Minor improvements
5 years ago
Bond_009
adc9fc282c
Minor improvements
5 years ago
dkanada
73fac50e57
rename two properties based on code suggestions
5 years ago
Bond_009
8a0ef41036
Minor improvements
5 years ago
Bond_009
a253fa616d
Fix build and address comments
5 years ago
dkanada
aca31457c0
merge branch master into media-attachments
5 years ago
Neil Burrows
d9c0721e3d
Reformatting code
5 years ago
Neil Burrows
55317b5c74
Fixing index error & split out code for readability
5 years ago
Neil Burrows
12bb4a92eb
Tidying up code
5 years ago
Neil Burrows
554c967dd6
Add Excluded Tags using SQLite parameters
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
dkanada
f51f59d675
Merge pull request #1965 from Bond-009/dbjson
...
Deserialize with the correct type (and warning fixes)
5 years ago
Andrew Mahone
d6aa02ff09
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
f60e9b0b62
formatting
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
6defe80b62
Check for cancellation between each batch of MediaAttachment inserts.
5 years ago
Andrew Mahone
74fb63a898
Use block rather than local using statement.
5 years ago
Andrew Mahone
8505ee9d6c
Extract the prefix for MediaAttachment insertions to a static member instead of generating it per-query.
5 years ago
Andrew Mahone
cc7741efd4
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
3602251cf5
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
e5b65ed034
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
25bc7b81c3
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
24a460dc93
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
b936c530aa
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
bd4da93d1e
Throw ArgumentException instead of ArgumentNullException on empty Guid.
5 years ago
Andrew Mahone
ad2101ce52
Rename "limit" to "insertAtOnce" in InsertMediaAttachments.
5 years ago
Andrew Mahone
c2d8f210b1
Check for cancellation in SaveMediaAttachments.
5 years ago
Andrew Mahone
0dde5e46df
Flatten using connection in GetMediaAttachments/SaveMediaAttachments
5 years ago
Andrew Mahone
4573fb5301
Use ToByteArray instead of ToGuidBlob.
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
Andrew Mahone
90dfe729bb
Add space when building query string for attachments.
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
5 years ago
Bond_009
846857b60e
Deserialize with the correct type (and warning fixes)
5 years ago
Bond_009
016be02cd6
More warning fixes
5 years ago
Andrew Mahone
03ecf57548
Store MediaAttachments in DB.
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Vasily
79f9887625
Merge pull request #1854 from Bond-009/json
...
Use System.Text.Json api for databases
5 years ago
Bond_009
ac93a5a85c
Change slow query time logging to debug
5 years ago
Bond_009
e553eba31e
Use System.Text.Json api
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond_009
e4f893a0eb
More warning fixes
5 years ago
Bond_009
f70a63d575
Return DB asap
5 years ago
Claus Vium
f48eaccc51
Use reader.GetString instead of indexing
5 years ago
Claus Vium
e7c05dcfaf
Speed up BaseItem deserialization
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
45c13141f9
Address comments
5 years ago
Bond_009
7898af4ceb
Reworked PRAGMA statements use
5 years ago
Bond_009
d00ad28efd
Address comments
5 years ago
Bond-009
e88ebd748d
Final fixes
5 years ago
Bond-009
27c29bbb4c
Back to a single connection
5 years ago
Bond-009
30842656a7
Properly dispose
5 years ago
Bond-009
c30ba14c1f
Use a connection pool instead of creating new connections
5 years ago
Bond-009
cec22ad10d
Simplify db code
5 years ago
Bond_009
a9337033c1
Fix query time logging
6 years ago
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
6 years ago
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
6 years ago
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
6 years ago
Lynxy
5368112d90
Correct the list of series types
6 years ago
Bond-009
0804bed66d
Log time in a standardized way
6 years ago
Bond_009
da9418c1b2
Useless copy
6 years ago
Bond_009
9dba930a85
Warn faster for slow requests
6 years ago
Bond_009
7722cb3ffa
Some Lists -> IEnumerable
6 years ago
Bond_009
3e6819c718
Don't clone lists
6 years ago
Bond_009
41fb1e5106
Tuple -> ValueTuple
6 years ago
Bond_009
64d5ec12e2
Use HashSets for increased perf
6 years ago
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Claus Vium
64b6cfa3dc
Add Size to TypedBaseItem
6 years ago
Bond_009
d8d6c6f254
Address comments
6 years ago
Bond_009
2ffab720fb
Fix ctor
6 years ago
Bond_009
07f163a4c3
Minor improvements to db code
6 years ago
hawken
490e22c790
Add comments to SqliteItemRepository to help out whoever is next
6 years ago
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.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
a5288115a8
Visual Studio Reformat: Emby.Server.Implementations Part A-Da
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
175c085d90
Stub out new filtering api
7 years ago
Luke Pulverenti
5207067811
fix live tv over dlna
7 years ago
Luke Pulverenti
0a0303ca64
normalize strm file contents
7 years ago
Luke Pulverenti
7e5036a587
update image aspect ratio detection
7 years ago
Luke Pulverenti
0bc3cdfab7
update suggestions
7 years ago
Luke Pulverenti
98f4da6d14
3.2.32.3
7 years ago
Luke Pulverenti
2d29d903be
fixes #2904 - disabling transcoding for a user is not working
7 years ago
Luke Pulverenti
9d69352fcf
fixes #2891 - New Season ... popups repeatedly
7 years ago
Luke Pulverenti
cdd79ec7e2
update owned items
7 years ago
Luke Pulverenti
106575e443
3.2.30.21
7 years ago