Commit Graph

114 Commits

Author SHA1 Message Date
Bond-009
8b1bd7ac6b Use a dictionary to look up mimetypes 2019-07-28 20:20:03 +02:00
Bond_009
ddd1a282ea Remove IpAddressInfo and IpEndPointInfo classes 2019-07-25 00:15:06 +02:00
Bond-009
e64aaebbac Improvements around streams
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
2019-03-13 21:11:01 +01:00
Xu Fasheng
cbd0e71c07 Send DLNA devices message to only the matched interface
This will be the right way for multiple interfaces, or the client will
receive all devices message with different IP addresses and could not
detect which one could access.

And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old
behaviour if this commit missed something.
2019-02-22 20:18:34 +08:00
Bond_009
a709cbdc64 Fix more analyzer warnings 2019-01-27 12:12:44 +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
8f41ba4d3a Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Erwin de Haan
382e8699a2 EditorConfig reformat: MediaBrowser.Model 2019-01-13 20:31:15 +01:00
Erwin de Haan
1a4b271314 Visual Studio Reformat: MediaBrowser.Model 2019-01-13 20:26:15 +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
hawken
ba1794f64b Remove tabs and trailing whitespace 2019-01-07 23:24:34 +00:00
Joshua M. Boniface
4ab82f7436 Merge pull request #488 from sparky8251/fix-mimetype-formatting
Fix odd formatting in MimeType.cs
2019-01-07 11:25:43 -05:00
Sparky
ae4a82570c Fixed odd formatting in MimeType.CS
Think there might have been a mismatch between tabs and spaces. All spaces now.
2019-01-07 11:23:11 -05:00
Sparky
1f5b9a04fb Open log files in browser again
Fixes #485

Looks like we regressed and now only the .txt logs would open in the browser when clicked. 

Added in MimeType handler for .log files. Problem solved.
2019-01-07 11:19:59 -05: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
adc22b5e81 rework epg storage 2017-09-08 12:13:58 -04:00
Luke Pulverenti
49b799adbe 3.2.30.8 2017-09-05 15:49:02 -04:00
Luke Pulverenti
78165d78a2 update SocketHttpListener 2017-09-02 22:42:13 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
d8e2887071 update container value 2017-08-04 16:29:34 -04:00
Luke Pulverenti
f57dfc6a61 specify tiff mime types 2017-06-24 14:31:13 -04:00
Luke Pulverenti
ccb5b14d77 update series resolver 2017-06-15 13:22:05 -04:00
Luke Pulverenti
f96e5c84a2 update live stream buffers 2017-06-01 02:25:07 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
28988b056c update stream copying 2017-05-25 09:00:14 -04:00
Luke Pulverenti
f07af448fa update main projects 2017-05-24 15:12:55 -04:00
Luke Pulverenti
f641c501a7 improve cancellation support of auto-organize 2017-03-29 15:16:43 -04:00
Luke Pulverenti
caaa906604 update socket methods 2017-03-26 15:00:35 -04:00
Luke Pulverenti
b38b7a7062 rework filestream 2017-03-13 00:08:23 -04:00
Luke Pulverenti
a660aa001e re-organize file streaming 2017-03-12 15:27:26 -04:00
Luke Pulverenti
1f63a30ee7 update mjpeg stream detection 2017-03-07 14:05:44 -05:00
Luke Pulverenti
7cbc76af27 3.2.5.4 2017-03-03 00:53:21 -05:00
Luke Pulverenti
9776ca09db update socket interfaces 2017-03-02 15:50:09 -05:00
Luke Pulverenti
b91f1e4d16 support dummied up image a/r's 2017-02-10 15:06:52 -05:00
Luke Pulverenti
d218dbd2a1 add cancellation to socket methods 2017-02-05 15:44:08 -05:00
Luke Pulverenti
0130209cdc improve ipv6 error handling 2016-12-07 15:02:34 -05:00
Luke Pulverenti
8c8f2aaba5 first pass at binding to multiple network addresses 2016-12-04 16:55:02 -05:00
Luke Pulverenti
e8c70da2b6 fix ipv6 2016-11-08 14:50:39 -05:00
Luke Pulverenti
a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti
72aaecb279 move classes to new server project 2016-11-04 14:56:47 -04:00
Luke Pulverenti
6d250c4050 make dlna project portable 2016-11-04 04:31:05 -04:00
Luke Pulverenti
675b643115 change controller project targeting 2016-10-25 21:57:58 -04:00
Luke Pulverenti
b7c6ffe013 handle x-png 2016-10-19 02:29:00 -04:00
Luke Pulverenti
e03ead01ae update opus mime type 2016-08-24 11:48:23 -04:00
Luke Pulverenti
18a6cd629c add EndPointInfo class 2016-01-09 16:27:30 -05:00
Luke
f9804ce6d1 fixes #1290 - upgrade audio formats 2015-12-24 13:43:45 -05:00
Luke Pulverenti
4492dcc592 update merge 2015-09-20 13:34:05 -04:00
Luke Pulverenti
25c37e40ad update merge 2015-09-20 13:28:32 -04:00
Luke Pulverenti
baf2f80154 update camera upload 2015-09-10 14:28:22 -04:00
Luke Pulverenti
25736b259a normalize tv recording objects 2015-05-31 14:22:51 -04:00
Luke Pulverenti
2b179ecfe2 update image magick sharp 2015-03-04 12:22:55 -05:00
Luke Pulverenti
8a9f16ff6a enable user device access 2014-12-29 15:18:48 -05:00
Luke Pulverenti
726cf9697a sync updates 2014-12-28 12:59:40 -05:00
Luke Pulverenti
0ec3d217e7 sync updates 2014-12-26 12:45:06 -05:00
Luke Pulverenti
62521eabc2 update to latest js api client 2013-03-26 00:33:47 -04:00
Luke Pulverenti
a6c9fdd0f2 Moved some web socket classes to the model 2013-03-25 23:01:47 -04:00
LukePulverenti
465f0cc1e2 moved some network code to the networking assembly 2013-02-23 12:54:51 -05:00
LukePulverenti
767cdc1f6f Pushing missing changes 2013-02-20 20:33:05 -05:00