Commit Graph

654 Commits

Author SHA1 Message Date
crobibero
dd078e7b82 use named client 2020-08-31 11:05:21 -06:00
crobibero
5d528e202f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:10:15 -06:00
Bond-009
1b1de4026d
Merge pull request #4028 from crobibero/cache-duration
Properly verify cache duration
2020-08-31 16:04:04 +02:00
crobibero
bd66fd25df Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-31 08:00:05 -06:00
Bond-009
1f4deccfa4
Merge pull request #4027 from cvium/fix_update_libraryoptions
Fix model binding in UpdateLibraryOptions
2020-08-31 15:44:47 +02:00
crobibero
db99903c35 Properly verify cache duration 2020-08-31 07:24:23 -06:00
Claus Vium
7103e764a4 Fix model binding in UpdateLibraryOptions 2020-08-31 14:47:57 +02:00
Bond-009
32f8b46040 Fix incorrect usage of ArrayPool 2020-08-31 11:09:41 +02:00
Bond-009
9a2f2aac22
Merge pull request #4018 from barronpm/library-entity-cleanup
Library Entity Cleanup
2020-08-31 11:00:28 +02:00
Patrick Barron
414bedbde4 Move library entities to folder. 2020-08-30 18:51:28 -04:00
PrplHaz4
34219e2831
Fix permissions for individual channel plugins #2858
Without this change, the only Channel (plugin, not Live TV) permission that works is "Enable All Channels".

