Vasily
06c5b73c15
Merge pull request #2755 from Bond-009/dbcleanup
...
Clean up SqliteItemRepository
2020-04-10 00:20:53 +03:00
Bond_009
c2b5fb78ce
Address comments
2020-04-09 19:27:03 +02: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
f91f2ef328
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-05 10:07:17 -04:00
Mark Monteiro
735d6c8ad5
Convert properties in ApplicationHost to private readonly fields, where possible
2020-04-04 23:18:47 -04:00
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
2020-04-04 17:12:24 -04:00
Bond-009
0b21494999
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-03 23:13:04 +02:00
Bond-009
cbb6797043
Update SqliteItemRepository.cs
2020-04-03 22:41:14 +02:00
Bond_009
8e7b15285e
Clean up SqliteItemRepository
2020-04-03 20:59:38 +02:00
Bond_009
3161e85f76
Address comments
2020-04-03 17:30:01 +02:00
Bond-009
f31efce52d
Merge branch 'master' into usings
2020-04-01 22:42:43 +02:00
Bond_009
787049f35f
Merge branch 'master' into minor
2020-04-01 18:53:22 +02:00
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
2020-04-01 18:51:44 +02:00
Vasily
0d2a355c00
Make variables binding correspond with column names
2020-03-26 17:40:28 +03:00
Bond_009
e9d1eabd53
Remove unused usings
2020-03-24 16:12:06 +01:00
dkanada
7270997e76
add code suggestions
...
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-03-23 00:59:22 +09:00
Vasily
a9f3b5dacb
Fix ordering of search results
2020-02-26 10:54:29 +03:00
Bond_009
a07ee65365
Minor improvements
2020-02-23 10:53:51 +01:00
Bond_009
adc9fc282c
Minor improvements
2020-02-19 23:08:58 +01:00
dkanada
73fac50e57
rename two properties based on code suggestions
2020-01-08 10:52:48 +09:00
Bond_009
8a0ef41036
Minor improvements
2020-01-08 01:24:12 +09:00
Bond_009
a253fa616d
Fix build and address comments
2020-01-08 01:23:57 +09:00
dkanada
aca31457c0
merge branch master into media-attachments
2020-01-08 01:21:09 +09:00
Neil Burrows
d9c0721e3d
Reformatting code
2019-12-14 17:48:30 +00:00
Neil Burrows
55317b5c74
Fixing index error & split out code for readability
2019-12-13 13:45:20 +00:00
Neil Burrows
12bb4a92eb
Tidying up code
2019-12-13 11:08:19 +00:00
Neil Burrows
554c967dd6
Add Excluded Tags using SQLite parameters
2019-12-13 10:29:38 +00:00
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
2019-12-06 12:06:13 +01:00
Bond-009
b477b3874e
Fix some warnings
2019-11-22 16:15:31 +01:00
dkanada
f51f59d675
Merge pull request #1965 from Bond-009/dbjson
...
Deserialize with the correct type (and warning fixes)
2019-11-10 16:51:54 +09:00
Andrew Mahone
d6aa02ff09
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:22:07 -05:00
Andrew Mahone
f60e9b0b62
formatting
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:20:29 -05:00
Andrew Mahone
6defe80b62
Check for cancellation between each batch of MediaAttachment inserts.
2019-11-07 08:38:36 -05:00
Andrew Mahone
74fb63a898
Use block rather than local using statement.
2019-11-06 10:43:14 -05:00
Andrew Mahone
8505ee9d6c
Extract the prefix for MediaAttachment insertions to a static member instead of generating it per-query.
2019-11-05 14:53:46 -05:00
Andrew Mahone
cc7741efd4
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
2019-11-05 08:35:42 -05:00
Andrew Mahone
3602251cf5
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:36:17 -05:00
Andrew Mahone
e5b65ed034
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:19:07 -05:00
Andrew Mahone
25bc7b81c3
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:13:35 -05:00
Andrew Mahone
24a460dc93
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:13:22 -05:00
Andrew Mahone
b936c530aa
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
2019-11-05 08:13:15 -05:00
Andrew Mahone
bd4da93d1e
Throw ArgumentException instead of ArgumentNullException on empty Guid.
2019-11-05 07:48:32 -05:00
Andrew Mahone
ad2101ce52
Rename "limit" to "insertAtOnce" in InsertMediaAttachments.
2019-11-04 10:33:50 -05:00
Andrew Mahone
c2d8f210b1
Check for cancellation in SaveMediaAttachments.
2019-11-04 10:31:32 -05:00
Andrew Mahone
0dde5e46df
Flatten using connection in GetMediaAttachments/SaveMediaAttachments
2019-11-04 10:28:33 -05:00
Andrew Mahone
4573fb5301
Use ToByteArray instead of ToGuidBlob.
2019-11-04 10:19:53 -05:00
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
2019-11-04 10:03:18 -05:00
Andrew Mahone
90dfe729bb
Add space when building query string for attachments.
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-11-04 08:48:27 -05:00
Bond_009
846857b60e
Deserialize with the correct type (and warning fixes)
2019-11-01 17:07:42 +01:00
Bond_009
016be02cd6
More warning fixes
2019-10-29 17:56:05 +01:00
Andrew Mahone
03ecf57548
Store MediaAttachments in DB.
2019-10-22 10:32:40 -04:00
Bond_009
bbc0875387
Don't shuffle some types by default
2019-10-20 16:08:40 +02:00
Vasily
79f9887625
Merge pull request #1854 from Bond-009/json
...
Use System.Text.Json api for databases
2019-10-10 18:15:48 +03:00
Bond_009
ac93a5a85c
Change slow query time logging to debug
2019-10-08 22:17:15 +02:00
Bond_009
e553eba31e
Use System.Text.Json api
2019-10-08 20:59:53 +02:00
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
2019-09-02 02:19:29 -04:00
Bond_009
e4f893a0eb
More warning fixes
2019-08-29 22:28:33 +02:00
Bond_009
f70a63d575
Return DB asap
2019-08-18 22:05:06 +02:00
Claus Vium
f48eaccc51
Use reader.GetString instead of indexing
2019-08-18 17:32:41 +02:00
Claus Vium
e7c05dcfaf
Speed up BaseItem deserialization
2019-08-18 17:22:45 +02:00
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
2019-08-09 23:17:54 +02:00
Bond_009
45c13141f9
Address comments
2019-07-01 17:59:01 +02:00
Bond_009
7898af4ceb
Reworked PRAGMA statements use
2019-06-28 12:14:27 +02:00
Bond_009
d00ad28efd
Address comments
2019-06-28 12:14:27 +02:00
Bond-009
e88ebd748d
Final fixes
2019-06-28 12:14:27 +02:00
Bond-009
27c29bbb4c
Back to a single connection
2019-06-28 12:13:34 +02:00
Bond-009
30842656a7
Properly dispose
2019-06-28 12:12:54 +02:00
Bond-009
c30ba14c1f
Use a connection pool instead of creating new connections
2019-06-28 12:12:54 +02:00
Bond-009
cec22ad10d
Simplify db code
2019-06-28 12:12:54 +02:00
Bond_009
a9337033c1
Fix query time logging
2019-04-24 15:25:22 +02:00
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
2019-03-16 17:54:57 +01:00
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
2019-03-14 22:31:51 +01:00
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
2019-03-07 18:10:55 +01:00
Lynxy
5368112d90
Correct the list of series types
2019-03-01 22:28:25 -05:00
Bond-009
0804bed66d
Log time in a standardized way
2019-02-26 19:40:23 +01:00
Bond_009
da9418c1b2
Useless copy
2019-02-12 21:06:47 +01:00
Bond_009
9dba930a85
Warn faster for slow requests
2019-02-12 21:06:47 +01:00
Bond_009
7722cb3ffa
Some Lists -> IEnumerable
2019-02-12 21:06:47 +01:00
Bond_009
3e6819c718
Don't clone lists
2019-02-12 21:06:47 +01:00
Bond_009
41fb1e5106
Tuple -> ValueTuple
2019-02-12 21:06:47 +01:00
Bond_009
64d5ec12e2
Use HashSets for increased perf
2019-02-12 21:06:47 +01:00
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
2019-01-31 21:11:13 -05:00
Claus Vium
8985fb8d58
Remove support for games as a media type
2019-01-31 19:04:47 +01:00
Bond_009
a709cbdc64
Fix more analyzer warnings
2019-01-27 12:12:44 +01:00
Claus Vium
64b6cfa3dc
Add Size to TypedBaseItem
2019-01-26 21:59:06 +01:00
Bond_009
d8d6c6f254
Address comments
2019-01-26 19:46:30 +01:00
Bond_009
2ffab720fb
Fix ctor
2019-01-26 18:36:38 +01:00
Bond_009
07f163a4c3
Minor improvements to db code
2019-01-26 18:21:41 +01:00
hawken
490e22c790
Add comments to SqliteItemRepository to help out whoever is next
2019-01-22 12:20:36 +00: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
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
2019-01-17 20:24:01 +01:00
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
2019-01-13 21:31:14 +01:00
Erwin de Haan
a5288115a8
Visual Studio Reformat: Emby.Server.Implementations Part A-Da
2019-01-13 20:20:16 +01:00
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
2019-01-11 12:50:36 +01:00
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.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4
remove trailing whitespace
2019-01-07 23:27:46 +00:00
Bond_009
ea4c914123
Fix exception logging
2018-12-30 22:44:39 +01:00
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
Bond_009
6e5d2aadaa
Remove custom ToArray extension
2018-12-28 16:48:26 +01:00
Andrew Rabert
a86b71899e
Add GPL modules
2018-12-27 18:27:57 -05:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
175c085d90
Stub out new filtering api
2017-12-03 17:15:21 -05:00
Luke Pulverenti
5207067811
fix live tv over dlna
2017-11-29 15:50:18 -05:00
Luke Pulverenti
0a0303ca64
normalize strm file contents
2017-11-01 15:50:16 -04:00
Luke Pulverenti
7e5036a587
update image aspect ratio detection
2017-10-22 02:22:43 -04:00
Luke Pulverenti
0bc3cdfab7
update suggestions
2017-10-13 15:21:43 -04:00
Luke Pulverenti
98f4da6d14
3.2.32.3
2017-09-23 21:09:51 -04:00
Luke Pulverenti
2d29d903be
fixes #2904 - disabling transcoding for a user is not working
2017-09-22 01:54:57 -04:00
Luke Pulverenti
9d69352fcf
fixes #2891 - New Season ... popups repeatedly
2017-09-20 02:29:38 -04:00
Luke Pulverenti
cdd79ec7e2
update owned items
2017-09-18 12:52:22 -04:00
Luke Pulverenti
106575e443
3.2.30.21
2017-09-15 02:32:20 -04:00
Luke Pulverenti
4a9550e584
update live tv images
2017-09-14 15:23:34 -04:00
Luke Pulverenti
fe10df6935
improve queries from scheduled tasks
2017-09-09 23:18:23 -04:00
Luke Pulverenti
adc22b5e81
rework epg storage
2017-09-08 12:13:58 -04:00
Luke Pulverenti
eb63e0d264
update image processor
2017-09-07 14:17:18 -04:00
Luke Pulverenti
39c4542cf6
update query objects
2017-09-04 15:28:22 -04:00
Luke Pulverenti
e287e3a50d
remove async when there's nothing to await
2017-08-26 20:32:33 -04:00
Luke Pulverenti
6bc2a79792
fix folder rip probe
2017-08-26 03:03:19 -04:00
Luke Pulverenti
e441e2f53d
update active recordings
2017-08-24 15:52:19 -04:00
Luke Pulverenti
3c1fe6ff83
add experimental warning for folder rip transcoding
2017-08-22 01:41:02 -04:00
Luke Pulverenti
1ad990ad72
update live tv data transfer
2017-08-19 15:43:35 -04:00
Luke Pulverenti
a57c887f7f
update components
2017-08-16 13:30:16 -04:00
Luke Pulverenti
d2b86edf05
update hdhr channel ids
2017-08-15 23:40:36 -04:00
Luke Pulverenti
9c5bfeddca
expand on hardware decoding options
2017-08-13 14:05:46 -04:00
Luke Pulverenti
6b28eee2db
rework episode queries
2017-08-12 22:09:07 -04:00
Luke Pulverenti
a7db7cd40c
reduce traffic from session player
2017-08-11 02:29:49 -04:00
Luke Pulverenti
e7425e6205
revert servicestack.text update
2017-08-10 14:01:31 -04:00
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
2017-08-09 15:56:38 -04:00
Luke Pulverenti
6d78824c8e
update components
2017-08-06 19:01:00 -04:00
Luke Pulverenti
db315c4e32
update media source methods
2017-08-05 15:02:33 -04:00
Luke Pulverenti
4e52c027bc
improve nextup queries
2017-08-01 12:45:57 -04:00
Luke Pulverenti
f7f0d3eba0
3.2.26.6
2017-07-28 12:16:06 -04:00
Luke Pulverenti
a46840534f
3.2.26.3
2017-07-25 14:32:03 -04:00
Luke Pulverenti
dc7a59c73a
ensure custom css is loaded last
2017-07-23 18:29:53 -04:00
Luke Pulverenti
dcaf8356e6
update inherited images
2017-06-29 15:10:58 -04:00
Luke Pulverenti
6b2445aa2c
add stream loop option for m3u
2017-06-24 14:32:22 -04:00
Luke Pulverenti
1663b258a7
update home sections
2017-06-13 02:33:29 -04:00
Luke Pulverenti
e91f569c15
update live tv startup
2017-06-03 03:36:32 -04:00
Luke Pulverenti
f07af448fa
update main projects
2017-05-24 15:12:55 -04:00
Luke Pulverenti
27c3acb2bf
3.2.17.11
2017-05-23 12:56:01 -04:00
Luke Pulverenti
2f93d4498b
update query fields
2017-05-23 12:43:24 -04:00
Luke Pulverenti
54cf0da758
update query fields
2017-05-22 00:54:02 -04:00
Luke Pulverenti
da77b05817
update data queries
2017-05-21 03:25:49 -04:00
Luke Pulverenti
47fc7c6aee
add GenreItems property
2017-05-18 17:05:47 -04:00
Luke Pulverenti
bc865ce698
update series sorting
2017-05-15 00:27:08 -04:00
Luke Pulverenti
8e7b6f6bca
update db CacheSize
2017-05-13 15:32:10 -04:00
Luke Pulverenti
1dab9a60f4
rename methods
2017-05-07 16:02:32 -04:00
Luke Pulverenti
d48496b843
add new search filters
2017-05-06 15:45:23 -04:00