Commit Graph

274 Commits

Author SHA1 Message Date
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
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
Erwin de Haan
21cc38fcf4 Adjusted AssemblyCopyright attribute values. 2019-03-14 22:17:56 +01:00
Erwin de Haan
ee7bf86e0f Adjusted the Product Name so the User Agent is correct/better. 2019-03-14 22:11:47 +01:00
Bond-009
3ddbda9aca
Merge branch 'master' into xml 2019-03-12 16:37:18 +01:00
Bond_009
37ea50a572 Reduce the amount of exceptions thrown 2019-03-07 21:42:56 +01:00
Bond_009
ffd6dac03a Remove useless comments 2019-03-07 12:24:44 +01:00
Bond_009
a9302b8b53 Remove useless abstraction around XmlReaderSettings
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
2019-03-07 12:04:14 +01:00
Bond-009
594b271383
Merge pull request #1024 from jellyfin/release-10.2.z
Backmerge for 10.2.2
2019-03-01 07:49:07 +01:00
Claus Vium
2e9a3d45c2 Fix slow local image validation (#990)
* Check for local image directory existence to avoid tons of exceptions
2019-02-24 10:16:53 -05:00
Claus Vium
21f0a7e020 Make all class implementing dynamically loaded interfaces public 2019-02-15 23:05:14 +01:00
hawken
78324ff797 Remove commented file MediaBrowser.LocalMetadata.Savers.PersonXmlSaver 2019-02-01 06:51:53 +00: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
1ea219bf3f
Merge branch 'master' into culture 2019-01-30 16:57:15 +01:00
Erwin de Haan
450f246f95 Unwrapped GetFileNameWithoutExtension 2019-01-28 22:10:51 +01:00
Erwin de Haan
a430568082 Unwrapped OpenRead and CopyFile 2019-01-28 22:09:58 +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
Erwin de Haan
c5430f86b0 Fixed csproj and xml identation. 2019-01-19 15:01:16 +01:00
Erwin de Haan
38f96af079 Reformat JustAMan review pt2 changes
Refs #575
2019-01-17 20:24:39 +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
089ad8e7c2 Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt 2019-01-13 21:10:15 +01:00
Erwin de Haan
8f41ba4d3a Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Erwin de Haan
742bef5b5f EditorConfig reformat: Non-CS files. 2019-01-13 20:45:51 +01:00
Erwin de Haan
22879a603e Visual Studio Reformat: MediaBrowser.LocalMetadata 2019-01-13 20:25:45 +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
340a2c6512 Post GPL cleanup 2019-01-03 23:19:02 +01:00
Anthony Lavado
87812d1e7f Fix spacing to C#/Visual Studio standards
- This is a fix automatically applied by Visual Studio
2019-01-02 01:22:21 -05: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
Bond_009
b4edb24ec3 Change libraries from netcoreapp to netstandard
Ref: https://dotnetcoretutorials.com/2017/01/13/net-standard-vs-net-core-whats-difference/
2018-12-12 21:39:22 +01:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
9f46122d91 3.2.36.10 2017-11-15 16:33:04 -05:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -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
52aeb3c40b consolidate interfaces 2017-08-07 17:06:13 -04:00
Luke Pulverenti
6d78824c8e update components 2017-08-06 19:01:00 -04:00
Luke Pulverenti
2ed625d27e update themes 2017-07-31 01:16:22 -04:00
Luke Pulverenti
dc7a59c73a ensure custom css is loaded last 2017-07-23 18:29:53 -04:00
Luke Pulverenti
65e8cf0726 improve live tv images 2017-06-11 16:40:25 -04:00
Luke Pulverenti
e2ec83cbaa fix boxsets hanging up library scan 2017-06-09 15:24:04 -04:00
Luke Pulverenti
42d0b070b4 update project files 2017-06-04 17:08:56 -04:00
Luke Pulverenti
a39d7e888b move xml providers to plugin 2017-06-04 16:24:45 -04:00
Luke Pulverenti
e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
ae2c4a912a update saving of ForcedSortName 2017-05-19 12:36:43 -04:00
Luke Pulverenti
0beb803aed add sample rate condition 2017-05-13 15:31:25 -04:00
Luke Pulverenti
1991da85af update setting of file attributes 2017-05-12 00:54:19 -04:00
Luke Pulverenti
d48496b843 add new search filters 2017-05-06 15:45:23 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
f53472584e update environment detection 2017-04-29 02:22:33 -04:00
Luke Pulverenti
372d40598d remove qsv hevc decoding for now 2017-04-01 15:49:36 -04:00
Luke Pulverenti
cb5c9333c5 ignore 0-byte image files 2017-03-29 15:16:18 -04:00
Luke Pulverenti
04b6f23473 3.2.9.1 2017-03-29 02:26:48 -04:00
Luke Pulverenti
8b77a89373 change people to prefer folder.jpg 2017-03-05 10:38:17 -05:00
Luke Pulverenti
5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti
6091e00e18 clean related files when deleting items 2017-02-18 03:32:17 -05:00
Luke Pulverenti
3ff216f05a update ShortOverview 2017-01-26 15:27:12 -05:00
Luke Pulverenti
21816ff63e trim excess logging 2016-12-08 00:56:46 -05:00
Luke Pulverenti
7ed6c67db0 update xml parsing 2016-12-03 18:57:34 -05:00
Luke Pulverenti
83ad945015 update xml readers 2016-12-03 16:46:06 -05:00
Luke Pulverenti
5655787c1a update portable projects 2016-11-11 12:33:10 -05:00
Luke Pulverenti
48a5fa17b0 update file saving 2016-11-09 12:24:57 -05:00
Luke Pulverenti
8f64a5555b update xml parsing 2016-11-02 13:29:06 -04:00
Luke Pulverenti
eefab227cc update xml parsing 2016-11-02 13:08:20 -04:00
Luke Pulverenti
86de351e23 update BaseXmlSaver 2016-11-01 11:30:15 -04:00
Luke Pulverenti
b0ff307d0c remove json lock files 2016-10-31 22:21:38 -04:00
Luke Pulverenti
c352c4ac40 update BaseXmlSaver 2016-10-31 15:09:18 -04:00
Luke Pulverenti
3d4d2212f3 update BaseXmlSaver 2016-10-31 13:53:06 -04:00
Luke Pulverenti
3bf72b71b3 consolidate internal interfaces 2016-10-31 00:28:23 -04:00
Luke Pulverenti
0579f245e4 update theme 2016-10-30 14:42:45 -04:00
Luke Pulverenti
be75d1f3e4 update BaseXmlSaver 2016-10-30 03:48:34 -04:00
Luke Pulverenti
3094cd7ff3 update project targets 2016-10-30 03:11:37 -04:00
Luke Pulverenti
f676ea6315 make local metadata project portable 2016-10-30 03:02:23 -04:00
Luke Pulverenti
da20e8dcd2 continue with .net core targeting 2016-10-29 16:02:21 -04:00
Luke Pulverenti
9c6da95d6a update xml saver 2016-10-28 15:56:54 -04:00
Luke Pulverenti
41dfa26501 update FolderXmlSaver 2016-10-28 14:45:56 -04:00
Luke Pulverenti
823e558ade stub out BaseXmlSaver.cs 2016-10-27 01:11:31 -04:00
Luke Pulverenti
049dca644d add more to .net core solution 2016-10-25 23:59:51 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
c7f559f8ce make model project portable 2016-10-21 22:08:34 -04:00
Luke Pulverenti
bba0c564c7 remove dead interface objects 2016-10-17 12:35:29 -04:00
Luke Pulverenti
daaae69df5 add playback of in-progress recordings 2016-10-09 03:18:43 -04:00
Luke Pulverenti
5cd3276775 pass requested fields to data layer 2016-10-08 01:57:38 -04:00
Luke Pulverenti
50e6686987 update live stream management 2016-10-07 11:08:13 -04:00
Luke Pulverenti
2d7c82d0dd add loopback handler 2016-09-03 13:16:36 -04:00
softworkz
bd4ffa898e Programmatic provider id handling for xml and nfo persistence 2016-09-01 05:42:37 +02:00
softworkz
ac4023ed47 Core server preparation for new "TV Maze Provider Plugin" 2016-08-23 03:33:22 +02:00
softworkz
23da61281e Reduced compiler warnings. No functional changes (except MediaEncoder.cs and AutomaticRestartEntryPoint.cs) 2016-08-05 23:15:48 +02:00
Sven Van den brande
219cba7506 Removed redundant Collection Initializers
Removed Using directives that are not required
2016-07-29 21:18:03 +02:00
Luke Pulverenti
ae168bc563 update tag saving 2016-06-02 13:43:29 -04:00
Luke Pulverenti
977f62336b update storage of genres, studios, tags, & keywords 2016-05-31 14:07:54 -04:00
Luke Pulverenti
87091b6196 update providers 2016-04-27 21:59:09 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
55bbc5d12a update components 2016-03-22 23:03:35 -04:00
Luke Pulverenti
d683f30619 update music user data key 2016-03-13 21:34:24 -04:00
Luke Pulverenti
cd144bc6f5 update photo resolver 2016-02-25 10:12:22 -05:00
Luke Pulverenti
3212338802 update photo album images 2016-02-16 15:14:46 -05:00
Luke Pulverenti
1a2867ea55 support tagging 3d as mvc 2016-02-11 14:11:28 -05:00
Luke Pulverenti
78a90a4884 save photo album images as folder.ext 2016-02-05 21:13:36 -05:00
Luke Pulverenti
981c405dc2 sync image file names 2016-01-21 21:59:07 -05:00
Luke Pulverenti
21ef73219c update cdart order 2016-01-21 21:29:00 -05:00
Luke Pulverenti
0cd008bcb9 update commonio 2016-01-16 22:24:24 -05:00
Luke
1051745fd1 Merge pull request #1265 from MediaBrowser/master
update use of FileAttributes
2015-11-12 15:54:31 -05:00
Luke Pulverenti
c6ce834216 update use of FileAttributes 2015-11-12 15:51:39 -05:00
Luke Pulverenti
fbf8d27637 update channel db 2015-11-02 12:25:01 -05:00
Luke Pulverenti
8ea02ee020 update dynamic images 2015-10-30 12:45:22 -04:00
Luke Pulverenti
47b428b36c update commonio 2015-10-05 21:27:49 -04:00
Luke Pulverenti
1aaf09112b remove nuget restores 2015-10-04 02:04:23 -04:00
Luke Pulverenti
a08d5e695a remove nuget targets 2015-10-04 01:58:18 -04:00
Luke Pulverenti
21352d5248 Complete rework of IFileSystem 2015-10-04 00:58:07 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e begin file system rework 2015-10-03 23:38:46 -04:00
Luke Pulverenti
35fc099114 removed dead db fields 2015-09-29 13:35:23 -04:00
Luke Pulverenti
8cf45a3e4a add more methods to IFileSystem 2015-09-13 19:07:54 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke Pulverenti
47b1a4cafd update image processing 2015-08-02 15:08:55 -04:00
Luke Pulverenti
6d13cec38e update metadata parsing 2015-08-02 13:31:08 -04:00
Luke Pulverenti
b1be09242c update people saving 2015-06-28 21:10:45 -04:00
Luke Pulverenti
8bb10cb12f start people update 2015-06-20 23:35:22 -04:00
Luke Pulverenti
cd759e215e 3.0.5641.4 2015-06-15 00:17:12 -04:00
Luke Pulverenti
25736b259a normalize tv recording objects 2015-05-31 14:22:51 -04:00
Luke Pulverenti
d2949d6e03 support video_ts.nfo 2015-05-15 11:46:20 -04:00
Luke Pulverenti
6562824a84 fixed for new collection creation 2015-04-26 00:39:40 -04:00
Luke Pulverenti
0abe0685f5 rework image providers 2015-04-10 21:42:37 -04:00
Luke Pulverenti
ddbbe9ce4e post release housecleaning 2015-04-01 00:23:34 -04:00
Luke Pulverenti
7773862fac fix subtitle syncing 2015-03-27 00:17:04 -04:00
Luke Pulverenti
7fdc6e7e91 support storage of original title 2015-03-09 21:30:20 -04:00
Luke Pulverenti
52a2ff5a2e updated image magick sharp 2015-03-04 21:49:08 -05:00
Luke Pulverenti
d451386f5d sync updates 2015-02-18 23:37:44 -05:00
Luke Pulverenti
18ff8aba74 fix language settings inheritance 2015-02-14 22:36:07 -05:00
Luke Pulverenti
628c6cbc28 make library scan a bit more hands off 2015-01-17 13:15:09 -05:00
Luke Pulverenti
f45e166604 update nlog 2015-01-12 00:07:19 -05:00
Luke Pulverenti
51b5e379d5 add options for media in archives 2015-01-10 00:53:35 -05:00
Luke Pulverenti
baf5e0c18b remove generic video excludes 2015-01-08 22:27:44 -05:00
Luke Pulverenti
e27040f61b don't save metadata when video content type is unset 2015-01-04 00:55:34 -05:00
Luke Pulverenti
c93740461e support audio sync transcoding 2015-01-02 00:36:27 -05:00
Luke Pulverenti
5278959ede sync fixes 2014-12-28 01:21:39 -05:00
Luke Pulverenti
0ec3d217e7 sync updates 2014-12-26 12:45:06 -05:00
Luke Pulverenti
36577ac42e sync updates 2014-12-24 01:28:40 -05:00
Luke Pulverenti
42b1416602 begin work on daily episodes 2014-12-22 22:58:14 -05:00