Commit Graph

1814 Commits

Author SHA1 Message Date
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
Cody Robibero
0bc41c015f
Store lyrics in the database as media streams (#9951) 2024-02-26 05:09:40 -07:00
Claus Vium
321e9fb0b5
Merge pull request #11055 from crobibero/activitylog-download
Add item id to download activity
2024-02-25 08:55:47 +01:00
Cody Robibero
a1bb23e98f Add item id to download activity 2024-02-23 09:02:11 -07:00
Bond-009
2e381bdde2
Merge pull request #11024 from nielsvanvelzen/api-userid-optional
Always make userId query parameter optional
2024-02-22 14:11:32 +01:00
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
Cody Robibero
31715c6b8a
Merge pull request #10981 from barronpm/livetv-listingsmanager
Add IListingsManager Service
2024-02-20 10:44:46 -08:00
Niels van Velzen
fd957ec7f4 Make userId optional in GetProgramsDto 2024-02-18 13:18:16 +01:00
Niels van Velzen
5b93aec2f5 Always make userId query parameter optional 2024-02-17 14:29:34 +01:00
Bond-009
0bf1c10c44
Merge pull request #10990 from Shadowghost/bdmv-fixes
BDMV fixes
2024-02-14 11:24:35 +01:00
Dmitry Lyzo
0dde8c0808
Make the bitrate of the fallback stream the same as the original (#9121) 2024-02-12 07:36:54 -07: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
Patrick Barron
42b052a5a6 Add IListingsManager service 2024-02-08 15:20:46 -05:00
Bond-009
e50170a417
Merge pull request #10973 from nielsvanvelzen/api-dep-fixes
Fix some incompatible API deprecations
2024-02-07 19:32:17 +01:00
Bond-009
143ef71528
Merge pull request #10969 from barronpm/progress-cleanup
Progress cleanup
2024-02-07 16:24:36 +01:00
Niels van Velzen
be29b4a0c4 Fix some incompatible API deprecations 2024-02-06 22:23:31 +01:00
Patrick Barron
8698b90594 Remove SimpleProgress 2024-02-06 09:50:46 -05:00
nyanmisaka
5cc451992b Correct VIDEO-RANGE field for HLG content
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-06 20:36:15 +08:00
beakerandjake
918b627472 Return 404 if log file does not exist 2024-02-03 14:25:44 -07:00
Mark Cilia Vincenti
f26fc7dfb2 Merge changes 2024-02-03 08:45:14 +01: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
Mark Cilia Vincenti
6a257e1b40 Merge branch 'master' into AsyncKeyedLock-migration 2024-01-14 11:45:19 +01:00
Patrick Barron
9c2c066e6f Add ITunerHostManager service 2024-01-12 21:17:09 -05:00
Cody Robibero
fa0413d6e4 Use StatusCodes which is already an int 2024-01-06 15:24:17 -07:00
Cody Robibero
adb0837dc2 Respond with Service Unavailable if not in correct network 2024-01-06 14:43:19 -07:00
Niels van Velzen
55916a09eb
Remove some unused client capabilities and sync code (#10812) 2024-01-06 13:33:48 -07:00
Mark Cilia Vincenti
d1677dc680 AsyncKeyedLock migration 2024-01-03 16:47:25 +01: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
c2081955c8 Rename and clean up TranscodingJob 2023-12-21 12:53:50 -05:00
Patrick Barron
abd74fd5a4 Move TranscodingJobDto and TranscodingThrottler to Controller 2023-12-21 12:53:49 -05:00
Bond-009
ce45b73c8b
Merge pull request #10702 from crobibero/collection-type-lowercase
Convert CollectionType to use lowercase enum names
2023-12-18 19:38:44 +01:00
Bond-009
24cbd64450
Merge pull request #10573 from arabcoders/master
Add new API endpoint to view/update Item UserData
2023-12-15 18:00:50 +01:00
Cody Robibero
033cfa59c4 Convert CollectionType to use lowercase enum names 2023-12-08 15:45:36 -07:00
Bond-009
000ccaa6db
Merge pull request #10660 from barronpm/move-networking
Move Jellyfin.Networking
2023-12-05 16:16:19 +01:00
Cody Robibero
7ebb4d3b24
Merge pull request #10649 from felix920506/issue-10610
Make "activeWithinSeconds" independent from "controllableByUserId" parameter
2023-11-30 15:58:56 -07:00
Patrick Barron
9597648ce3 Move Jellyfin.Networking to src 2023-11-30 11:57:07 -05:00
felix920506
a2bc5a5900
Make "activeWithinSeconds" independent from "controllableByUserId" in GetSessions
Fixes issue #10610
2023-11-29 03:41:30 -05:00
Abdulmohsen
9d5dc4d71b
Merge branch 'jellyfin:master' into master 2023-11-24 00:00:53 +03:00
Patrick Barron
01fd42cf95 Remove DLNA API code 2023-11-15 20:53:35 -05:00
ArabCoders
c4013d2e10 Updated the summary and the Dto name. 2023-11-15 13:55:14 +03:00
Bond_009
635d67d458 Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Bond_009
b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +01:00
Bond_009
eb022c49cc Update to .NET 8 2023-11-14 21:12:16 +01:00
ArabCoders
faa036aa7b Added access validation to view item user data. 2023-11-13 15:55:12 +03:00
ArabCoders
2a25c5a2e3 Refactored api call logic handling. 2023-11-13 15:51:06 +03:00
Patrick Barron
de0241e975 Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
Patrick Barron
e463dbda47 Move network configuration to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
ArabCoders
250e795c3b Typo fixes. 2023-11-12 18:12:34 +03:00
ArabCoders
bce22fcc2a Added new API endpoint to update User item data 2023-11-12 17:52:24 +03:00
Cody Robibero
892973a9e3
Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum (#9764)
* Convert CollectionType, SpecialFolderType to enum

* Hide internal enum CollectionType values

* Apply suggestions from code review

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>

* Fix recent change

* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs

Co-authored-by: Patrick Barron <barronpm@gmail.com>

---------

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-11-09 14:00:29 -07: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
Bond_009
a9ef103c95 Add IDisposableAnalyzers to more projects 2023-11-05 02:01:14 +01:00
Steve Kowalik
9785b58b85 Correct docstring for /Upcoming
The docstring for /Upcoming looks very similar to /NextUp, also
including the same return value, when it should be slightly different,
correct it.
2023-11-02 22:00:13 +11:00
Claus Vium
db4605609c
Merge pull request #10410 from Ch1nkara/add-users-permission-to-edit-subtitles
add EnableSubtitleManagement permission
2023-10-27 09:44:52 +02:00
Nick
cd662506a1 Merge branch 'master' into trickplay 2023-10-18 19:27:05 -07:00
chinkara
8ada8dbbac add policy to the subtitle controller 2023-10-18 18:31:32 +02:00
Nick
c7feea27fd Avoid unnecessary string -> byte[] conversion (Bond-009) 2023-10-13 16:13:42 -07:00
Stepan Goremykin
38d962242a Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Updates/InstallationManager.cs
#	tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs
2023-10-14 00:45:52 +02:00
Bond-009
4fc27fa63e
Merge pull request #10390 from Bond-009/streams 2023-10-13 10:45:15 +02:00