Commit Graph

1735 Commits

Author SHA1 Message Date
Shadowghost f2b7f664aa Apply review suggestions 2023-02-04 20:16:45 +01:00
Bond_009 52230d1c30 Return NotFound when itemId isn't found 2023-02-04 20:11:08 +01:00
Shadowghost edf3909157 Use FFmpeg concat for DVD and BD folder playback 2023-02-04 18:39:45 +01:00
Shadowghost ddfdec7f46 Fix BD and DVD folder probing and playback 2023-02-04 18:37:57 +01:00
Cody Robibero d1af317d98
Merge pull request #9215 from Shadowghost/api-scoped-namespace 2023-02-04 10:21:49 -07:00
Zoltan Csizmadia e0519189b2
Use Directory.Packages.props (#9135)
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2023-02-04 10:15:08 -07: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
Bond_009 4261f15d41 Fix debug builds 2023-01-22 21:38:53 +01:00
Dmitry Lyzo 71a708cdb8 Backport pull request #9092 from jellyfin/release-10.8.z
Don't add additional entries if HEVC encoding is disabled

Original-merge: 2a5efeb3bb

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:06:19 -05: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
renovate[bot] e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 (#9117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 04:16:59 -07:00
Patrick Barron 7186b343bd Move Formatters to Jellyfin.Api 2023-01-15 15:46:50 -05:00
Patrick Barron 74a07f6d1c Move Middleware to Jellyfin.Api 2023-01-15 15:46:50 -05:00
Teo Baranga 56ef45ebf0
Fix client supported image formats (#9071) 2023-01-14 13:15:50 -07:00
Cody Robibero 0f17e72efd
Revert "chore(deps): update swashbuckle-aspnetcore monorepo to v6.5.0 (#8591)" (#9088)
This reverts commit 3d51d79715.
2023-01-13 16:31:36 -07:00
renovate[bot] 3d51d79715
chore(deps): update swashbuckle-aspnetcore monorepo to v6.5.0 (#8591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-13 08:09:21 -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
renovate[bot] 7516e61c5b
chore(deps): update dotnet monorepo to v7.0.2 2023-01-10 14:50:35 +00: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
Bond-009 817996da4b
Merge pull request #7494 from Shadowghost/streambuilder-cleanup 2022-12-29 15:21:28 +01: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
Niels van Velzen 7a3a9fb7e4 Remove deprecated Password field from AuthenticateUserByName 2022-12-19 21:44:54 +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
renovate[bot] 02f9e60e7c
chore(deps): update dotnet monorepo to v7.0.1 (#8900)
* chore(deps): update dotnet monorepo to v7.0.1

* Update docker sdk

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-12-15 20:13:11 -07:00
Bond-009 8258d884f3
Merge pull request #8734 from nielsvanvelzen/qc-revoke 2022-12-07 18:14:16 +01:00
Shadowghost 697efec86e Cleanup and refactor streambuilder 2022-12-07 18:00:01 +01:00
Bond_009 fd9dc1e308 Update deps 2022-12-07 16:56:32 +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 236dd650d0 Update projects to .net7 2022-12-07 16:42:05 +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
Bond-009 210a4921f2
Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis (#8709) 2022-12-05 13:54:28 +01:00
Cody Robibero bf3ff15843
Merge pull request #8546 from nyanmisaka/fix-fmp4-flac-opus 2022-12-03 08:51:04 -07: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
Cody Robibero 4e34c428d8 Merge branch 'master' into fix-fmp4-flac-opus 2022-11-27 08:49:52 -07:00
Cody Robibero 5787ab15dc
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
2022-11-27 08:02:32 -07: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
Dominik 5f274beded Fix logs for TranscodingThrottler not working 2022-11-14 10:11:09 +01:00
Bond-009 1b7500c555
Merge pull request #8732 from thornbill/fix-items-access 2022-11-13 12:19:16 +01:00
Bill Thornton c6dbcb661b Use elevated access control for media folders endpoint 2022-11-10 01:04:16 -05:00
renovate[bot] 42399dde9c
chore(deps): update dotnet monorepo (#8708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-11-09 19:09:09 -07: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
renovate[bot] b4f4121bcc
chore(deps): update dotnet monorepo 2022-10-18 23:41:35 +00:00
nyanmisaka 37daeffafa Add support for OPUS and fixes for FLAC case issue in HLS
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-10-13 18:49:25 +08: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
Claus Vium 719e5eae16
Merge pull request #8503 from Bond-009/ThrowIfNull 2022-10-07 07:50:39 +02:00
Bond_009 f5613add1a Remove extra argument 2022-10-06 20:39:22 +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
Cody Robibero 3716077495 Backport pull request #8433 from jellyfin/release-10.8.z
Update to dotnet 6.0.9

Original-merge: 4ec82ec662

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:12:50 -04: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
nyanmisaka 0309c5622e Backport pull request #8213 from jellyfin/release-10.8.z
Fix high single thread usage in throttler

Original-merge: ba026716c1

Merged-by: Claus Vium <cvium@users.noreply.github.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 31ec521f5e Remove now unused variables 2022-09-11 19:15:33 -04:00
1hitsong cecca5f715 Remove unneeded 2nd loops 2022-09-11 19:13:02 -04:00
1hitsong 3928d02e17 Resolve Possible null reference 2022-09-11 16:13:17 -04:00
1hitsong 97f8a63b89 Allow LRC start value to be null 2022-09-11 15:56:34 -04:00
1hitsong 9d5cf67dfe Create ILyricsProvider 2022-09-11 15:50:27 -04: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 d24444b6d3
Update Jellyfin.Api/Models/UserDtos/Lyrics.cs
Co-authored-by: Neil Burrows <neil@pawprint.co.uk>
2022-09-10 10:51:05 -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
Cody Robibero eb28fcc9c1
Merge pull request #8269 from jellyfin/dependabot/nuget/Swashbuckle.AspNetCore.ReDoc-6.4.0 2022-09-09 07:45:33 -06: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
dependabot[bot] 05334275a9
Bump Swashbuckle.AspNetCore.ReDoc from 6.3.1 to 6.4.0
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.3.1 to 6.4.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.3.1...v6.4.0)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 12:01:13 +00: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
Cody Robibero 010228b3c0 Backport pull request #8234 from jellyfin/release-10.8.z
update to dotnet 6.0.8

Original-merge: 31f9938e3a

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13 21:46:35 -04: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 be3d57ad41 Backport pull request #8115 from jellyfin/release-10.8.z
Update to dotnet 6.0.7

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

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Original-merge: d0fd23bb4b
2022-07-20 19:29:09 -04: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
Joshua M. Boniface 3061446c87 Merge pull request #7984 from crobibero/dotnet-6.0.6
Upgrade to dotnet 6.0.6, update remaining dependencies

(cherry picked from commit 56e7b323de)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:36 -04:00
Joshua M. Boniface c0e4a33a0b Merge pull request #7955 from nyanmisaka/fix-ext
(cherry picked from commit 52704e8dd0)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:15 -04:00
Cody Robibero 38102499cb Merge pull request #7947 from nyanmisaka/video-range-condition
(cherry picked from commit f1d56aa5ce)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -04:00
Cody Robibero a168040cc8 Merge pull request #7941 from jellyfin/fix-overflow
(cherry picked from commit fd4ffc6ba3)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -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 97b3166ead Merge pull request #7784 from crobibero/support-transcoding
(cherry picked from commit d471be8d92)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-26 13:36:46 -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
Joshua M. Boniface bc1a78575a Merge pull request #7766 from crobibero/dotnet-6.0.5
(cherry picked from commit 71bf567045)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:00:15 -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
dependabot[bot] 812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 (#7726)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 15:24:09 +02:00
dependabot[bot] 28921f09e4
Bump Swashbuckle.AspNetCore.ReDoc from 6.3.0 to 6.3.1 (#7659)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 12:06:20 +02:00
Joshua M. Boniface 96d2d2428a Merge pull request #7590 from crobibero/dotnet-6.0.4
(cherry picked from commit 5778541d2f)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-17 15:45:47 -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 96a03776e1 Fix TranscodeReasons property name 2022-03-26 12:20:29 -06:00
Nils Fürniß eb44f892b8
Only extract attachments from external .mks file 2022-03-22 19:17:48 +01:00
Nils Fürniß 90463d5e4f
Pass CancellationToken to ExtractAllAttachments 2022-03-22 19:17:48 +01:00
Nils Fürniß 6904edf68c
add extracting attachments from external subs 2022-03-22 19:17:48 +01:00
dependabot[bot] dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:22:11 +00:00
Cody Robibero 6a567e8c76
Merge pull request #7474 from nielsvanvelzen/api-secure 2022-03-18 16:52:59 -06:00
dependabot[bot] 4b5148c69e
Bump Swashbuckle.AspNetCore.ReDoc from 6.2.3 to 6.3.0 (#7457)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-18 22:38:55 +01: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
Niels van Velzen 6bb50d5728 Change operation name in ItemRefreshController 2022-03-12 15:43:29 +01:00
Claus Vium 53209830e7
Merge pull request #7346 from Bond-009/guid
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Joshua M. Boniface 388e0cba9f
Merge pull request #7434 from crobibero/dotnet-6.0.3 2022-03-10 12:47:18 -05:00
nyanmisaka b2c58338f2 Fix the fMP4 HLS audio sync issue on Safari 2022-03-09 21:28:58 +08:00
Cody Robibero 965bf7332f Update to dotnet 6.0.3 2022-03-08 17:16:33 -07:00
Cody Robibero bbd5d11d3b Remove TranscodeReason.None, Add JsonFlagEnum tests 2022-03-06 18:13:54 -07:00
Cody Robibero c331e11c24 Clean up EnumFlags serialization 2022-03-06 18:13:54 -07:00
Isaac Gordezky 5e779f20ee Series: issue-6450
Issue: https://github.com/jellyfin/jellyfin/issues/6450

Enable DirectPlay responses
Rewrite DirectPlay and DirectStream resolution
Prefer copy transcode video codec options
Enhance condition processor
Support DirectStream and Transcode with parity
Rework audio stream selection and add tests for ExternalAudio
Update MediaInfoHelper to only call StreamBuilder once
2022-03-06 18:13:54 -07:00
Isaac Gordezky d871dded9f Convert TranscodeReason to Flags 2022-03-06 18:13:54 -07:00
Cody Robibero b37052a4a6 Fix build 2022-03-06 06:34:04 -07:00
Bond-009 2579b2db56
Merge pull request #7137 from SenorSmartyPants/master 2022-03-05 20:54:36 +01:00
Joshua M. Boniface 947ff9defe
Merge pull request #7404 from nyanmisaka/omx 2022-03-05 14:35:41 -05:00
Joshua M. Boniface a123391e7e
Merge pull request #7383 from thornbill/next-up-rewatching 2022-03-05 14:29:49 -05:00
nyanmisaka 3bf83025f2 Fallback to no HWA when reporting transcoding info 2022-03-06 00:12:16 +08:00
Bond-009 eff3d3e67e
Merge pull request #7275 from Nalsai/burn-subtitle-attached-fonts 2022-03-01 11:21:19 +01:00
Bill Thornton 055c63bdee Include played and unplayed results in the same next up request 2022-03-01 00:50:16 -05:00
Bill Thornton f32b2cb592 Add resume book as default home section 2022-02-28 16:33:17 -05:00
Bond_009 acf30e00ce Remove obsolete code for premium plugins 2022-02-28 00:46:34 +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
SenorSmartyPants bbac59c6d6
Rewatching next up (#7253) 2022-02-20 18:05:57 +01:00
Isaac Gordezky 48a7d3f48f [Bugfix] Report transcoding complete
Currently, when transcoding finishes it is not reported - leaving the UI with an incomplete transcode %
This change reports transcoding progress as empty / complete when the transcoding job finishes
2022-02-18 13:01:19 +00:00
Cody Robibero 4ef0099598
Merge pull request #7233 from Bond-009/warn60 2022-02-14 16:57:00 -07:00
Joshua M. Boniface 94b5334da5
Merge pull request #7290 from crobibero/dotnet-6.0.2 2022-02-14 11:01:55 -05:00
Bond_009 1c14c86b20 Fix some warnings 2022-02-14 14:46:04 +01:00
cvium 8ec71c094a Change KeepReading to StopReading and use bytes read as an indicator 2022-02-12 09:51:47 +01:00
Nils Fürniß ab40554759
add extracting attachments for ffmpeg to burn subs 2022-02-10 01:01:08 +01:00
Cody Robibero b98cc71c3b Update to dotnet 6.0.2
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-02-08 17:36:20 -07:00
Cody Robibero e5701c396a
Merge pull request #6436 from daullmer/splashscreen 2022-01-28 08:12:21 -07: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
Bond-009 cd675475bc
Merge pull request #7225 from crobibero/query-result 2022-01-21 19:50:08 +01:00
Cody Robibero 34ee6d82fb
Merge pull request #6600 from cvium/keyframe_extraction_v1 2022-01-20 08:54:40 -07:00
Cody Robibero a60cb280a3 Properly populate QueryResult 2022-01-20 08:53:06 -07:00
Bond-009 3aeae150f8
Merge pull request #7176 from dmitrylyzo/fix-trailers-1 2022-01-19 22:47:08 +01:00
Claus Vium 1a32153a31
Merge pull request #7197 from dmitrylyzo/fix-max-resolution
Fix maximum video resolution for dynamic HLS controller
2022-01-18 07:54:48 +01:00
Bond-009 ef0708d876
Merge pull request #7078 from 1337joe/metadata-merge-data 2022-01-16 23:17:40 +01:00
Dmitry Lyzo 000b7ba62b Fix maximum video resolution for dynamic HLS controller 2022-01-16 21:42:04 +03:00
Dmitry Lyzo 60fe77c089
Remove unnecessary array allocation
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-01-16 13:34:52 +03:00
Dmitry Lyzo 5aa748058e Fix duplication of local trailers 2022-01-14 23:06:45 +03:00
cvium 6ffa9539bb Refactor and add scheduled task 2022-01-11 23:30:30 +01:00
Cody Robibero 8a36fe7ed5 Use png for storage 2022-01-10 17:01:17 -07:00
Cody Robibero 0d335082c8 suggestions from review 2022-01-10 10:59:32 -07:00
Cody Robibero ecb73168b3 Suggestions from review 2022-01-10 08:26:30 -07:00
Bond_009 05836c8cd3 Fix warning SA1414 and CA1849 2022-01-10 10:57:32 +01:00
SenorSmartyPants d5e7e75421 Remove unused httpContext parameter 2022-01-08 19:53:53 -06:00
Joe Rogers b43f46d5c9
Make identify flag describe purpose, not source 2022-01-08 14:03:59 +01:00
Cody Robibero 9b1965b48a
Merge pull request #7101 from Bond-009/imagejpg
Remove incorrect mime type image/jpg
2022-01-08 04:45:58 -07:00
SenorSmartyPants 3ea54a8009 Remove isHeadRequest from GetStaticFile method signatures 2022-01-07 18:21:48 -06:00
SenorSmartyPants bd2bec4d4a Remove special HTTP HEAD processing
removing this allows HTTP 206 Partial Content responses and lets some clients(popcorn hour namely) play videos from JF.
2022-01-07 16:29:22 -06:00
cvium c658a883a2 Merge branch 'master' into keyframe_extraction_v1
# Conflicts:
#	Jellyfin.Api/Controllers/DynamicHlsController.cs
#	MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs
#	MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
2022-01-07 10:23:22 +01:00
Bond_009 77c615ba42 Error on SA1316 2022-01-05 10:58:57 +01:00
Cody Robibero 360fd70fc7 Clean up 2022-01-04 08:44:03 -07:00
David Ullmer 9e0958d822 Apply suggestions from code review 2022-01-04 08:20:16 -07:00
David Ullmer c70452b4a4 Add missing response code documentation 2022-01-04 08:20:16 -07:00
David Ullmer 68db3be0e7 Remove darkening filter from Splashscreen
Using the foregroundLayer parameter has the same effect
2022-01-04 08:20:16 -07:00
David Ullmer e026ba84c5 Add Splashscreen API endpoint to ImageController 2022-01-04 08:20:16 -07:00
David Ullmer 3fb3ee074a Remove splashscreen generation from IImageEncoder and add IImageGenerator 2022-01-04 08:20:16 -07:00
David Ullmer 0fd4ff4451 Always use 1080p, add max parental rating 2022-01-04 08:20:16 -07:00
David Ullmer c934269a6e Add api controller for splashscreen 2022-01-04 08:20:16 -07:00
Bond_009 dc222b75c5 Remove incorrect mime type image/jpg 2022-01-04 10:40:16 +01:00
Joe Rogers 853ef727da
Add refresh flag to remove existing data/images
Fixes #7040
2022-01-02 22:21:05 +01:00
Cody Robibero 7bfc6b5679 Remove more warnings 2021-12-27 07:38:06 -07:00
Cody Robibero 78bb581f0c
Merge pull request #6934 from nyanmisaka/hwa
HWA pipeline refactor, AMD/Intel/Nvidia full hardware filtering support, AV1 hwdec
2021-12-26 17:32:06 +00:00
Bond_009 cbfa355e31 Update StyleCop 2021-12-24 18:28:27 +01:00
nyanmisaka 728a5988b3 Merge remote-tracking branch 'origin/master' into hwa 2021-12-25 00:33:17 +08:00
Claus Vium d0832c60d4 Merge DynamicHlsController and VideoHlsController (#119)
* Merge DynamicHlsController and VideoHlsController

Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2021-12-24 17:03:57 +08:00
nyanmisaka 4b9c84c52e EncodingHelper hwaccel pipelines refactor
separate the HW pipeline according to HWA method for maintainability.
2021-12-24 17:03:57 +08:00
Cody Robibero 17f43c8e01
Update Jellyfin.Api/Controllers/VideoHlsController.cs 2021-12-24 02:42:43 +00:00
Cody Robibero 634ce40c2f
Merge branch 'master' into comparisons 2021-12-24 02:41:50 +00:00
Cody Robibero 55b429edb7
Merge pull request #6920 from marius-luca-87/subtitle_drop 2021-12-24 02:01:44 +00:00
Cody Robibero 076a13abeb
Merge pull request #7029 from cvium/allocations_maybe 2021-12-24 01:59:25 +00:00
Cody Robibero 259bc231d6
Merge pull request #6867 from yresquirol/related-media 2021-12-24 01:59:11 +00:00
Cody Robibero 7774cb2067
Update Jellyfin.Api/Controllers/LibraryController.cs 2021-12-23 20:46:27 +00:00
cvium b880dc8a4a Use our own Contains extension 2021-12-20 13:31:07 +01:00
Cody Robibero d9bc65469f Fix query param spelling 2021-12-18 17:17:03 -07:00
Cody Robibero 923720c988
Merge pull request #6956 from cvium/what_could_go_wrong 2021-12-17 07:51:32 -07:00
Joshua M. Boniface 7405450da2
Merge pull request #7002 from crobibero/dotnet-6.0.1 2021-12-15 10:36:18 -05:00
Claus Vium 9a0618552b
Merge branch 'master' into what_could_go_wrong 2021-12-15 08:38:39 +01:00
Cody Robibero 5e8aaa68cf Update to dotnet 6.0.1 2021-12-14 23:47:07 -07:00
Cody Robibero 32629cd7da Use BaseItemKind where possible 2021-12-12 06:11:27 -07:00
Cody Robibero 4d1b824651
Merge pull request #6902 from cvium/migrate_networkconfig
Migrate network configuration safely
2021-12-11 12:04:58 -07:00
Marius Luca 7d86ef6f22 - add an option for dropping specific subtitle formats using the DLNA SubtitleProfile 2021-12-09 17:52:51 +02:00
cvium fde84a1e00 Refactor extras parsing 2021-12-07 15:24:57 +01:00
Marius Luca eaa003775f - take into account the streams dlnaheaders query parameter set by the DidlBuilder NormalizeDlnaMediaUrl function 2021-11-30 16:09:02 +02:00
Claus Vium ca887518dd
Use the Memory overload for ReadAsync (#6865) 2021-11-27 03:23:46 +01:00
cvium 0485ff1899 Create a store key constant for network 2021-11-24 13:42:14 +01:00
cvium 69df004b9f Migrate network configuration safely 2021-11-24 13:00:12 +01:00
Claus Vium 39e6658d01
Merge pull request #6879 from crobibero/client-log-cleanup
Remove ClientLog endpoints
2021-11-21 23:57:13 +01:00
Cody Robibero ea355b4262 Remove ClientLog endpoints 2021-11-20 08:47:05 -07:00
Cody Robibero 8295a3be0d Add ability to exclude active sessions from resumable items 2021-11-19 14:07:50 -07:00
Yordany Rodriguez Esquirol 3734c95fd4 Related media according to genre 2021-11-18 15:23:47 -05:00
Bond_009 257e1be95f Fix some warnings 2021-11-16 16:31:57 +01:00
cvium b50c3852ef Remove unused dependencies 2021-11-16 12:24:17 +01:00
Marius Luca 4e0edaf544 - ensure the proper StartTimeTicks variable is forwarded to the AddDlnaHeaders function 2021-11-15 15:34:02 +02:00
Cody Robibero 4a28f46cac Don't throw exception on unauthenticated requests 2021-11-13 07:27:28 -07:00
Cody Robibero 01a1209f0e
Merge pull request #6836 from cvium/apphost_light_cleanup 2021-11-13 07:02:39 -07:00
cvium 5a65bc1e69 Very light cleanup in applicationhost 2021-11-13 14:37:26 +01:00