Commit Graph

1209 Commits

Author SHA1 Message Date
Vincent Lark
8ee9a0adf9 Forward user_agent config to ffprobe 2023-10-21 23:57:05 +02: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
Stepan Goremykin
8d7e4229ca Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Net/SocketFactory.cs
#	RSSDP/SsdpCommunicationsServer.cs
#	RSSDP/SsdpDeviceLocator.cs
#	RSSDP/SsdpDevicePublisher.cs
2023-10-12 20:11:16 +02:00
Bond_009
d7748cfa04 Multiple Stream changes
* Remove useless MemoryStream in DlnaHttpClient
* Use HttpContent.ReadFromJsonAsync extension
* Call ConfigureAwait for IAsyncDisposable
* Use HttpContent.CopyToAsync where possible
2023-10-11 18:32:57 +02:00
Tim Eisele
dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Bond-009
6b06a43c3f
Merge pull request #10347 from Bond-009/drawing 2023-10-10 13:12:53 +02:00
scampower3
305405c9a1
Combine Title and Overview for multi-episodes files for NFO file (#10080) 2023-10-10 13:12:09 +02:00
Bond_009
c707baed83 Jellyfin.Drawing minor improvements
Reduce duplicate/dead code
2023-10-08 17:10:04 +02:00
Bond-009
406c5df8a3
Merge pull request #10345 from Bond-009/getperson 2023-10-08 14:07:38 +02:00
Stepan Goremykin
8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +02:00
Stepan Goremykin
a37dc3da96 Use async overload 2023-10-08 00:17:48 +02:00
Stepan Goremykin
0870af330d Remove redundant verbatim string prefixes 2023-10-08 00:15:38 +02:00
Bond_009
852f1dc0c1 Don't create non existent persons in LibraryManager.GetPerson
return null instead.

GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist

Fixes #3901
2023-10-05 23:16:17 +02:00
Bond_009
6f2c165cc3 Use Authorization header in integration tests
instead of X-Emby-Authorization

And ensure the response has a successful status code
2023-10-04 16:06:26 +02:00
Bond-009
14b06ecbe2
Merge pull request #10261 from barronpm/ihostlifetime 2023-10-03 11:05:10 +02:00
Bond_009
cc15ea7f65 Ignore .zfs folder
Maybe helps with #10215 ?
2023-09-27 20:35:00 +02:00
Patrick Barron
493de3297a Use IHostLifetime to handle restarting and shutting down 2023-09-23 11:57:38 -04:00
Bond_009
03b6adf068 Fix xUnit1030: Do not call ConfigureAwait in test method 2023-09-18 17:55:52 +02:00
Bond-009
3087881d93
Merge pull request #10056 from Bond-009/nullable2 2023-09-12 11:09:20 +02:00
Lehonti Ramos
bc959270b7
Removed nesting levels through block-scoped using statement (#10025)
Co-authored-by: John Doe <john@doe>
Co-authored-by: Lehonti Ramos <lehonti@ramos>
2023-09-11 12:12:40 +02:00
Cody Robibero
fb8b11276d fix build 2023-09-01 09:35:57 -06:00
Cody Robibero
35a9feaf70 Disable xUnit1028 2023-09-01 09:35:48 -06:00
Nyanmisaka
debbfaa502
Fix MJPEG video is recognized as embedded image (#10173)
fixes 1d729b2

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-08-30 17:19:52 -06:00
Bond_009
d92e9ae85e Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-08-22 18:11:34 +02:00
Claus Vium
1e2f199ea4
Merge pull request #10053 from christianlegge/date-formats
Add parsing for dates with spaces
2023-08-10 10:16:20 +02:00
Bond_009
084e0bf450 Fix error in test preventing Moq update (#10096) 2023-08-08 14:17:46 +02:00
Bond-009
07727e1d63
Merge pull request #9875 from Shadowghost/fixes 2023-08-01 20:26:21 +02:00
Bond-009
d3c7af0d5c
Fix Jellyfin.Networking.Tests (#10055) 2023-07-29 15:52:26 -06:00
Bond_009
5677566a41 Enable nullable for more files 2023-07-29 21:35:38 +02:00
scatter-dev
14a762b2f1 added test case, fixed regexes 2023-07-28 16:06:55 -04:00
Christoph Landsdorf
48eb6f655b Change: Update parental code count for DE in test 2023-07-20 10:10:02 +00:00
Shadowghost
05d98fe24c Enforce permissions on websocket connections 2023-07-07 08:50:37 +02:00
Bond-009
5b711f38d1
Merge pull request #9958 from Shadowghost/networking-fixex 2023-07-06 19:56:17 +02:00
Bond-009
b95fa294c9
Merge pull request #9799 from Bond-009/genregex 2023-07-06 19:56:00 +02:00
Shadowghost
e56275fb46 Extract networking constants 2023-07-03 22:04:59 +02:00
Shadowghost
9b0e44019a Apply review suggestions 2023-07-02 12:40:49 +02:00
Bond_009
b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
Shadowghost
32499f0e98 Merge branch 'master' into network-rewrite 2023-06-15 17:53:52 +02:00
Cody Robibero
fe9e764af2
Merge pull request #9564 from AmbulantRex/whitelist-dlls 2023-06-10 07:28:37 -06:00
Shadowghost
006b04dc0b Merge branch 'master' into network-rewrite 2023-06-07 08:25:32 +02:00
Cody Robibero
cb788dbd73 Mock configuration to get SqliteCacheSizeKey during test 2023-06-05 16:47:50 -06:00
Shadowghost
c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
SenorSmartyPants
11d7c00de9
Fix local JPG primary image for video being overwritten by screen grabber (#9552) 2023-05-10 17:46:55 -06:00
Shadowghost
6cc1203c1b Merge branch 'master' into network-rewrite 2023-05-09 15:25:41 +02:00
AmbulantRex
c717425549 Remove unnecessary type extension and handle feedback. 2023-04-16 18:47:57 -06:00
AmbulantRex
92f50054b2 Add explicit mapping instead of reflection to manifest reconciliation. 2023-04-16 07:46:12 -06:00
AmbulantRex
4a0b135b7a
Merge branch 'jellyfin:master' into whitelist-dlls 2023-04-15 07:11:33 -06:00
Stepan Goremykin
890fe183cf Use default instead of zero for TranscodeReason 2023-04-10 01:44:56 +02:00
AmbulantRex
7dd4201971 Reconcile pre-packaged meta.json against manifest on install 2023-04-09 10:53:09 -06:00
Stepan Goremykin
c051736c80 Inline out variable declaration 2023-04-06 19:21:29 +02:00
Stepan Goremykin
7d7e177265 Remove redundant casts 2023-04-06 19:17:28 +02:00
Stepan Goremykin
26958162d0 Remove unused using directives 2023-04-06 19:17:28 +02:00
AmbulantRex
a944352aa8 Correct style inconsistencies 2023-04-01 04:59:07 -06:00
AmbulantRex
891b9f7a99 Add DLL whitelist support for plugins 2023-03-30 08:59:21 -06:00
Bond_009
8316bd590e Fix #7610 2023-03-27 15:22:21 +02:00
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum (#9487) 2023-03-25 11:52:02 -06:00
Cody Robibero
dd491ce8ff
Merge pull request #9403 from SenorSmartyPants/ExtraCleanAndNFO
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-03-20 07:16:03 -06:00
SenorSmartyPants
b9f7e3971e Add test for cleaning extra names 2023-03-18 21:52:04 -05:00
Bond-009
b2461feffb
Merge pull request #9496 from mammo0/fix_file_stacking 2023-03-18 14:17:59 +01:00
Shadowghost
520c07e8ca Merge branch 'master' into network-rewrite 2023-03-16 11:07:22 +01:00
mammo0
0fd46a100b
fixed typo
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-03-15 13:01:39 +01:00
Bond-009
0c6e2e27a8
Merge pull request #9460 from Shadowghost/rating-overhaul 2023-03-15 12:09:59 +01:00
mammo0
90e8aad05d fixed FourSisters test case
The files should be treated as separate movies and should not be stacked, because the parttype is missing.
2023-03-15 11:56:11 +01:00
mammo0
1c57c52474 fixed stacking test cases
Movies should not be stacked if no parttype is given.
2023-03-15 11:54:44 +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
SenorSmartyPants
04f23a0e73 Change test to allow owned items to run local providers
I need more information about the need for this test, to make sure I am not introducing an issue.
2023-03-09 17:44:12 -06:00
Shadowghost
daefdaf8b0 Extend language code handling 2023-03-09 14:38:20 +01:00
Joe Rogers
361fff3a0c
Fix cases where multiple files are resolved as a single book 2023-03-06 23:27:21 -05:00
Joe Rogers
18b8efa7e0
Add tests for audio book resolving 2023-03-06 23:22:37 -05:00
Joe Rogers
1c3a97bf6a
Inject IDirectoryService where needed instead of passing it through ItemResolveArgs 2023-03-06 23:00:55 -05:00
Joe Rogers
160baa02fd
Remove some BaseItem references to make ItemResolveArgs more usable for testing. 2023-03-06 22:18:26 -05:00
Shadowghost
80b8661008 Merge branch 'master' into network-rewrite 2023-03-03 10:42:24 +01:00
Cody Robibero
4873d2a54d
Fix auth endpoints using api key (#9408) 2023-02-27 05:48:37 -07:00
Cody Robibero
ecb5c48538
Merge pull request #8526 from Shadowghost/rating-overhaul 2023-02-23 07:04:44 -07:00
Bond-009
ccea623c0d
Merge pull request #9365 from Bond-009/friendlyname 2023-02-21 22:43:06 +01:00
Shadowghost
a5bfeb28aa Apply review suggestions 2023-02-20 21:51:15 +01:00
Bond_009
cf29e9a9c5 Fix #7516 2023-02-20 20:33:00 +01:00
Bond-009
5b493e14ac
Improve alternate ordering (#9336) 2023-02-20 08:07:51 -07:00
Shadowghost
c5a363a007 Merge branch 'master' into network-rewrite 2023-02-20 11:58:14 +01:00
Shadowghost
9d21f078c7 Add default rating selections 2023-02-20 11:53:20 +01:00
Shadowghost
ed2280a060 Overhaul content ratings 2023-02-20 11:53:20 +01:00
Bond-009
dd3e74ca0f
Merge pull request #9343 from Lenart12/master 2023-02-19 11:55:29 +01:00
Bond-009
336e08de1e
Merge pull request #9337 from Bond-009/regex 2023-02-18 14:02:47 +01:00
Cody Robibero
a527034ebe
Validate requested user id (#8812) 2023-02-17 23:16:08 +01:00
Lenart Kos
40a1e1924a Add rule and tests to fix #9341
Add an additional EpisodeExpression that matches
`Series title Season 3 Episode 9 - Episode title.avi` correctly.
Fixes #9341
2023-02-17 22:40:54 +01:00
Shadowghost
20fd05b050 Consistently write IP in upercase 2023-02-17 19:27:36 +01:00
Shadowghost
42498194d9 Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery 2023-02-17 17:39:11 +01:00
Bond_009
48263078b4 Reduce string allocations by regex 2023-02-17 15:00:06 +01:00
Bond-009
df8346cd63
Merge pull request #9061 from Bond-009/ct 2023-02-16 18:14:38 +01:00
Bond_009
a38cb3ade8 Fix tests 2023-02-16 15:08:04 +01:00
Bond_009
60f41b80f6 Verify ContentType of uploaded images 2023-02-16 15:08:01 +01:00
Shadowghost
3a91c37283 Merge branch 'master' into network-rewrite 2023-02-15 22:40:07 +01:00
Shadowghost
4eba16c672 Apply review suggestions 2023-02-15 22:34:44 +01:00
Bond_009
59920b4052 Make exact match primary video 2023-02-15 18:05:49 +01:00
Bond-009
36b7157589
Fix #9300 (#9312) 2023-02-14 12:08:52 -07:00
cvium
52e2776d8e Merge branch 'master' into simplify_authz
# Conflicts:
#	Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2023-02-12 22:59:48 +01:00
Bond-009
318f11e793
Fix error in XmlTvListingsProviderTests (#9302) 2023-02-12 11:25:54 -07:00
Bond-009
6fb2fac6e4
Always run code analyzers for tests projects (#9304) 2023-02-12 10:54:55 -07:00
Bond-009
5e074ac945
Merge pull request #9253 from Bond-009/nullref 2023-02-12 16:32:00 +01:00
Cody Robibero
32eccc139c LiveTV fixes 2023-02-11 07:46:52 -07:00