Commit Graph

1779 Commits

Author SHA1 Message Date
Tim Eisele
c9cd17220a
Playlist fixes (#11487) 2024-05-05 19:22:21 -06:00
Cody Robibero
1accfd79da
Always attempt to get User if a user id is provided (#11471) 2024-05-01 06:42:01 -06:00
Bond-009
3feb3f81bf
More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
gnattu
5dc6bb4910
Fix incomplete tag query for whitelist tags (#11416) 2024-04-30 13:32:49 -06:00
Bond-009
74f3e54807
Merge pull request #11436 from nielsvanvelzen/plugin-api-elevation
Require elevation for plugin related endpoints
2024-04-30 20:32:01 +02:00
Bond_009
2459b7e62e Properly await Task.Delay() 2024-04-29 10:16:28 +02:00
Niels van Velzen
935c2c97fe Require elevation for plugin related endpoints 2024-04-26 19:00:53 +02:00
gnattu
374b6ca0e2
Only apply custom downmix to 5.1 audios (#11401) 2024-04-22 10:23:36 -06:00
Niels van Velzen
a80968478a
Fix InvalidCastException in ItemUpdateController (#11398) 2024-04-21 21:53:27 -06:00
Cody Robibero
27fae3dd04
Limit sessions per user (#11370) 2024-04-21 10:54:49 -06:00
Bond-009
bb018c4adc
Enable nullable for LibraryManager (#11191) 2024-04-17 10:44:50 -06:00
Cody Robibero
6fb6b5f176
Validate item access (#11171) 2024-04-14 08:18:36 -06:00
Cody Robibero
92eb9e3a94 Always grant access for Administrator role 2024-04-11 06:11:46 -06:00
Joshua M. Boniface
ee1d6332ee
Merge pull request #11220 from Shadowghost/add-playlist-acl-api
Add playlist ACL endpoints
2024-04-10 12:52:01 -04:00
Bond-009
dc74bc361d
Merge pull request #11321 from nielsvanvelzen/get-remote-subs-perm
Fix policy for GetRemoteSubtitles
2024-04-10 18:29:00 +02:00
Bill Thornton
00620a4092
Fix disabled libraries being returned in MediaFolders api (#11236) 2024-04-08 14:52:10 -06:00
Niels van Velzen
3d7d0297fe Fix policy for GetRemoteSubtitles
Other operations related to remote subtitles require the SubtitleManagement policy, so it only makes sense that this operation requires it too.
2024-04-08 22:24:24 +02:00
Shadowghost
9031aae653 Typo 2024-04-03 21:24:51 +02:00
Shadowghost
e3897fe5dd Apply review suggestions 2024-04-03 21:20:30 +02:00
Shadowghost
51e2faa448 Apply review suggestions 2024-04-03 20:06:57 +02:00
Shadowghost
3c7562313b Apply review suggestions 2024-04-03 16:57:10 +02:00
Shadowghost
5396b616bf Fixup 2024-04-03 16:32:25 +02:00
Shadowghost
247ec19de4 Fixup 2024-04-03 16:23:14 +02:00
Shadowghost
d72f40fe41 Return 204 on OpenAccess 2024-04-03 16:19:13 +02:00
Shadowghost
04c5b9d680 Add endpoint to get user permissions 2024-04-03 16:14:06 +02:00
Shadowghost
3e0b201688 Enforce permissions 2024-04-03 16:06:20 +02:00
gnattu
0af101cbf7
fix: av1 codecs string (#11280)
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2024-04-02 07:03:58 -06:00
Shadowghost
8cf77424f6 Apply review suggestions 2024-04-02 08:08:36 +02:00
Shadowghost
c1dbb49315 Implement update endpoint 2024-04-01 20:43:05 +02:00
Shadowghost
bff37ed13a Apply review suggestions 2024-04-01 19:59:48 +02:00
gnattu
b496ebc175
fix: disable api endpoint for ffmpeg path for security (#11225)
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
2024-03-28 13:57:55 -06:00
gnattu
5db0c5a0e4
fix: forward port patch for GHSA-866x-wj5j-2vf4 (#11228) 2024-03-28 09:26:14 -06:00
Niels van Velzen
8d02c45e6c
Fix default values missing in ClientCapabilities(Dto) (#11232) 2024-03-27 15:36:30 -06:00
Shadowghost
2aaa9f669a Apply review suggestions 2024-03-27 06:39:14 +01:00
Shadowghost
56c432a843 Apply review suggestions 2024-03-26 23:45:14 +01:00
Shadowghost
f1dc1610a2 Extend playlist creation capabilities 2024-03-26 16:13:07 +01:00
Shadowghost
88b3490d17 Add playlist ACL endpoints 2024-03-26 15:49:18 +01:00
nyanmisaka
bf2ef63922 Fix codec vs ActualOutputVideoCodec
codec is copy
ActualOutputVideoCodec is hevc

fixes 3bbb57e

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-24 06:45:43 +08:00
vedant
3bbb57eb83
Add new VideoRangeTypes to fully support DoVi on webOS (#10469) 2024-03-23 07:39:49 -06:00
Claus Vium
eae031ae5a
refactor: use Channels as queueing mechanism for periodic websocket messages (#11092) 2024-03-18 13:55:18 -06:00
nyanmisaka
a3ba974b7b Fix the trailing whitespace
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17 20:44:42 +08:00
Nyanmisaka
98debe4817
Apply suggestions from code review
String interpolation is preferred.

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2024-03-17 20:34:18 +08:00
nyanmisaka
eca9bf41bc Add TranscodingSegmentCleaner to replace ffmpeg's hlsenc deletion
FFmpeg deletes segments based on its own transcoding progress,
but we need to delete segments based on client download progress.
Since disk and GPU speeds vary, using hlsenc's built-in deletion
will result in premature deletion of some segments. As a consequence,
the server has to constantly respin new ffmpeg instances, resulting
in choppy video playback.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16 07:35:05 +08:00
Cody Robibero
e731250342 Lowercase MediaStreamProtocol for backwards compatibility 2024-03-08 15:29:22 -07:00
Niels van Velzen
407cf5d0bf
Add MediaStreamProtocol enum (#10153)
* Add MediaStreamProtocol enum

* Add default handling for enum during deserialization

---------

Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-03-04 16:44:54 -07:00
Cody Robibero
6e5ec99ea1
Move userId in API from route to optional query parameter (#11074)
* Move userId in API from route to optional query parameter

* Standardize UserViewsController

* Move userId to query in ImageController

* Move userId to query in ItemsController

* Move userId to query in PlaystateController

* Move userId to query in SuggestionsController

* Move userId from route to query in UserLibraryController

* Clean up routes

* Move userId to query in UserController

* fix bad merge

---------

Co-authored-by: Niels van Velzen <git@ndat.nl>
2024-03-03 13:51:31 -07:00
Bond-009
3bd1a5c557
Merge pull request #11077 from crobibero/svg-to-image
Add support for converting from svg to other image types
2024-03-03 07:59:22 -05:00
Cody Robibero
169e0dcb11 Save embedded lyrics when probing audio 2024-02-28 17:34:33 -07:00
Cody Robibero
c5e723bccd Add support for converting from svg to other image types 2024-02-28 09:56:02 -07:00
Cody Robibero
2e0e1ecc99 Rename route parameters that are id to be more descriptive 2024-02-26 15:57:59 -07:00