Commit graph

245 commits

Author SHA1 Message Date
Patrick Barron
fa6d859a51 Rename LiveTvHost to RecordingsHost and move to recordings folder 2024-02-23 09:57:55 -05:00
Patrick Barron
3beb10747f Move GetNfoConfiguration to LiveTvConfigurationExtensions 2024-02-23 09:57:55 -05:00
Patrick Barron
31f285480a Move RecordingNotifier to recordings folder 2024-02-23 09:57:55 -05:00
Patrick Barron
d96fec2330 Move RecordingHelper to recordings folder 2024-02-23 09:57:55 -05:00
Patrick Barron
170b8b2550 Use WaitForExitAsync instead of Exited for recording cleanup 2024-02-21 11:23:53 -05:00
Patrick Barron
0370167b8d Add IRecordingsManager service 2024-02-21 09:42:14 -05:00
Patrick Barron
7baf2d6c6b Add RecordingsMetadataManager service 2024-02-21 09:42:14 -05:00
Patrick Barron
ca1a8ced48 Move IO code to separate folder 2024-02-21 09:42:14 -05:00
Patrick Barron
e13ccfe854 Move timer services to separate folder 2024-02-21 09:42:14 -05:00
Patrick Barron
dfe82a7472 Use DI for timer managers 2024-02-21 09:42:14 -05:00
Patrick Barron
3bdaf640ec Remove unnecessary JSON roundtrip in SaveListingProvider 2024-02-08 15:28:36 -05:00
Patrick Barron
1c11c460b9 Use ValueTuple in GetListingsProviders 2024-02-08 15:27:42 -05:00
Patrick Barron
1a24d26dac Move EpgChannelData to Listings folder 2024-02-08 15:20:48 -05:00
Patrick Barron
42b052a5a6 Add IListingsManager service 2024-02-08 15:20:46 -05:00
Cody Robibero
20f05f8103
Merge pull request #10847 from barronpm/schedulesdirect-fix
SchedulesDirect fix
2024-02-08 08:17:08 -07:00
Patrick Barron
c9311c9e7e Use IHostedService for Live TV 2024-02-07 10:52:36 -05:00
Patrick Barron
24b4d02596 Convert RecordingNotifier to IHostedService 2024-02-07 10:52:36 -05:00
Patrick Barron
99ea6059c7 Use IHostedService for UPnP port forwarding 2024-02-07 10:52:36 -05:00
Patrick Barron
4dd2ed8fb7 Remove some unused drawing code 2024-02-06 10:11:47 -05:00
Patrick Barron
0960438065 Remove ActionableProgress 2024-02-06 09:58:25 -05:00
Patrick Barron
8698b90594 Remove SimpleProgress 2024-02-06 09:50:46 -05:00
Patrick Barron
584636bdd8 Don't dispose HttpClients 2024-02-06 09:37:02 -05:00
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
604f4b2742 Log SchedulesDirect response on request error 2024-01-25 09:33:06 -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
f87a5490ad Fix disposable analyzer warnings in SchedulesDirect 2024-01-12 11:35:34 -05:00
Patrick Barron
bbce1beb1d Don't re-use HttpRequestMessage on re-try in SchedulesDirect 2024-01-12 11:35:34 -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
Nick
ab20ceaad6 Migrate to trickplay table to EF. Rename vars/methods/members to have consistent use of tile and thumbnail 2023-06-26 17:40:10 -07:00
Nick
0e2c362078 Move SkiaSharp related code to Jellyfin.Drawing and IImageEncoder 2023-06-22 16:23:52 -07:00
Bond-009
3982b0e057
Reduce bottlenecks scan code (#9863) 2023-06-21 21:01:47 -06:00
JPVenson
3c22d5c970
#7626 Added handling for common FormatExceptions with Skia loading sv… (#9581)
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-04-10 21:38:07 +02:00
Stepan Goremykin
910617bbc3 Remove redundant 'else' keywords 2023-04-06 19:38:34 +02:00
Stepan Goremykin
26958162d0 Remove unused using directives 2023-04-06 19:17:28 +02:00
Bond-009
5b493e14ac
Improve alternate ordering (#9336) 2023-02-20 08:07:51 -07:00
Bond-009
6fb2fac6e4
Always run code analyzers for tests projects (#9304) 2023-02-12 10:54:55 -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
Bond_009
65d605b17d Improve ffprobe json parsing and don't log error for Codec Type attachment 2023-02-01 14:58:04 +01:00
Cody Robibero
abffd160c3
Remove ability to add a played indicator to images (#9186) 2023-01-28 07:43:13 -07:00
Bond_009
b7f2c8de5b Simplify AlphanumericComparator 2023-01-24 12:47:59 +01: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
Hannes Braun
66eff8b9ca
Allow limiting parallel image encodings to reduce memory usage (#8783) 2023-01-16 10:06:44 -07:00
Patrick Barron
cafc454cfb Use file-scoped namespaces in Jellyfin.Drawing.Skia 2023-01-10 19:41:55 -05:00
Patrick Barron
6c7225b943 Use file-scoped namespaces in Jellyfin.Drawing 2023-01-10 19:38:57 -05:00
Patrick Barron
16e33665a2 Move Jellyfin.Drawing.Skia to src 2023-01-10 19:35:06 -05:00
Patrick Barron
b5da0d1b17
Rename Emby.Drawing and move to src (#9054)
* Move Emby.Drawing to src

* Rename Emby.Drawing -> Jellyfin.Drawing
2023-01-10 05:51:46 -07:00
Bond_009
6bf131b270 Use Diacritics.NET
Last time we had to revert this due to regressions, now those regression
tests seem to succeed with a newer version of Diacritics.NET
2022-12-27 16:53:58 +01:00
Bond_009
fd9dc1e308 Update deps 2022-12-07 16:56:32 +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
556cc8062d Investigate some TODO comments 2022-11-27 14:13:31 +01:00
renovate[bot]
42399dde9c
chore(deps): update dotnet monorepo (#8708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-11-09 19:09:09 -07:00