Commit Graph

92 Commits

Author SHA1 Message Date
Bond-009 f5c55c832f
Merge pull request #11028 from nielsvanvelzen/api-userid-optional2
Make userId optional in GetProgramsDto
2024-02-22 14:10:34 +01:00
Patrick Barron 0370167b8d Add IRecordingsManager service 2024-02-21 09:42:14 -05:00
Niels van Velzen fd957ec7f4 Make userId optional in GetProgramsDto 2024-02-18 13:18:16 +01:00
Patrick Barron 42b052a5a6 Add IListingsManager service 2024-02-08 15:20:46 -05:00
Patrick Barron 4399b51dca Merge branch 'master' into livetv-guidemanager
# Conflicts:
#	src/Jellyfin.LiveTv/LiveTvManager.cs
2024-01-17 12:08:01 -05:00
Cody Robibero e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Patrick Barron 59c2ae944d Add IGuideManager service 2024-01-17 09:52:11 -05:00
Patrick Barron c23a038ba8 Remove unnecessary allocations in TunerHostManager 2024-01-15 09:37:03 -05:00
Patrick Barron 9c2c066e6f Add ITunerHostManager service 2024-01-12 21:17:09 -05:00
Patrick Barron c49539cbe0 Move ProgressiveFileStream to Controller 2023-12-21 12:53:50 -05:00
Patrick Barron 9215a4d40a Add ITranscodeManager service 2023-12-21 12:53:50 -05:00
Patrick Barron de0241e975 Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
Cody Robibero c7a94d48ae
Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum

* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Patrick Barron 1ca9f8b04b Remove unused fields and parameters 2023-10-03 09:26:20 -04:00
Bond_009 d8ec3a5470 Reduce usage of GetAwaiter().GetResult() 2023-03-14 12:05:49 +01:00
Cody Robibero a527034ebe
Validate requested user id (#8812) 2023-02-17 23:16:08 +01:00
Shadowghost eeb0f7af6c Add permissions for LiveTV access and management 2023-02-14 18:48:31 +01:00
cvium 52e2776d8e Merge branch 'master' into simplify_authz
# Conflicts:
#	Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2023-02-12 22:59:48 +01:00
cvium 209edd38a4 refactor: simplify authz 2023-02-09 13:51:37 +01:00
Bond_009 52230d1c30 Return NotFound when itemId isn't found 2023-02-04 20:11:08 +01:00
Shadowghost f5f890e685 Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
Bond-009 69a51c425a
Fix all warnings in Jellyfin.Api (#9003) 2023-01-04 08:01:31 -07:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
cvium 5dc30c6a6d fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext 2022-10-06 13:57:47 +02:00
Bond_009 f50a250cd9 Optimize Guid comparisons
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Bond_009 2dcb2f8a9f Ban the usage of Task.Result
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
Cody Robibero a60cb280a3 Properly populate QueryResult 2022-01-20 08:53:06 -07:00
Bond_009 cbfa355e31 Update StyleCop 2021-12-24 18:28:27 +01:00
cvium ff328fefc5 Replace GetDirectStreamProviderByUniqueId with GetLiveStreamInfoByUniqueId 2021-09-10 12:53:45 +02:00
cvium 1a5a74d2a9 Remove more unused args 2021-09-10 10:03:42 +02:00
cvium 1603d1928e Kill ProgressiveFileCopier and seek to end for ongoing livetv 2021-09-10 09:29:14 +02:00
Fernando Fernández 3d0b1ccae6
Remove all unused usings 2021-09-06 21:15:30 +02:00
Cody Robibero ff9d14c811 Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore 2021-09-03 11:01:55 -06:00
cvium f23ef1f1b9 Use ProgressiveFileStream for LiveRecordings endpoint 2021-08-17 13:38:28 +02:00
Patrick Barron 8607b52541 Make device/session code async 2021-04-10 16:57:25 -04:00
crobibero 55670b91b2 Use ArrayModelBinder for sortBy and sortOrder 2021-01-23 17:32:13 -07:00
crobibero c6b381db10 Use request body for mapping xml channels 2020-12-13 08:32:33 -07:00
Bond_009 38932fc7d1 Schedules Direct requires the hex to be lowercase 2020-11-26 13:21:04 +01:00
Bond_009 8c8a71692e Remove Hex class as the BCL has one now 2020-11-25 23:40:31 +01:00
Joshua M. Boniface 7457c4a95d
Merge pull request #4499 from crobibero/more-param
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
BaronGreenback 4c394eec90
Update Jellyfin.Api/Controllers/LiveTvController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-18 14:08:44 +00:00
Greenback e51ddd326c Fixes spelling. 2020-11-18 13:23:45 +00:00
crobibero 3cc0dd7e12 Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
crobibero dae4541bad Merge remote-tracking branch 'upstream/master' into dotnet-5 2020-11-15 11:56:35 -07:00
crobibero 01355e0498 Fix nullability errors in Jellyfin.Api (part 1) 2020-11-13 09:04:31 -07:00
crobibero 7fe8ca2b77 Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-10 10:39:44 -07:00
crobibero 0dd2b169a3 Add ModelBinder to ItemFilter 2020-11-09 14:59:04 -07:00
crobibero 6748ba287d Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-09 14:57:02 -07:00
crobibero b22831f7e5 Add ModelBinder to ImageType 2020-11-09 14:53:23 -07:00
crobibero b4d52d8009 Apply patch 2020-11-03 16:38:47 -07:00