Patrick Barron
192559db32
Make ILiveStream an IDisposable
2023-12-05 14:26:35 -05:00
Patrick Barron
5c593b120a
Don't use List directly in ITunerHost method signatures
2023-12-05 13:35:18 -05:00
Patrick Barron
3ecd68d832
Use ConfigureAwait in SharedHttpStream
2023-12-05 13:35:18 -05:00
Patrick Barron
4ec32b71f5
Use ConfigureAwait in M3uParser
2023-12-05 13:35:18 -05:00
Patrick Barron
42c95da6b0
Use ConfigureAwait in BaseTunerHost
2023-12-05 13:35:18 -05:00
Patrick Barron
f1a5bc955b
Use string.Contains in LiveTv
2023-12-05 13:35:18 -05:00
Patrick Barron
67b4cef77a
Use implementation types in LiveTv
2023-12-05 13:35:14 -05:00
Bond_009
b62b0ec2b5
Fix warnings
2023-11-14 21:14:21 +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
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
Stepan Goremykin
f84469d500
Remove redundant using directives
2023-10-08 00:50:02 +02:00
Stepan Goremykin
a3d3ec7e0b
Remove redundant SuppressFinalize call
2023-10-07 23:41:45 +02:00
Hagay Goshen
34c4c9f034
allow repeated same tv guide m3u channels , issue 6527
2023-10-02 13:48:32 +03:00
cvium
2e32e335ac
refactor: use ConcurrentDictionary when IMemoryCache isn't needed
2023-08-18 14:00:56 +02:00
Bond-009
b95fa294c9
Merge pull request #9799 from Bond-009/genregex
2023-07-06 19:56:00 +02:00
Joshua M. Boniface
93b400343e
Merge pull request #8147 from Shadowghost/network-rewrite
2023-07-03 13:16:21 -04:00
Bond_009
b5f0760db8
Use RegexGenerator where possible
2023-06-28 17:07:57 +02:00
Bond-009
f954dc5c96
Do HEAD request to get content type instead of checking for extension ( #8823 )
2023-06-27 21:36:39 -06:00
Shadowghost
b37e9209df
Apply review suggestion
2023-05-22 10:39:58 +02:00
Shadowghost
6cc1203c1b
Merge branch 'master' into network-rewrite
2023-05-09 15:25:41 +02:00
Stepan Goremykin
dabdc86a1b
Pass cancellation token
2023-04-06 19:25:25 +02:00
Stepan Goremykin
c051736c80
Inline out variable declaration
2023-04-06 19:21:29 +02:00
Shadowghost
520c07e8ca
Merge branch 'master' into network-rewrite
2023-03-16 11:07:22 +01:00
gitteric
af611367c1
Fall back to using "logo" attrib if "tvg-logo" is mssing in M3U-tuner ( #9475 )
...
Co-authored-by: gitteric <you@example.com>
2023-03-12 09:45:48 -06:00
Shadowghost
80b8661008
Merge branch 'master' into network-rewrite
2023-03-03 10:42:24 +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
Bond_009
b119c6d868
StringComparison.Ordinal instead of StringComparison.OrdinalIgnoreCase
2023-02-20 10:14:08 +01:00
Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2023-02-19 16:52:29 +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
65d605b17d
Improve ffprobe json parsing and don't log error for Codec Type attachment
2023-02-01 14:58:04 +01:00
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2022-12-07 16:43:59 +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
Michael Powers
84d1b07849
Fix incorrect starting offset of buffer span in CheckTunerAvailability.
...
Resolves #7154
2022-11-10 23:29:21 -05:00
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
Bond-009
e1e4ac75e4
Merge pull request #8267 from luzpaz/typos
2022-08-22 17:50:42 +02:00
knackebrot
c3405d25fd
Make IgnoreDts configurable for M3U tuner
2022-08-18 01:08:03 +02:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Bond_009
1c14c86b20
Fix some warnings
2022-02-14 14:46:04 +01:00
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
2022-02-06 15:25:48 -07:00
Bond_009
e7be01d7a5
Flush to disk async where possible
2022-01-22 23:36:42 +01:00
Bond_009
832da133d8
Always create TaskCompletionSource<T> with TaskCreationOptions.RunContinuationsAsynchronously
2022-01-22 17:06:57 +01:00
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
2022-01-10 10:57:32 +01:00
Bond_009
3ab0afdc6b
Remove task cancellation hacks
2022-01-07 11:24:36 +01:00
Cody Robibero
7bfc6b5679
Remove more warnings
2021-12-27 07:38:06 -07:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
2021-12-24 02:41:50 +00:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00