Commit Graph

687 Commits

Author SHA1 Message Date
Bond_009 635d67d458 Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Bond_009 99e0d46ad9 Use System.Net.IPNetwork 2023-11-14 21:13:51 +01:00
Bond_009 eb022c49cc Update to .NET 8 2023-11-14 21:12:16 +01:00
Patrick Barron e463dbda47 Move network configuration to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
Patrick Barron 9595636d61 Move network utilities to MediaBrowser.Common 2023-11-12 10:24:34 -05:00
Bond-009 fc694289a9
Merge pull request #10557 from barronpm/dlna-plugin
Move DLNA to Plugin (Part 1)
2023-11-12 16:23:11 +01:00
Cody Robibero 892973a9e3
Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Patrick Barron 2b742be38e Use IHostedService for DLNA 2023-11-09 16:16:28 -05: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
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
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
Patrick Barron b8f4c1de69 Fix documentation for AddDlnaServices 2023-10-11 14:57:29 -04:00
Patrick Barron 44380933a0 Use DI for SsdpCommunicationsServer 2023-10-11 13:35:51 -04:00
Patrick Barron f0618ce335 Minor cleanup in DlnaEntryPoint 2023-10-11 13:26:42 -04: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
Patrick Barron 5b51645381 Don't manually dispose DeviceDiscovery
The lifetime of DeviceDiscovery is managed by DI
2023-10-11 11:49:48 -04:00
Patrick Barron 2e1b8ea62d Remove DlnaEntryPoint.Enabled 2023-10-11 11:37:28 -04:00
Patrick Barron 010cf2340a Use DI for MediaReceiverRegistrarService 2023-10-11 11:12:33 -04:00
Patrick Barron e0b089a375 Use DI for ConnectionManagerService 2023-10-11 11:08:19 -04:00
Patrick Barron effc3d488c Use DI for ContentDirectoryService 2023-10-11 11:05:14 -04:00
Patrick Barron 2b1454530b Add DLNA service collection extensions 2023-10-11 10:33:00 -04:00
Tim Eisele dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Cody Robibero 2920611ffc Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Stepan Goremykin 96c3bde346 Remove redundant nullable directive 2023-10-08 01:26:57 +02:00
Stepan Goremykin fdef9356b9 Use null propagation 2023-10-08 01:25:37 +02:00
Stepan Goremykin 526f9a825c Make files readonly 2023-10-08 00:40:58 +02:00
Bond_009 b176beb88e Reduce string allocations
Some simple changes to reduce the number of allocated strings
2023-10-06 01:04:25 +02:00
Bond_009 5677566a41 Enable nullable for more files 2023-07-29 21:35:38 +02:00
cvium 4b25d65c02 fix: set memorystream position after copying 2023-07-19 12:12:58 +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
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
Bond-009 898bb95564
Fix InvalidOpEx while trying to read HttpResponseContent 2x (#9861) 2023-06-10 07:01:47 -06:00
Shadowghost d8d5c86d49 Merge branch 'master' into network-rewrite 2023-05-25 17:07:43 +02:00
SeaEagle1 126047bfd6
Use compile-time generated regex and remove loglevel check 2023-05-13 00:28:07 +02:00
SeaEagle1 9352a24374
Rescue PlayTo function in case of malformed Xml response
(port from 10.8 fix)
2023-05-12 20:46:01 +02:00
Shadowghost c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
Cody Robibero e1a30a4aef
Merge pull request #8598 from Neuheit/ipv4fallback 2023-05-11 07:12:34 -06:00
Shadowghost 6cc1203c1b Merge branch 'master' into network-rewrite 2023-05-09 15:25:41 +02:00
Stepan Goremykin 26958162d0 Remove unused using directives 2023-04-06 19:17:28 +02:00
Stepan Goremykin 2c03f7e85d Use TryGetValue 2023-04-06 19:17:28 +02:00
Cody Robibero 89be3aa37f
Convert Person.Type to use PersonKind enum (#9487) 2023-03-25 11:52:02 -06:00
Shadowghost 520c07e8ca Merge branch 'master' into network-rewrite 2023-03-16 11:07:22 +01:00
Bond_009 dab75d35d2 Enable nullable for more files 2023-03-07 21:51:48 +01:00
Shadowghost 80b8661008 Merge branch 'master' into network-rewrite 2023-03-03 10:42:24 +01:00