Commit Graph

1329 Commits

Author SHA1 Message Date
nicknsy 515ee90fb9 Hls playlist 2023-06-22 16:19:59 -07:00
Bond-009 3982b0e057
Reduce bottlenecks scan code (#9863) 2023-06-21 21:01:47 -06:00
Shadowghost 67a58df1a3 Merge branch 'master' into network-rewrite 2023-06-21 07:57:00 +02:00
Bond_009 f04cfd6ef4 Don't ignore parentId for playlists 2023-06-20 18:06:30 +02:00
Dominik 0dffe64489 Add baseUrlParam back in and fix indentation 2023-06-15 19:55:11 +02:00
Dominik 17f1e8d19b
Merge branch 'master' into segment-deletion 2023-06-15 19:38:42 +02:00
Shadowghost 006b04dc0b Merge branch 'master' into network-rewrite 2023-06-07 08:25:32 +02:00
Bond-009 6dca53047f
Merge pull request #9818 from Shadowghost/fixes 2023-05-30 10:00:53 +02:00
Cody Robibero d8f0933f33
Merge pull request #9821 from cvium/admin_must_have_pw 2023-05-29 18:38:01 -06:00
cvium 29ef02af9a do not allow empty admin password during wizard 2023-05-26 21:50:51 +02:00
cvium b33f46560d use 403 instead to avoid compat issues with swagger spec 2023-05-26 19:45:40 +02:00
cvium 716bcc6410 chore: deprecate EasyPassword as it isn't very secure 2023-05-26 19:40:40 +02:00
Shadowghost 81746666de Fix TotalRecordCount calculation 2023-05-26 11:06:04 +02:00
Shadowghost d8d5c86d49 Merge branch 'master' into network-rewrite 2023-05-25 17:07:43 +02:00
Claus Vium d1e52b6ee3
Merge pull request #9771 from Shadowghost/recursive-tags 2023-05-18 10:05:50 +02:00
Shadowghost eb52af4e6a
Fix playlists library and migration (#9770) 2023-05-15 06:45:33 -06:00
Shadowghost ec32c56d3f Set removed and added tags recursively 2023-05-14 21:45:46 +02:00
Shadowghost a8cdf4434b
Fix access to playlists not created by a user (#9746) 2023-05-12 07:11:59 -06:00
Shadowghost c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
Shadowghost d5fec4963e
Fix FirstTimeSetupHandler not failing on invalid user if not in setup mode (#9747) 2023-05-10 14:05:27 -06:00
Shadowghost 6cc1203c1b Merge branch 'master' into network-rewrite 2023-05-09 15:25:41 +02:00
Stepan Goremykin 910617bbc3 Remove redundant 'else' keywords 2023-04-06 19:38:34 +02:00
Stepan Goremykin 26958162d0 Remove unused using directives 2023-04-06 19:17:28 +02:00
Stepan Goremykin e74630a613 Use MinBy and MaxBy 2023-04-01 23:00:51 +02:00
Bond-009 a1eddbb330
Merge pull request #9541 from Bond-009/apikeydelete 2023-03-29 12:20:34 +02:00
Bond-009 9c500bdca3
Merge pull request #9466 from Shadowghost/playlist-fix 2023-03-28 10:58:48 +02:00
Bond_009 8316bd590e Fix #7610 2023-03-27 15:22:21 +02:00
knackebrot e0a7e9baa0 Fix audio VBR calculation
Pass encoder, not codec
2023-03-21 15:01:32 +01:00
Bond-009 2ce08eb184
Merge pull request #9388 from Shadowghost/output-bitrate-channels-master 2023-03-20 17:46:11 +01:00
Shadowghost 82080bd1ef Apply review suggestions 2023-03-17 11:43:53 +01:00
Shadowghost 520c07e8ca Merge branch 'master' into network-rewrite 2023-03-16 11:07:22 +01:00
Bond_009 d8ec3a5470 Reduce usage of GetAwaiter().GetResult() 2023-03-14 12:05:49 +01:00
Shadowghost 76ae599bd3 Fix playlist creation and removal 2023-03-10 19:16:35 +01:00
SenorSmartyPants 369c7f1451
Save TVChannel Height if set (#8777)
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-03-10 10:03:11 -07:00
nyanmisaka f21ab50a81 Backport pull request #9422 from jellyfin/release-10.8.z
Fix stream map when using filter_complex with unlabeled output

Original-merge: 6821a2ab35

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: crobibero <cody@robibe.ro>
2023-03-09 19:38:15 -05:00
Róbert Örn Ketilsson ef3868ff50 Backport pull request #9178 from jellyfin/release-10.8.z
Escape the path to pass as a command line argument

Original-merge: 09f1c7f535

Merged-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>

Backported-by: crobibero <cody@robibe.ro>
2023-03-09 19:29:39 -05:00
Shadowghost 80b8661008 Merge branch 'master' into network-rewrite 2023-03-03 10:42:24 +01:00
Shadowghost 1f15724398 Use source audio bitrate if requested codec is lossless 2023-03-02 20:57:59 +01:00
Shadowghost 16f2cca882 Apply review suggestions 2023-02-28 15:12:43 +01:00
knackebrot aa99aaebc4 Add audio vbr calculation 2023-02-26 22:37:01 +01:00
Bond_009 ab24c0e2cf Enable nullable for more files 2023-02-23 19:09:16 +01:00
Shadowghost c5a363a007 Merge branch 'master' into network-rewrite 2023-02-20 11:58:14 +01:00
Shadowghost 4ed97a4593 Properly check for item visibility in UserLibraryController 2023-02-20 11:53:20 +01:00
Shadowghost 2e315b7f08 Properly build where clause for rating checks 2023-02-20 11:53:20 +01:00
Shadowghost c8d80450e0 Recursively update rating 2023-02-20 11:53:20 +01:00
Cody Robibero a527034ebe
Validate requested user id (#8812) 2023-02-17 23:16:08 +01:00
Shadowghost 20fd05b050 Consistently write IP in upercase 2023-02-17 19:27:36 +01:00
Bond_009 60f41b80f6 Verify ContentType of uploaded images 2023-02-16 15:08:01 +01:00
Shadowghost eeb0f7af6c Add permissions for LiveTV access and management 2023-02-14 18:48:31 +01:00
Shadowghost b7418d6e9e Add permission for collection management 2023-02-13 15:42:04 +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 eb7fee9590 Add more tests 2023-02-04 21:08:30 +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
Claus Vium e79f5d8226
fix: require current password when admin changes their own password (#9238)
Fixes https://github.com/jellyfin/jellyfin/issues/9208
2023-02-02 07:25:48 -07:00
Chris Blake ad5b83781a
Add 404 response to MarkPlayedItem/MarkUnplayedItem (#9211)
Fixes https://github.com/jellyfin/jellyfin/issues/9120
2023-02-01 11:17:18 -07:00
Patrick Barron fec23de427
Remove Emby.Notifications (#9147) 2023-01-28 07:43:55 -07:00
Cody Robibero abffd160c3
Remove ability to add a played indicator to images (#9186) 2023-01-28 07:43:13 -07:00
Bond-009 232453014f
Minor improvements (#9156) 2023-01-23 19:39:10 +01:00
Shadowghost ab96d1b7ad Backport pull request #9049 from jellyfin/release-10.8.z
Add more codecs requiring ffmpeg strict -2

Original-merge: 2a6e292153

Merged-by: Cody Robibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:03:54 -05:00
Teo Baranga 56ef45ebf0
Fix client supported image formats (#9071) 2023-01-14 13:15:50 -07:00
Bond-009 3a7a781ed9
Merge pull request #9001 from Shadowghost/stereo-downmix
Fixes https://github.com/jellyfin/jellyfin/issues/1986
2023-01-12 09:49:29 +01:00
Shadowghost 407c716f82 Add stereo downmix algorithm selection. 2023-01-10 15:29:39 +01:00
David Fairbrother 4eeb522144 Add dts to list of audio codecs which require strict -2
Adds dts to the list of audio codecs where ffmpeg will throw asking us
to opt into experimental support. This is seen when the original content
is based on dts and we don't acopy using ffmpeg.
2023-01-07 19:37:32 +00:00
Bond-009 69a51c425a
Fix all warnings in Jellyfin.Api (#9003) 2023-01-04 08:01:31 -07:00
Niels van Velzen f2200c97cb
Remove unused notification endpoints (#8952) 2022-12-27 14:24:34 +01:00
Claus Vium b015679267
Merge pull request #8927 from nielsvanvelzen/auth-depr 2022-12-20 07:47:50 +01:00
Niels van Velzen 180d17c991
Remove unused ImageByName API (#8928) 2022-12-19 18:44:13 -07:00
Niels van Velzen 479d477e01 Deprecate user id based authentication endpoint 2022-12-19 21:46:12 +01:00
Claus Vium 760b7f8fca
Merge pull request #8922 from Bond-009/distinctby
Use DistinctBy introduced in .NET 6
2022-12-19 20:13:48 +01:00
Bond-009 497d8c4957
Use Order() introduced in .NET 7 (#8923) 2022-12-19 09:30:00 -07:00
Bond_009 6481376b81 Use DistinctBy introduced in .NET 6 2022-12-19 15:21:42 +01:00
Bond-009 8258d884f3
Merge pull request #8734 from nielsvanvelzen/qc-revoke 2022-12-07 18:14:16 +01:00
Bond_009 e21f4adc16 Fix wrong usage of ArgumentNullException.ThrowIfNull 2022-12-07 16:44:00 +01:00
Bond_009 cf67381e31 Fix release build 2022-12-07 16:44:00 +01:00
Bond_009 b366dc2e6e Use ArgumentException.ThrowIfNullOrEmpty 2022-12-07 16:43:59 +01:00
Bond_009 71982c7297 Fix build errors 2022-12-07 16:42:28 +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
Justin df66816178
Allow non-ASCII in downloaded filenames (#8825)
Fixes https://github.com/jellyfin/jellyfin/issues/8657
2022-12-03 08:47:59 -07:00
Niels van Velzen 722ad3fe97 Change InitiateQuickConnect to use POST request
Keep the GET request for compatibility
2022-12-03 12:38:06 +01:00
Niels van Velzen fd73f346dc Add userId parameter to AuthorizeQuickConnect 2022-12-03 12:31:42 +01:00
Terrance 692a62ab4f
Add missing format providers (fix CA1305 errors) (#8745) 2022-11-26 18:59:25 -07:00
Shadowghost 072651c4be Add xmldocs for TMDb provider, correct provider spelling 2022-11-17 11:16:20 +01:00
Dominik e8ae7e5c38 Do not delete segments when seeking 2022-11-15 17:14:18 +01:00
Dominik abcf9c4819
Simplify HLS file deletion
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-11-14 14:45:42 +01:00
Dominik 9f4f76b0ab Remove segment wrapping 2022-11-14 14:39:08 +01:00
Dominik c2c182d099 Add support for ffmpeg's segment deletion and segment wrapping 2022-11-14 10:13:17 +01:00
Bill Thornton c6dbcb661b Use elevated access control for media folders endpoint 2022-11-10 01:04:16 -05:00
Bill Thornton 9f352ccb5b Fix media folders endpoint access control 2022-11-09 18:31:30 -05:00
Bill Thornton fb9023f2d8 Fix items endpoint not honoring library access control 2022-11-09 18:02:49 -05:00
Bond_009 f6af28cf96 Fix some things that slipped through the cracks 2022-10-11 23:37:29 +02:00
Claus Vium 05c20001c8
Merge pull request #8381 from 1hitsong/lyric-lrc-file-support 2022-10-07 15:21:42 +02:00
cvium 6afc911043 fix Release build 2022-10-06 14:15:40 +02:00
cvium 5dc30c6a6d fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext 2022-10-06 13:57:47 +02:00
LogicalPhallacy e8893f3d41 Backport pull request #8399 from jellyfin/release-10.8.z
Respect visibility for people items (rebased)

Original-merge: e6124bc154

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:38 -04:00
Niels van Velzen 1e72ba4c09 Backport pull request #8214 from jellyfin/release-10.8.z
Make userId truly optional in UniversalAudioController

Original-merge: af87706379

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:35 -04:00
1hitsong a50bdb4770 Use async functions 2022-09-22 08:13:53 -04:00
1hitsong 8912f618f5 Change API GetLyrics return type 2022-09-16 21:11:28 -04:00
1hitsong f740d1b9f0 Remove use of AddParts. Cleanup use of Lyric vs Lyrics. 2022-09-16 20:52:40 -04:00
1hitsong f4fd908f8d Create ILyricManager 2022-09-15 20:49:25 -04:00
1hitsong d9be3874ba Auto stash before merge of "lyric-lrc-file-support" and "origin/lyric-lrc-file-support" 2022-09-15 19:45:26 -04:00
Jamie Introcaso c0dae0fef5 Adds lyric providers to DI pipeline
This is adding those lyric providers to the DI pipeline along with a super simple implementation of how to use them in the controller method. Probably should be refactored into a lyric service of some sort that would have the providers injected into it.
2022-09-14 20:39:35 -04:00
Zach Phelan c71d6f2358 Sort special features same as other spots, removing unnecssary function
Added to contributors
2022-09-13 16:56:23 -06:00
Cody Robibero d2e18547b1
Require properly typed ActionResult<T> (#8382) 2022-09-11 17:47:01 -06:00
1hitsong 23ec35d396 Merge remote-tracking branch 'origin/lyric-lrc-file-support' into lyric-lrc-file-support 2022-09-10 14:29:38 -04:00
1hitsong 2e260e5319 Updates based on review 2022-09-10 14:29:30 -04:00
1hitsong 0aa2780ea7
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:15:57 -04:00
1hitsong 92715a7426
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:09:39 -04:00
1hitsong 8b78802c0b
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:08:38 -04:00
1hitsong 5f5347aee3 Add Lyrics API Endpoint 2022-09-09 20:22:55 -04:00
Claus Vium 1cbf5431aa
Merge pull request #8250 from Bond-009/minor18
Minor cleanup
2022-09-09 13:27:52 +02:00
Bond-009 c12cab6844
Merge pull request #8359 from nielsvanvelzen/simplify-universalaudiocontroller 2022-09-09 12:57:16 +02:00
Niels van Velzen 49e56c147e Fix QuickConnect operation names 2022-09-04 10:21:21 +02:00
Niels van Velzen e9bb448e89 Simplify UniversalAudioController code, remove redundant null checks 2022-09-04 10:14:25 +02:00
Bond-009 e1e4ac75e4
Merge pull request #8267 from luzpaz/typos 2022-08-22 17:50:42 +02:00
Claus Vium 8a0911004d
Merge pull request #7965 from jasongdove/api-key-items-without-user-id 2022-08-21 16:22:46 +02:00
Niels van Velzen de98457332 Fix operation name in SearchController and correct nullability for SearchHint 2022-08-18 17:44:40 +02:00
Bond_009 5036afd691 Minor cleanup 2022-08-18 13:56:23 +02:00
luz paz 9ec2870b10 Fix various typos
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Cody Robibero 12794d184a
Merge pull request #8261 from nielsvanvelzen/adjacentTo-guid 2022-08-14 09:48:48 -07:00
Niels van Velzen bef4256d47 Use guid for seriesId API parameter 2022-08-14 13:03:48 +02:00
Niels van Velzen 61afd029df Check for empty guid 2022-08-14 12:58:38 +02:00
Niels van Velzen 0f91244239 Use Guid for adjacentTo API parameter 2022-08-14 12:47:25 +02:00
Joshua Boniface d5ea136dc5 Backport pull request #8174 from jellyfin/release-10.8.z
Disable auto inserted SW scaler for HW decoders

Authored-by: nyanmisaka <nst799610810@gmail.com>

Merged-by: Bond-009 <bond.009@outlook.com>

Original-merge: 7297431f23
2022-08-01 14:25:45 -04:00
Jason Dove c69b2c849a add comments 2022-07-30 08:12:59 -05:00
Jason Dove e52f1b52c1 Merge branch 'master' into api-key-items-without-user-id 2022-07-30 08:01:48 -05:00
Joshua Boniface b7206b4816 Backport pull request #8013 from jellyfin/release-10.8.z
Fix password change during parental control schedule

Authored-by: David Ullmer <davidullmer@outlook.de>

Merged-by: Bond-009 <bond.009@outlook.com>

Original-merge: 84a1674f39
2022-07-20 19:29:06 -04: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
Jason Dove fc74c8eecf
tweak guid check
Co-authored-by: Bond-009 <bond.009@outlook.com>
2022-06-23 09:19:29 -05:00
Jason Dove d06fda43c1 use null-forgiving operator to suppress warnings 2022-06-18 13:19:00 -05:00
Jason Dove 82df4c3242 update comments 2022-06-18 13:15:05 -05:00
Jason Dove e4088ba0bd don't require a user id for items api call using api key 2022-06-18 13:10:50 -05:00
Cody Robibero bee13d5644 Fix splashscreen (#7895) 2022-06-14 19:34:29 -04:00
Cody Robibero b6a0fe3378 Merge pull request #7911 from cvium/fix_keyframe_transcode
(cherry picked from commit 07b39655eb)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-14 19:32:09 -04:00
Cody Robibero e4b095a766 Merge pull request #7894 from crobibero/search-hints
(cherry picked from commit 0f75f17736)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-14 19:30:59 -04:00
Joshua M. Boniface 0e1a41f7e9 Merge pull request #7868 from cvium/disable_dlna
(cherry picked from commit aa0f6cb5eb)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-10 23:43:18 -04:00
Bond-009 c19c787273 Merge pull request #7828 from nyanmisaka/fix-dovi-tonemap
Fix Dolby Vision profile 5 and 8 to SDR HW tone-mapping

(cherry picked from commit 8595a979a8)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-10 23:43:17 -04:00
Cody Robibero b2d56c51ec Merge pull request #7780 from 1337joe/fix-tv-guide-search-2
(cherry picked from commit 492c6bbd7e)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-22 09:11:53 -04:00
Bond-009 b1b83d8111 Merge pull request #7718 from jellyfin/dovi-hevc-remux
(cherry picked from commit f7ef7d9eda)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-20 18:30:57 -04:00
Joshua M. Boniface a277318e80 Merge pull request #7569 from crobibero/repo-auth
(cherry picked from commit a7abdca47a)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-17 15:45:11 -04:00
Cody Robibero 7424f0ca8c Merge pull request #7561 from DMouse10462/named-config-api-fix
Fix NamedConfiguration API Generation

(cherry picked from commit d7c548f3db)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-17 15:45:11 -04:00
Cody Robibero 6a567e8c76
Merge pull request #7474 from nielsvanvelzen/api-secure 2022-03-18 16:52:59 -06:00
Niels van Velzen 46798cb918
Remove check for non-existent "emby rt" client in UserViewsController (#7470) 2022-03-18 22:16:08 +01:00
Niels van Velzen 5ece92d635 Add authorization attribute to UserViewsController 2022-03-18 21:56:42 +01:00
Niels van Velzen 9fbd675bed Add authorization attribute to GetConfigurationPages 2022-03-18 21:54:25 +01:00
Cody Robibero e6df698df1
Merge pull request #7325 from eyezak/issue/6450 2022-03-12 09:08:25 -07:00
Niels van Velzen d659b9b9ab Restrict item refreshing to administrators 2022-03-12 15:47:30 +01:00