Commit Graph

89 Commits

Author SHA1 Message Date
Abitofevrything 8d052a6cb1 Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking
Refactor HLS transcode seeking
2026-01-18 12:17:06 +01:00
Niels van Velzen 6c507b77ae Remove DtoExtensions.AddClientFields (#15638) 2025-11-30 07:22:54 -07:00
Shadowghost 3df7d7a809 Add validation for level input 2025-03-28 08:21:37 +01:00
Shadowghost 1fcc79316d Rename ValidationRegex to ContainerValidationRegex 2025-03-28 08:21:37 +01:00
Shadowghost 6d7950bddc Fix container parameter validation 2025-03-28 08:21:37 +01:00
Bond-009 2db0750abb Make the JsonConverters for delimited arrays more generic (#13396)
* Make the JsonConverters for delimited arrays more generic

Also adds some tests for serialization (with different types) as we didn't have any before.

* Ignore warnings
2025-02-13 20:24:55 -07:00
Tim Eisele 0d85af019c Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
gnattu a3ebbabf95 Update api doc to remove outdated info
Signed-off-by: gnattu <gnattuoc@me.com>
2024-08-12 00:06:31 +08:00
gnattu fd5df98616 Move default value to api spec
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-17 21:52:44 +08:00
gnattu 0381c5a288 Add EnableAudioVbrEncoding to TranscodingProfile
This will allow the client selectively disable VBR audio when it causes problems.

Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-17 21:27:35 +08:00
Cody Robibero 6fb6b5f176 Validate item access (#11171) 2024-04-14 08:18:36 -06:00
gnattu 5db0c5a0e4 fix: forward port patch for GHSA-866x-wj5j-2vf4 (#11228) 2024-03-28 09:26:14 -06:00
Shadowghost 9230472056 Fix file extension based on container 2024-02-10 16:57:10 +01:00
Shadowghost 7baa261b22 DVD and BDMV folders can not be served directly 2024-02-10 16:56:21 +01:00
Cody Robibero e7b8d45bbb Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Patrick Barron 9215a4d40a Add ITranscodeManager service 2023-12-21 12:53:50 -05:00
Patrick Barron 01fd42cf95 Remove DLNA API code 2023-11-15 20:53:35 -05:00
Patrick Barron de0241e975 Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
Cody Robibero a527034ebe Validate requested user id (#8812) 2023-02-17 23:16:08 +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 dfea1229e1 Cleanup imports 2023-02-02 18:50:35 +01:00
Shadowghost f5f890e685 Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
Bond_009 52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01: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
Joshua M. Boniface 9c97c533ef Merge pull request #7994 from nyanmisaka/fix-throttler
(cherry picked from commit a7d45b5d3a)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:38 -04:00
Claus Vium 53209830e7 Merge pull request #7346 from Bond-009/guid
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Bond-009 2579b2db56 Merge pull request #7137 from SenorSmartyPants/master 2022-03-05 20:54:36 +01: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
Cody Robibero a60cb280a3 Properly populate QueryResult 2022-01-20 08:53:06 -07:00
SenorSmartyPants d5e7e75421 Remove unused httpContext parameter 2022-01-08 19:53:53 -06:00
SenorSmartyPants 3ea54a8009 Remove isHeadRequest from GetStaticFile method signatures 2022-01-07 18:21:48 -06:00
Marius Luca 4e0edaf544 - ensure the proper StartTimeTicks variable is forwarded to the AddDlnaHeaders function 2021-11-15 15:34:02 +02:00
KonH 7c282ec369 Fix warning: The nullable warning suppression expression is redundant (#2149) 2021-10-03 10:43:41 +07:00
cvium ae0055c494 Missing linebreaks that Rider apparently can't just do for me? 2021-09-10 13:09:24 +02:00
cvium 026a7af0e8 Don't throw when livestream file isn't found 2021-09-10 11:54:26 +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
Chris Tam b205d5a032 Disambiguate vpx to vp8 or vp9 2021-09-04 07:36:17 -04:00
Bill Thornton 3090971feb Restore max width and height params 2021-07-08 14:53:56 -04:00
Cody Robibero 9154f20b34 Don't dispose managed CancellationTokenSource (#6139) 2021-06-04 14:36:58 +02:00
Maxr1998 e90fbe90f9 Remove extraneous 'stream' parameter
The argument isn't passed to the method but causes the API generator to include an unnecessary parameter.
Also fixes some typos in the documentation comments.
2021-04-30 15:07:27 +02:00
Bond_009 499bac5185 EncodingHelper: Fix circular dependency 2021-04-20 23:03:36 +02:00
cvium 7dedeb6c79 change HLS endpoint defaults to false 2021-03-22 20:53:55 +01:00
Bond-009 3741be51ec Merge pull request #5383 from cvium/fix-mergeversions-overflow
do not pick a linked item as primary when merging versions
2021-03-05 21:57:22 +01:00
cvium 59814bd55e do not pick a linked item as primary when merging versions 2021-03-05 19:57:48 +01:00
crobibero 858c91ab48 Specify defaults or set query parameter to nullable 2021-03-04 18:25:52 -07:00