Commit graph

1623 commits

Author SHA1 Message Date
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
Bond-009 6351d1022b
Merge pull request #9254 from Shadowghost/dvdbdfix 2023-03-10 15:48:35 +01:00
Shadowghost 0da5255f12 Apply review suggestions 2023-03-10 15:27:17 +01:00
Shadowghost 47aa07c342 Fix DLNA playback of DVD and BD folders 2023-03-10 15:27:17 +01:00
Shadowghost 2403a0a367 Apply review suggestions 2023-03-10 15:27:05 +01: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
Cody Robibero 4873d2a54d
Fix auth endpoints using api key (#9408) 2023-02-27 05:48:37 -07:00
knackebrot aa99aaebc4 Add audio vbr calculation 2023-02-26 22:37:01 +01:00
knackebrot 3e74377036 Calculate output bitrate from output channel count 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
Bond_009 24a7e210c3 Optimize tryparse
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2023-02-19 16:52:29 +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 87b2bc5dc4
Fix LocalAccessOrRequiresElevationHandler (#9315) 2023-02-14 12:22:07 -07:00
Shadowghost b8ed1f81cd Add back LocalAccessOrRequiresElevationPolicy 2023-02-14 19:06:43 +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 a5e2ae4979 fix merge conflict 2023-02-12 23:01:30 +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 ac118e10f0 remove unnecessary init 2023-02-09 15:01:04 +01:00
cvium f4a7583c46 fix empty user id check for api keys 2023-02-09 13:51:37 +01:00
cvium f984f31896 admins shouldn't be able to circumvent remote access policies 2023-02-09 13:51:37 +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
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