Commit Graph

170 Commits

Author SHA1 Message Date
Cody Robibero
ccfc85af11 Merge pull request #10951 from barronpm/livetv-di
Live TV DI
2024-02-03 08:25:25 -07:00
Mark Cilia Vincenti
f26fc7dfb2 Merge changes 2024-02-03 08:45:14 +01:00
Patrick Barron
34269dee58 Use DI for ILiveTvService 2024-02-02 20:13:24 -05:00
Patrick Barron
775b7eadef Kill circular dependency between LiveTvManager and EmbyTV 2024-02-02 20:13:24 -05:00
Patrick Barron
efd024bafe Use DI for IListingsProvider 2024-02-02 20:13:24 -05:00
Patrick Barron
f0a9639c17 Remove pointless code 2024-01-17 12:14:28 -05:00
Patrick Barron
75c2de110e Remove useless comment 2024-01-17 12:12:24 -05:00
Patrick Barron
5d3acd43e9 Use collection expression 2024-01-17 12:10:42 -05:00
Patrick Barron
502cbe77b2 Use Math.Clamp in GetGuideDays 2024-01-17 12:10:14 -05:00
Patrick Barron
4399b51dca Merge branch 'master' into livetv-guidemanager
# Conflicts:
#	src/Jellyfin.LiveTv/LiveTvManager.cs
2024-01-17 12:08:01 -05:00
Cody Robibero
e7b8d45bbb Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Patrick Barron
3e32f94fb3 Move RefreshGuideScheduledTask to Guide folder 2024-01-17 09:57:38 -05:00
Patrick Barron
59c2ae944d Add IGuideManager service 2024-01-17 09:52:11 -05:00
Patrick Barron
c101d287f2 Remove unused Live TV code 2024-01-15 13:29:55 -05:00
Patrick Barron
c23a038ba8 Remove unnecessary allocations in TunerHostManager 2024-01-15 09:37:03 -05:00
Mark Cilia Vincenti
e47144e7c7 Updated contributors, upgraded to AsyncKeyedLocker 6.3.0 which now supports non-keyed locking using a similar interface and changed SemaphoreSlim-based locks to using AsyncNonKeyedLocker. 2024-01-14 12:11:16 +01:00
Patrick Barron
9c2c066e6f Add ITunerHostManager service 2024-01-12 21:17:09 -05:00
Patrick Barron
449365182c Move LiveTV service registration to extension method 2024-01-12 19:18:18 -05:00
Patrick Barron
063168fc1c Move LiveTvConfigurationFactory to Configuration folder 2024-01-12 18:38:23 -05:00
Patrick Barron
ad51f4f95d Add LiveTv configuration extension 2024-01-12 18:37:14 -05:00
Patrick Barron
41de6d1741 Move StreamHelper to LiveTv project 2024-01-09 11:57:55 -05:00
Patrick Barron
c964ea23bf Move RecordingNotifier to LiveTv project 2024-01-09 10:16:58 -05:00
Patrick Barron
126aa9c893 Move channels to LiveTv project 2024-01-09 10:16:58 -05:00
Patrick Barron
c1a3084312 Move LiveTv to separate project 2024-01-09 10:16:56 -05:00
Patrick Barron
43b32b0d94 Auto Discovery Cleanup (#10793)
* Call GetSmartApiUrl directly in UdpServer.RespondToV2Message

GetSmartApiUrl already returns PublishedServerUrl if set.

* Rewrite auto discovery using UdpClient and BackgroundService

* Respect network address settings in AutoDiscoveryHost

* Always listen on broadcast address in Linux for auto-discovery

* Await udp server tasks in AutoDiscoveryHost

* Only bind to broadcast addresses for IPv4

* Only bind to broadcast if IPv4 is enabled
2024-01-06 13:34:09 -07:00
Patrick Barron
eea676429b Use file-scoped namespaces in Jellyfin.Networking 2023-11-30 12:26:37 -05:00
Patrick Barron
1b821efcf2 Move ExternalPortForwarding to Jellyfin.Networking 2023-11-30 12:23:34 -05:00
Patrick Barron
fc1e27b754 Move SocketFactory to Jellyfin.Networking 2023-11-30 12:03:58 -05:00
Patrick Barron
f1ca1dd7cc Move UdpServerEntryPoint to Jellyfin.Networking 2023-11-30 11:57:09 -05:00
Patrick Barron
9597648ce3 Move Jellyfin.Networking to src 2023-11-30 11:57:07 -05:00
Bond_009
8ee1525894 Fix runtime errors 2023-11-14 22:01:10 +01:00
Bond_009
b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +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
Bond_009
a9ef103c95 Add IDisposableAnalyzers to more projects 2023-11-05 02:01:14 +01:00
Bond-009
ed00d7448b Merge pull request #10472 from cvium/dispose_imagefilter 2023-10-27 12:35:51 +02:00
cvium
0a284dc0ab refactor: cache the resize image filter 2023-10-25 23:29:05 +02:00
cvium
4be0f4267d chore(deps): use Svg.Skia instead of the deprecated SkiaSharp.Svg 2023-10-25 23:05:47 +02:00
Nick
cd662506a1 Merge branch 'master' into trickplay 2023-10-18 19:27:05 -07:00
Bond_009
c707baed83 Jellyfin.Drawing minor improvements
Reduce duplicate/dead code
2023-10-08 17:10:04 +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
afc195286f Start adding IDisposableAnalyzers to projects 2023-09-23 15:15:58 +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
Bond_009
18a311d32f == null -> is null 2023-08-22 21:14:54 +02: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
956e3dab43 fix: accessing Standard* of a Process requires manually disposing them afterwards (#10125) 2023-08-20 20:06:57 +02:00
Nick
6d9e43cfe0 Merge branch 'master' into trickplay 2023-06-28 21:43:23 -07:00
Bond-009
83d6f21fd0 Fix clean regex 2023-06-28 17:40:00 +02:00
Bond_009
b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
JPVenson
3d635269eb Fixed RTL text not beeing rendered properly on Lib images (#9612)
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-06-27 21:32:31 -06:00