Fixes #2858
2020-08-27 10:12:32 -04:00
Bond-009
4f6c98b325
Merge pull request #3984 from crobibero/json-prerelease
Use Prerelease System.Text.Json
2020-08-26 18:59:46 +02:00
Matt Montgomery
2974a0248a Merge remote-tracking branch 'upstream/master' into quickconnect 2020-08-26 10:29:37 -05:00
crobibero
582c016d3b bump to preview8 and remove extra references 2020-08-25 21:19:55 -06:00
Joshua M. Boniface
cf6ef9958d
Merge pull request #3910 from barronpm/event-rewrite-1
Event Rewrite (Part 1)
2020-08-25 16:59:35 -04:00
crobibero
5f64ab02a0 bump System.Text.Json 2020-08-25 07:33:58 -06:00
Patrick Barron
fa8892fde4 Make LibraryController.GetDownload async 2020-08-24 20:27:10 -04:00
Patrick Barron
9fa4fff15d Merge branch 'master' into event-rewrite-1
# Conflicts:
#	Emby.Dlna/Emby.Dlna.csproj
#	Emby.Dlna/Eventing/DlnaEventManager.cs
#	Emby.Dlna/Service/BaseService.cs
#	Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
#	MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
2020-08-24 20:04:13 -04:00
nyanmisaka
d7caf88df6 expose max_muxing_queue_size to user 2020-08-25 02:20:46 +08:00
nyanmisaka
6462ca0036 increase the max muxing queue size for ffmpeg 2020-08-24 22:54:14 +08:00
crobibero
9626101c9f Merge remote-tracking branch 'upstream/master' into 3.1.7 2020-08-24 07:39:16 -06:00
crobibero
cb44f16068 Merge remote-tracking branch 'upstream/master' into output-formatters 2020-08-23 07:53:33 -06:00
Bond-009
92c491397e
Merge pull request #3941 from crobibero/no-more-form
Conver all remaining form request to body
2020-08-22 13:06:12 +02:00
Joshua M. Boniface
3e65cae70e
Merge pull request #3955 from Bond-009/async3
Make some methods async
2020-08-21 18:03:07 -04:00
Bond_009
4916bfb024 Address comment 2020-08-21 22:59:47 +02:00
Bond_009
2b832de289 Fix build 2020-08-21 22:19:16 +02:00
Bond_009
6329a36a27 Make method async 2020-08-21 22:06:06 +02:00
Bond_009
119f64f5e7 Make some methods async 2020-08-21 22:01:19 +02:00
crobibero
4a64819277 Fix dlna produces type 2020-08-21 11:10:29 -06:00
crobibero
07e7125d07 Fix dlna play to 2020-08-21 07:24:44 -06:00
Bond_009
170e434f92 Fix all warnings in Emby.Dlna 2020-08-20 21:04:57 +02:00
crobibero
2ca8d31b20 clean up output formatters 2020-08-20 11:17:27 -06:00
crobibero
d63f4bce5d Conver all remaining form request to body 2020-08-20 07:53:53 -06:00
Bond-009
250e351613
Merge pull request #3938 from crobibero/fix-audio-routes
Fix conflicting audio routes
2020-08-20 10:52:28 +02:00
Patrick Barron
98ed90c4a2 Merge branch 'master' into event-rewrite-1 2020-08-19 18:11:17 -04:00
crobibero
11e3cdb3cb Fix conflicting audio routes 2020-08-19 15:08:28 -06:00
Bond_009
2b400c99ef Fix warnings 2020-08-19 17:50:50 +02:00
Anthony Lavado
634ee2d1e9
Merge pull request #3861 from crobibero/fixes
API Fixes
2020-08-19 08:17:03 -04:00
Cody Robibero
3a722740ce
Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-19 04:53:25 -06:00
crobibero
50a9c8c8a7 resolve merge conflicts 2020-08-18 20:22:15 -06:00
crobibero
b90e240af6 rename clientCapabilities 2020-08-18 07:29:39 -06:00
crobibero
287baa4965 remove unused directives 2020-08-18 07:29:12 -06:00
Matt Montgomery
1ff4f8e6c6 Get userId from claim 2020-08-17 18:55:16 -05:00
Matt Montgomery
5f1a863241 Apply suggestions from code review 2020-08-17 17:13:11 -05:00
crobibero
4ec1341c8f Fix conflicts 2020-08-17 15:54:51 -06:00
crobibero
29d8e38161 Merge remote-tracking branch 'upstream/master' into fixes 2020-08-17 15:54:40 -06:00
crobibero
be67528958 add disposal docs 2020-08-17 15:03:45 -06:00
crobibero
3a91047413 P E R F O R M A N C E 2020-08-17 14:59:00 -06:00
crobibero
9c6b4f033a revert lastordefault 2020-08-17 14:55:14 -06:00
crobibero
898ccab222 oop 2020-08-17 13:41:16 -06:00
crobibero
767c73e5c1 fix usings 2020-08-17 13:22:42 -06:00
crobibero
1325815182 Remove IHttpClient from Providers 2020-08-17 13:10:02 -06:00
Bond-009
d0f49b3994
Merge pull request #3895 from crobibero/httpclient
Remove IHttpClient from Jellyfin.Api
2020-08-17 10:47:45 +02:00
Matt Montgomery
c49a357f85 Fix compile errors 2020-08-16 17:45:53 -05:00
ConfusedPolarBear
eaa5711534
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-08-16 17:21:08 -05:00
Matt Montgomery
035d29fb35 Migrate to new API standard 2020-08-16 14:45:39 -05:00
crobibero
7861c72754 Revert "Fix audio stream routes"
This reverts commit 0c50015400.
2020-08-16 11:47:26 -06:00
crobibero
0c50015400 Fix audio stream routes 2020-08-16 11:34:41 -06:00
crobibero
8da646e12b Dispose httpclient response 2020-08-16 10:57:01 -06:00
crobibero
3c395814fd fix dlna routes again 2020-08-16 10:53:57 -06:00
crobibero
8ddcd12348 Remove all using for HttpClient 2020-08-16 09:47:08 -06:00
crobibero
7fe372749e fix dlna server routes 2020-08-16 08:32:13 -06:00
crobibero
5e6cdc8842 Install specific plugin version if requested 2020-08-14 08:54:21 -06:00
Patrick Barron
ca1f15af19 Move GenericEventArgs to Jellyfin.Data.Events 2020-08-13 20:52:55 -04:00
crobibero
97fd11c9a4 Remove httpclient from Jellyfin.Api 2020-08-13 15:50:19 -06:00
Patrick Barron
da9bcc5fb3 Rename IEventManager to IDlnaEventManager 2020-08-13 15:47:31 -04:00
Anthony Lavado
5480674c4f
Merge pull request #3838 from Bond-009/memorystream
MemoryStream optimizations
2020-08-13 13:01:43 -04:00
crobibero
6709645ec9 bump deps 2020-08-12 15:52:29 -06:00
crobibero
687b008d59 fix livetv id check 2020-08-12 14:41:10 -06:00
crobibero
ae1593b590 fix route method 2020-08-12 13:14:42 -06:00
crobibero
afeba4dae7 simplify datetime parsing 2020-08-12 13:07:11 -06:00
crobibero
09bcc38feb Merge remote-tracking branch 'upstream/master' into fixes 2020-08-12 12:47:25 -06:00
crobibero
eb7ab31b5a add support for GetActivityLogs 2020-08-12 12:43:57 -06:00
crobibero
bb08e25f86 userid isn't actually required 2020-08-12 12:43:43 -06:00
Bond-009
b307e0fe09
Merge pull request #3872 from crobibero/user-policy
Fix setting user policy
2020-08-11 10:12:07 +02:00
Mister Rajoy
c7b5bc55a1 Fix MergeVersions() 2020-08-10 20:33:11 +02:00
crobibero
3ba1f4c901 add proper converter for legacy datetime 2020-08-10 12:02:14 -06:00
crobibero
b0532c549a add proper converter for legacy datetime 2020-08-10 11:58:06 -06:00
crobibero
4b87bbf53d fix route 2020-08-10 11:38:02 -06:00
crobibero
2f853b902a fix datetime parsing 2020-08-10 11:33:42 -06:00
crobibero
2e3ef18a11 fix route typo 2020-08-10 10:09:27 -06:00
crobibero
314728195c Fix setting user policy 2020-08-10 09:31:01 -06:00
crobibero
c5e9cf15f6 Use proper IHttpContextAccessor 2020-08-10 07:53:32 -06:00
dependabot[bot]
a6e6f378e1
Bump Swashbuckle.AspNetCore.ReDoc from 5.3.3 to 5.5.1
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 5.3.3 to 5.5.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.3.3...v5.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 12:01:45 +00:00
crobibero
460c3dd351 convert dependent controller functions to di helper class 2020-08-09 17:20:14 -06:00
crobibero
7b864e3a3c parameter isn't actually required 2020-08-09 14:12:39 -06:00
crobibero
e7f55c5110 Fix Requirement assigned to Handler 2020-08-09 13:51:25 -06:00
Bond-009
e9c9fc4369
Merge pull request #3858 from cvium/fix_wizard_redirect
Fix startup wizard redirect
2020-08-09 20:02:15 +02:00
cvium
fc01bdb91d Use GetEncodedPathAndQuery since ASP.NET Request.Path does not contain query parameters 2020-08-09 19:26:06 +02:00
Andreas B
542185fba4 Avoid including stray commas in HLS codecs field 2020-08-09 17:00:14 +02:00
Bond_009
371a09c60b MemoryStream optimizations 2020-08-09 14:08:55 +02:00
Mister Rajoy
3ea4d9303e Fix Split versions 2020-08-08 21:21:32 +02:00
Patrick Barron
229a5d9e0b Make DisplayPreferencesManager scoped 2020-08-08 13:39:49 -04:00
crobibero
e735ab6cc0 Remove extra Required 2020-08-07 06:39:20 -06:00
crobibero
05f9473544 Apply fixes from review 2020-08-06 17:59:48 -06:00
crobibero
fffa94fc33 Apply fixes from review 2020-08-06 08:17:45 -06:00
David
4ea412f2ab Fix remote images 2020-08-05 21:57:01 +02:00
David
8bb9909660 Fix photo viewer 2020-08-05 21:19:38 +02:00
crobibero
393666efcf fix merge conflicts 2020-08-04 20:30:45 -06:00
crobibero
858aecd409 Fix all route for base url support 2020-08-04 12:48:53 -06:00
crobibero
e1226f12f2 fix attribute ordering 2020-08-04 08:30:03 -06:00
crobibero
8f6c2e7679 Remove leading slash from route attributes 2020-08-04 08:27:54 -06:00
crobibero
9e00aa3014 fix openapi validation errors 2020-08-03 14:38:51 -06:00
crobibero
1535f363b2 Fix some request parameters 2020-08-03 13:33:43 -06:00
crobibero
8bb510a9f6 Specify Logger type 2020-08-03 13:16:29 -06:00
crobibero
0f32beb75f Properly use DI to reference other controllers. 2020-08-03 13:15:21 -06:00
crobibero
cfce1dba08 move WebSocket listeners to Jellyfin.Api 2020-08-03 13:09:32 -06:00
crobibero
dbeeb7cf4a fix merge conflicts 2020-08-03 12:01:24 -06:00
crobibero
f915c3e5d9 Merge remote-tracking branch 'upstream/master' into api-migration 2020-08-03 11:24:13 -06:00
Patrick Barron
6a42a48c09
Merge pull request #3528 from Ullmie02/api-entrypoint
Make TranscodingJobHelper an IDisposable (api-migration)
2020-08-03 17:11:24 +00:00
Patrick Barron
cd515bdbfd
Merge pull request #3783 from Ullmie02/api-universal-audio
Move UniversalAudioService to Jellyfin.Api
2020-08-03 17:09:18 +00:00
Patrick Barron
3a0bccb941
Merge pull request #2957 from crobibero/api-dlna-server
Migrate DlnaServerController to Jellyfin.Api
2020-08-03 17:00:46 +00:00
Patrick Barron
97c95d3a6b
Merge pull request #2956 from crobibero/api-dlna
Move Emby.Dlna DlnaService.cs to Jellyfin.Api
2020-08-03 16:59:44 +00:00
David
d2dd847b60 Remove duplicate code 2020-08-01 19:25:53 +02:00
David
a7eee4f4e5 Remove duplicate code 2020-08-01 19:25:20 +02:00
David
8e05b22645 Use correct MediaInfo method 2020-08-01 19:03:11 +02:00
David
24c5016f48 Fix parameters 2020-08-01 18:22:40 +02:00
David
74b3416963 Merge remote-tracking branch 'jellyfin/api-migration' into api-universal-audio 2020-08-01 18:07:03 +02:00
David
91f2a7d9a8 Revert changes 2020-08-01 18:04:46 +02:00
crobibero
52ba54a71b PERFORMANCE 2020-08-01 08:58:18 -06:00
David
3f0c0e2d0d Implement IDisposable 2020-08-01 16:21:48 +02:00
David
b717ecd5e0 Move methods to the right class 2020-08-01 16:12:22 +02:00
David
9be20cfaa6 Add jellyfin api entry point 2020-08-01 16:05:26 +02:00
Cody Robibero
afe8208746
Update Jellyfin.Api/Controllers/DynamicHlsController.cs
Co-authored-by: David <daullmer@gmail.com>
2020-08-01 07:52:31 -06:00
David
d3dc9da5d6 Prepare DynamicHlsController merge 2020-08-01 15:10:57 +02:00
David
a3dcca3826 Move UniversalAudioService to Jellyfin.Api 2020-08-01 14:40:02 +02:00
crobibero
f645e2f884 Move DynamicHlsService to Jellyfin.Api 2020-07-31 15:09:17 -06:00
Patrick Barron
2cb6eb984b
Merge pull request #3764 from Ullmie02/api-videohls
Move VideoHlsService to Jellyfin.Api
2020-07-31 18:25:54 +00:00
crobibero
4bb1e1c292 Fix docs, params, return values 2020-07-31 11:01:30 -06:00
crobibero
3d5f89ebf9 Merge remote-tracking branch 'upstream/api-migration' into api-dlna-server 2020-07-31 10:17:51 -06:00
crobibero
32c0ac96a1 fix route params 2020-07-31 10:17:01 -06:00
crobibero
6051df0c47 Fix response codes, documentation, and auth 2020-07-31 10:14:09 -06:00
crobibero
f516cf9c4c Merge remote-tracking branch 'upstream/api-migration' into api-dlna 2020-07-31 10:05:27 -06:00
David
d6c428e998
Update Jellyfin.Api/Controllers/VideoHlsController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-31 17:26:14 +02:00
David
c994060794 Remove response code doc because it got added elsewhere 2020-07-31 17:23:52 +02:00
crobibero
c97372a133 Add missing docs and remove duplicate function 2020-07-31 09:21:33 -06:00
crobibero
9171e904de Merge remote-tracking branch 'upstream/api-migration' into api-video 2020-07-31 09:19:02 -06:00
David
8a016e31f7 Move VideoHlsService to Jellyfin.Api 2020-07-31 17:09:10 +02:00
crobibero
f543a17d1b Apply review fixes 2020-07-30 06:29:06 -06:00
crobibero
bb1fec9da1 remove extra using 2020-07-29 16:43:53 -06:00
crobibero
df5d43132c Fix PlaybackInfo endpoint 2020-07-29 16:42:01 -06:00
crobibero
5c4b342323 fix boolean 2020-07-29 14:21:32 -06:00
crobibero
d0ce239e3e Use ArrayPool and reduce duplicate code 2020-07-29 12:12:54 -06:00
crobibero
03f15fc0ef use proper os comparison 2020-07-29 09:28:53 -06:00
crobibero
b8d327889b Add missing functions 2020-07-27 13:42:40 -06:00
David Ullmer
4aa0bd064f Move HlsSegmentService to Jellyfin.Api 2020-07-27 09:47:19 +02:00
crobibero
7bb34fc9e7 use proper HttpClient DI 2020-07-25 17:21:40 -06:00
crobibero
259b5d7f0a Fix request parameters 2020-07-24 17:46:17 -06:00
crobibero
5924a81eeb Fix request parameters 2020-07-24 17:31:11 -06:00
crobibero
d801621cfc Fix request parameters 2020-07-24 17:22:32 -06:00