Commit Graph

1034 Commits

Author SHA1 Message Date
Bond_009
93e535d3a1 Trying to make sense of the streaming code
Mostly small changes as I was looking through the code.

* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
2019-03-26 23:00:14 +01:00
Bond-009
decaffed86 Remove EnvironmentInfo
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
2019-03-07 22:41:41 +01:00
Claus Vium
0abe57e930 Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc 2019-03-07 20:16:51 +01:00
Bond-009
e4c5d51860
Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-03-07 19:04:50 +01:00
Claus Vium
394d23a73a Review comments 2019-03-06 19:14:03 +01:00
Claus Vium
78742b8e4c Switch to HeaderNames instead of hardcoded strings (and other header related fixes) 2019-03-05 19:20:28 +01:00
Xu Fasheng
4951ec9814 Fix rmvb video can not play under DLNA
Or will report "Could not find handler for /videos/xxx/stream.rm" error
in server side.

Test OK with Kodi and gupnp-tools.
2019-02-28 18:00:25 +08:00
Claus Vium
27e7e792b3 Replace some usage of QueryParamCollection 2019-02-27 14:23:39 +01:00
Claus Vium
4db31acff9 Begin removing System.Net sources 2019-02-26 22:11:21 +01:00
William Lees
db4a72df10 Reduce scope of changes 2019-02-12 09:23:51 +11:00
William Lees
250f03d2d9 add httpClient to more constructors 2019-02-12 00:42:33 +11:00
William Lees
d8cb34dbbc add httpClient to appropriate constructors 2019-02-12 00:24:00 +11:00
Claus Vium
0ef2b46106 Remove custom Threading 2019-02-05 16:47:50 +01:00
Bond-009
da2caa2902 await async functions 2019-02-03 10:44:07 +01:00
Bond-009
ab0e851db9 Cleanup streaming services 2019-02-03 10:44:07 +01:00
Bond-009
1ea219bf3f
Merge branch 'master' into culture 2019-01-30 16:57:15 +01:00
Erwin de Haan
b9a111432a Unwrapped all /(Write|Read)All(Text|Bytes)/ functions. 2019-01-28 22:10:50 +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
Andrew Rabert
3d01aa1ae4 Merge pull request #656 from hawken93/more_logging
Do some logging in MediaInfoService
2019-01-22 19:38:43 -05:00
hawken
07cba6cbcf Do some logging in MediaInfoService 2019-01-22 10:24:00 +00:00
Andrew Rabert
13f1ea2c19 Merge pull request #664 from jellyfin/revert-639-ffmpeg4.1
Revert "Fix segment_time_delta for ffmpeg 4.1"
2019-01-21 20:21:36 -05:00
Joshua M. Boniface
b2767eceff Revert "Fix segment_time_delta for ffmpeg 4.1" 2019-01-21 19:29:47 -05:00
Bond_009
73df5bdbe9 Fix NullRef 2019-01-21 23:50:47 +01:00
Andrew Rabert
a1fcf4ea0d Merge pull request #613 from MatMaul/mediaencoding-dev
Update MediaEncoding
2019-01-20 18:11:51 -05:00
Mathieu Velten
da16de48aa Revert back to 10e57ce8d21b4516733894075001819f3cd6db6b for MediaEncoding
Remove some duplicate code that were causing warnings
2019-01-20 22:50:09 +01:00
Bond_009
c27aff1c63 Fix segment_time_delta for ffmpeg 4.1 2019-01-20 21:56:50 +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
ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan
51ed47f4c4 EditorConfig reformat: Emby.XmlTv, Jellyfin.Server. MediaBrowser.Api, MediaBrowser.Common 2019-01-13 20:30:41 +01:00
Erwin de Haan
b67c1b933e Visual Studio Reformat: MediaBrowser.Api 2019-01-13 20:24:58 +01:00
Erwin de Haan
846456b41e Reformatted the files with notes. 2019-01-12 21:41:08 +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
Vasily
b27315bc08 Merge pull request #307 from drmrbg/fix-chromecast
Fix transcoding of AAC from 5.1 to stereo to support Chromecast
2019-01-06 14:11:09 +03:00
Claus Vium
efa3a234e9 Change null check on UserId to a Guid.Empty check 2019-01-03 07:58:14 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
0c1b9d3bff Rebase 2018-12-30 22:44:38 +01:00
drmrbg
6ffde49760 Attempt to fix Chromecast support 2018-12-28 23:18:06 -08:00
Andrew Rabert
a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
Mathieu Velten
1d7d52ff9e Port MediaEncoding and Api.Playback from 10e57ce8d21b4516733894075001819f3cd6db6b 2018-12-14 17:32:54 +01: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
d8e2887071 update container value 2017-08-04 16:29:34 -04:00
Luke Pulverenti
d50ffcbfb2 3.2.26.13 2017-08-03 12:26:01 -04:00
Luke Pulverenti
b89af7af43 fixes #2121 - background roku thumbnail generation (or maybe... any scheduled task?) should be "niced" 2017-08-01 15:43:39 -04:00
Luke Pulverenti
d500998d78 pass around encoding options 2017-07-22 21:56:31 -04:00
Luke Pulverenti
1326624d27 strip invalid xml chars 2017-07-19 15:53:47 -04:00
Luke Pulverenti
a0e7cdd2dc support all inclusive direct play profile 2017-07-14 11:57:44 -04:00
Luke Pulverenti
b8d4ef5fc6 add session reporting error handling 2017-07-12 14:54:46 -04:00
Luke Pulverenti
1c1aa7c2c5 3.2.23.1 2017-07-08 03:27:36 -04:00
Luke Pulverenti
6ea8e7868d add live stream params 2017-07-03 13:16:01 -04:00
Luke Pulverenti
15947c2a4c update opening of live streams 2017-07-02 14:58:56 -04:00
Luke Pulverenti
a759b09577 support max audio bit depth 2017-06-26 11:10:52 -04:00
Luke Pulverenti
a107ff0369 capture more transcoding info 2017-06-24 14:33:19 -04:00
Luke Pulverenti
42d0b070b4 update project files 2017-06-04 17:08:56 -04:00
Luke Pulverenti
820b4873fb move methods to base class 2017-06-04 16:28:27 -04:00
Luke Pulverenti
e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti
b9935a4643 update hls streams 2017-06-01 00:27:17 -04:00
Luke Pulverenti
5bfcbd4e9e update dlna profiles 2017-05-31 15:21:32 -04:00
Luke Pulverenti
3e15b28b18 add IsInterlaced param 2017-05-29 08:35:59 -04:00
Luke Pulverenti
a76bbcfebe 3.2.17.17 2017-05-27 07:42:25 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -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
5137e3abf6 update live streams 2017-05-20 12:42:47 -04:00
Luke Pulverenti
47fc7c6aee add GenreItems property 2017-05-18 17:05:47 -04:00
Luke Pulverenti
bcf28f3e9c update file options 2017-05-14 14:56:06 -04:00
Luke Pulverenti
0beb803aed add sample rate condition 2017-05-13 15:31:25 -04:00
Luke Pulverenti
92eeee0fc5 support additional encoding switches 2017-05-11 10:54:41 -04:00
Luke Pulverenti
198cb1bc9c update file responses 2017-05-09 14:51:26 -04:00
Luke Pulverenti
3a8b567f14 update file responses 2017-05-05 13:55:38 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
53024bd149 removed dead code 2017-05-04 03:01:35 -04:00
Luke Pulverenti
af4473e27f add error handling 2017-04-28 15:17:26 -04:00
Luke Pulverenti
0f07d97031 3.2.13.5 2017-04-27 14:24:04 -04:00
Luke Pulverenti
fc7ab45fb3 unify audio conversion 2017-04-27 14:13:16 -04:00
Luke Pulverenti
28e6f8cbd8 update hls authentication 2017-04-25 14:23:38 -04:00
Luke Pulverenti
463b41354f restore missing file 2017-04-22 15:32:24 -04:00
Luke Pulverenti
561028c907 update automated checkins 2017-04-17 15:01:16 -04:00
Luke Pulverenti
8eb4c034b4 update audio sync params 2017-04-15 15:45:33 -04:00
Luke Pulverenti
e56faea17a update vsync 2017-04-09 17:38:59 -04:00
Luke Pulverenti
8c487250e0 update segment responses 2017-04-09 15:49:18 -04:00
Luke Pulverenti
fd71890247 update segment handler 2017-04-06 16:07:07 -04:00
Luke Pulverenti
463cb3e354 update live stream management 2017-04-04 02:01:20 -04:00
Luke Pulverenti
3b06092f69 hls seek fixes 2017-04-04 01:20:50 -04:00
Luke Pulverenti
99417105a6 update subtitle embedding 2017-04-04 01:20:07 -04:00
Luke Pulverenti
8d1ca8ca27 improve direct play to transcoding fallback 2017-03-31 15:50:55 -04:00
Luke Pulverenti
06394d1a9f add break on non keyframes 2017-03-31 15:05:19 -04:00
Luke Pulverenti
04b6f23473 3.2.9.1 2017-03-29 02:26:48 -04:00
Luke Pulverenti
0cffe00aae handle -1 content length 2017-03-25 18:08:20 -04:00
Luke Pulverenti
c9be9b4141 update hls params 2017-03-24 11:03:49 -04:00
Luke Pulverenti
38e05b11e2 unify encodng param creation 2017-03-19 14:59:05 -04:00
Luke Pulverenti
59ac045c6b increase unification of param building 2017-03-19 02:10:11 -04:00
Luke Pulverenti
c9ee7633ca embed recording button into video player 2017-03-17 16:23:34 -04:00
Luke Pulverenti
ce1ed2bea7 update hls to support mpeg2video 2017-03-15 15:57:18 -04:00
Luke Pulverenti
fc2a5acfca move loopback util 2017-03-10 13:33:17 -05:00
Luke Pulverenti
0747752ef6 update library monitor logging 2017-03-08 14:05:33 -05:00
Luke Pulverenti
5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti
149d16a314 preserve manual recording overrides 2017-02-20 02:04:03 -05:00
Luke Pulverenti
0ee1a0d7bd fix mapping multiple tuner channels to same epg channel 2017-02-18 22:46:09 -05:00
Luke Pulverenti
36f8eb1149 add db startup error handling 2017-02-17 16:11:13 -05:00
Luke Pulverenti
9932db8400 fix direct stream of flv 2017-02-15 16:18:56 -05:00
Luke Pulverenti
9c86c8fe2b add library monitor error handling 2017-02-03 15:52:56 -05:00
Luke Pulverenti
5edaf12d40 move encoding methods to shared classes 2017-02-02 11:02:01 -05:00
Luke Pulverenti
30538f0731 improve video startup performance 2017-02-01 15:55:56 -05:00
Luke Pulverenti
ab026ab2de restore localized guids switch 2017-01-29 15:00:29 -05:00
Luke Pulverenti
8a252c8ad6 remove dead code 2017-01-26 23:15:05 -05:00
Luke Pulverenti
338d5ee993 remove specification of input decoders (for now) 2017-01-26 22:58:53 -05:00
Luke Pulverenti
2ef30a3ba8 update program titles 2017-01-21 15:27:07 -05:00
Luke Pulverenti
3674d6dfa3 update aac_latm input 2017-01-11 23:27:14 -05:00
Luke Pulverenti
ee084849a1 fix param 2017-01-07 15:49:35 -05:00
Luke Pulverenti
b578877ac4 update hls params 2017-01-07 03:09:24 -05:00
Luke Pulverenti
ce00a4f84c update hls params 2017-01-06 15:09:17 -05:00
Luke Pulverenti
3edf91ce56 update music artists 2017-01-05 23:38:03 -05:00
Luke Pulverenti
352074acd4 update osd 2017-01-04 01:49:00 -05:00
Luke Pulverenti
f6f52db3c2 update hls params 2017-01-03 01:31:18 -05:00
Luke Pulverenti
08cd8b381f fix last segment length 2017-01-03 00:59:29 -05:00
Luke Pulverenti
6066619138 handle bitrate overflow 2017-01-03 00:15:59 -05:00
Luke Pulverenti
c0ddeaab77 update maxrate 2017-01-02 18:15:16 -05:00
Luke Pulverenti
4f4c4b669b update hls params 2017-01-02 14:37:27 -05:00
Luke Pulverenti
dbba636290 handle unknown video stream 2017-01-01 15:47:54 -05:00
Luke Pulverenti
20e090e145 update hls params 2016-12-30 22:23:29 -05:00
Luke Pulverenti
b8f57f586b update stream specifiers 2016-12-30 00:55:46 -05:00
Luke Pulverenti
845895eae4 don't use tmp file 2016-12-29 14:27:14 -05:00
Luke Pulverenti
72887a1f6b specify input codecs 2016-12-29 14:26:45 -05:00
Luke Pulverenti
db9eb64e9f increase chances of stream copy 2016-12-28 03:16:45 -05:00
Luke Pulverenti
5372c0bf23 remove unused property 2016-12-28 01:08:18 -05:00
Luke Pulverenti
cb8751f985 fixes #2365 - External bitmap subtitles are loaded incorrectly 2016-12-26 16:22:45 -05:00
Luke Pulverenti
a5ffea5752 update video audio encoding 2016-12-26 14:47:37 -05:00
Luke Pulverenti
5833aedb15 update bitrate filter 2016-12-23 03:50:32 -05:00
Luke Pulverenti
3e8b54254f update video params 2016-12-22 11:47:53 -05:00
Luke Pulverenti
d588ed705f update subtitle burn in params 2016-12-20 00:23:22 -05:00
Luke Pulverenti
de9cd28a79 remove tvos dts hack no longer needed 2016-12-14 15:58:55 -05:00
Luke Pulverenti
afabbfa22b add ios dts workaround 2016-12-13 12:04:37 -05:00
Luke Pulverenti
2e26efc9af update hls 2016-12-11 00:27:32 -05:00
Luke Pulverenti
9ed3c31175 update recording params 2016-12-08 01:53:46 -05:00
Luke Pulverenti
c2da52914c add SeriesStudioInfo object 2016-12-08 00:58:38 -05:00
Luke Pulverenti
56b24da151 update response stream parsing 2016-11-28 00:38:41 -05:00
Luke Pulverenti
b485c4ca51 update hls params 2016-11-27 00:43:20 -05:00
Luke Pulverenti
f9702672f4 optimize series display 2016-11-25 12:36:00 -05:00
Luke Pulverenti
5bcc419857 comments 2016-11-17 02:05:54 -05:00
Luke Pulverenti
ca5afcb0d2 update live tv hls params 2016-11-16 15:52:17 -05:00
Luke Pulverenti
43c6971383 update isavc condition 2016-11-14 02:28:20 -05:00
Luke Pulverenti
3c55747cd6 fixes #2285 - [BUG] VAAPI Transcoding (Does not work with certain codecs) 2016-11-13 15:27:09 -05:00
Luke Pulverenti
c035f2baa1 update responses 2016-11-12 01:58:50 -05:00
Luke Pulverenti
abb7bb4fd2 resolve mono build failure 2016-11-10 16:06:00 -05:00
Luke Pulverenti
227dd0a42d rework result factory 2016-11-10 09:41:24 -05:00
Luke Pulverenti
a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti
13d8110ce2 make api project portable 2016-10-31 23:07:45 -04:00
Luke Pulverenti
b28857feea update nvenc 2016-10-31 22:23:00 -04:00
Luke Pulverenti
8030370cfa remove audio channel limit from transcoding conditions 2016-10-27 23:15:34 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
7e05f03f09 update live tv transcoding params 2016-10-22 15:21:50 -04:00
Luke Pulverenti
f8c603d5eb enable split by time 2016-10-21 14:42:44 -04:00
Luke Pulverenti
821d950234 allow specification of probing support 2016-10-20 14:02:42 -04:00
Luke Pulverenti
ccaf2f43a6 exclude mpeg4 with level -99 from vaapi 2016-10-20 02:36:34 -04:00
Luke Pulverenti
b0a75f086e re-enable split by time 2016-10-17 12:46:49 -04:00
Luke Pulverenti
ba613d5671 disable split by time 2016-10-17 12:18:12 -04:00
Luke Pulverenti
55f47d2120 update recording defaults 2016-10-16 13:11:32 -04:00
Luke Pulverenti
d5b5c8e1a5 update display of active recordings 2016-10-11 02:46:59 -04:00
Luke Pulverenti
5cd3276775 pass requested fields to data layer 2016-10-08 01:57:38 -04:00
Luke Pulverenti
a69ca6c55b avoid buffering http responses 2016-10-06 14:55:01 -04:00
Luke Pulverenti
b9cacd8076 update live streams 2016-10-05 03:15:29 -04:00
Luke Pulverenti
c4e137e6cf update timer listings 2016-10-04 01:15:39 -04:00
Luke Pulverenti
d3583c1460 update lists 2016-10-03 02:28:45 -04:00
Luke Pulverenti
cf4f5039bf update components 2016-10-02 02:13:04 -04:00
Luke Pulverenti
229172da50 update series recording editor 2016-09-30 14:43:59 -04:00
Luke Pulverenti
6a7fabc3bd add new guide settings 2016-09-30 02:50:06 -04:00
Luke Pulverenti
fdbcccc65f add infinite property 2016-09-29 22:21:24 -04:00
Luke Pulverenti
76c7bfcb67 update closing of streams 2016-09-29 08:55:49 -04:00
Luke Pulverenti
7932ee6d0a Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev 2016-09-25 14:41:11 -04:00
Luke Pulverenti
d596053ec7 rework live stream handling 2016-09-25 14:39:13 -04:00
Jan Friedrich
3d260bd13c vaapi: copy decoded frames to main memory only when necessary 2016-09-24 17:57:03 +02:00
Luke Pulverenti
b4bc403747 fix EnableThrottling override 2016-09-23 01:45:14 -04:00
Luke Pulverenti
d94598a75e update recording screens 2016-09-21 13:07:18 -04:00
Luke Pulverenti
97ea2ff43a update live tv hls 2016-09-20 15:42:53 -04:00
Luke Pulverenti
115b4b2c1b fix really high audio encoding bitrate 2016-09-20 11:22:53 -04:00
Luke Pulverenti
6798a8f92c always supply SeriesTimerId 2016-09-19 11:41:35 -04:00
Luke Pulverenti
05edb9f4bd update timeshifting 2016-09-18 16:38:38 -04:00
Jan Friedrich
1cf6cfb11c fix graphical subtitle transcoding with vaapi 2016-09-13 18:29:53 +02:00
Luke Pulverenti
3a4b0ea018 limit transcoding to level 41 2016-09-07 22:55:54 -04:00
Luke Pulverenti
d68a826833 update dialogs 2016-09-07 13:17:26 -04:00
Luke Pulverenti
d4324b7e89 add chapter image error handling 2016-09-05 16:07:36 -04:00
Luke Pulverenti
cc7b150b90 update recording layout 2016-09-05 01:39:14 -04:00
Luke Pulverenti
22ac006d4e fix missing params 2016-09-04 13:52:43 -04:00
Luke Pulverenti
9c7eef891b add configurable encoding params 2016-09-04 11:01:31 -04:00
Luke Pulverenti
4cafe5c493 add logging 2016-08-29 15:24:58 -04:00
Luke Pulverenti
92d8e9f564 remove test code 2016-08-27 15:35:19 -04:00
Luke Pulverenti
f5a6a418f5 update scaling with MaxHeight 2016-08-25 00:54:06 -04:00
Luke Pulverenti
e4851e1b25 reduce rescanning due to IsOffline 2016-08-24 02:13:15 -04:00
Luke Pulverenti
2e65c32ede add vaapi support 2016-08-23 12:31:16 -04:00
Luke Pulverenti
17e1c8c22b update sync settings 2016-08-23 01:08:07 -04:00
Luke Pulverenti
dea08933f1 update xmltv lib 2016-08-18 23:57:36 -04:00
Luke Pulverenti
23949f83e5 Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev 2016-08-18 20:13:47 -04:00