Commit graph

196 commits

Author SHA1 Message Date
Patrick Barron 9e62b6919f Convert UserDataChangeNotifier to IHostedService 2024-02-07 10:52:36 -05:00
Patrick Barron 4e02d8aa21 Convert LibraryChangedNotifier to IHostedService 2024-02-07 10:52:36 -05:00
Cody Robibero e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Patrick Barron c964ea23bf Move RecordingNotifier to LiveTv project 2024-01-09 10:16:58 -05:00
Patrick Barron 1b821efcf2 Move ExternalPortForwarding to Jellyfin.Networking 2023-11-30 12:23:34 -05:00
Patrick Barron 612edaed7a Fix disposable analyzer issues in ExternalPortForwarding 2023-11-30 12:21:49 -05:00
Patrick Barron a37bd4e659 Use ObjectDisposedException throw helper in ExternalPortForwarding 2023-11-30 12:07:49 -05:00
Patrick Barron f1ca1dd7cc Move UdpServerEntryPoint to Jellyfin.Networking 2023-11-30 11:57:09 -05:00
Patrick Barron 57a2267304 Use ObjectDisposedException throw helper in UdpServerEntryPoint 2023-11-30 11:57:09 -05:00
Patrick Barron 4e61c2b4ec Enable nullable in LibraryChangedNotifier 2023-11-15 20:31:07 -05:00
Patrick Barron 0ea9f713f4 Document LibraryChangedNotifier 2023-11-15 20:07:07 -05:00
Patrick Barron c38bfd281c Use file-scoped namespace 2023-11-15 19:49:15 -05:00
Patrick Barron 7e645dcfc0 Make ILibraryChangedNotifier sealed 2023-11-15 19:48:50 -05:00
Patrick Barron 8f5f0a0310 Combine library item event handlers 2023-11-15 19:39:45 -05:00
Patrick Barron eb4d8e13df Break up long lines 2023-11-15 19:39:44 -05:00
Patrick Barron 98f8cb2ad0 Use target-typed new for fields 2023-11-15 19:39:44 -05:00
Patrick Barron 8eb2fa53b5 Use pattern matching for EnableRefreshMessage 2023-11-15 19:39:44 -05:00
Bond_009 b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +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
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
Tim Eisele dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Stepan Goremykin 526f9a825c Make files readonly 2023-10-08 00:40:58 +02:00
Shadowghost e56275fb46 Extract networking constants 2023-07-03 22:04:59 +02:00
Shadowghost e233a3b074 Apply review suggestions 2023-07-03 15:59:39 +02:00
Shadowghost 32ac3b580c Rename additional values in NetworkConfiguration and add migration for all changed values 2023-07-03 14:03:33 +02:00
Shadowghost 67a58df1a3 Merge branch 'master' into network-rewrite 2023-06-21 07:57:00 +02:00
Frank Riley 1952a915e6 Move hardcoded LibraryUpdateDuration to ServerConfiguration. Fixes #9893.
Signed-off-by: Frank Riley <fhriley@gmail.com>
2023-06-19 07:31:22 -07: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 7af6694594 Fix AutoDiscovery socket creation 2023-02-23 13:55:27 +01:00
Shadowghost 42498194d9 Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery 2023-02-17 17:39:11 +01:00
Shadowghost 4eba16c672 Apply review suggestions 2023-02-15 22:34:44 +01:00
Shadowghost ef085483b2 Merge branch 'master' into network-rewrite 2022-12-20 09:19:45 +01:00
Bond_009 6481376b81 Use DistinctBy introduced in .NET 6 2022-12-19 15:21:42 +01:00
Shadowghost 2c86bd1875 Merge branch 'master' into network-rewrite 2022-12-07 17:40:24 +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
Shadowghost bcd992fb06 Merge remote-tracking branch 'upstream/master' into network-rewrite 2022-12-03 12:44:45 +01:00
ignacio laborde c6bf6e00de Remove unnecessary ToList usage 2022-10-25 00:38:57 +01:00
Shadowghost 26d79a5ce3 Properly name some bind address functions, cleanup logging 2022-10-16 10:22:11 +02:00
Shadowghost 87d0158a4a Fix autodiscovery 2022-10-15 17:27:37 +02:00
Shadowghost ff22f597d2 Fix multiple UDP servers for AutoDiscovery 2022-07-21 19:38:19 +02:00
Shadowghost a2857c5a02 Check if OS is capable of binding multiple sockets before creating autodiscovery sockets 2022-07-21 10:20:20 +02:00
Shadowghost b01d169d28 Implement discovery respecting bind addresses 2022-07-21 09:42:45 +02:00
Claus Vium 53209830e7
Merge pull request #7346 from Bond-009/guid
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Bond_009 16e0d46771 UdpServerEntryPoint: Fix typo 2022-03-08 22:11:06 +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
Bond_009 3cb49d6df0 Fix option to disable server discovery 2022-02-14 14:39:33 +01:00
Cody Robibero 7bfc6b5679 Remove more warnings 2021-12-27 07:38:06 -07:00