Stepan Goremykin
dabdc86a1b
Pass cancellation token
2 years ago
Stepan Goremykin
c051736c80
Inline out variable declaration
2 years ago
gitteric
af611367c1
Fall back to using "logo" attrib if "tvg-logo" is mssing in M3U-tuner ( #9475 )
...
Co-authored-by: gitteric <you@example.com>
2 years ago
Bond-009
5b493e14ac
Improve alternate ordering ( #9336 )
2 years ago
Bond_009
b119c6d868
StringComparison.Ordinal instead of StringComparison.OrdinalIgnoreCase
2 years ago
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)
2 years ago
Bond_009
65d605b17d
Improve ffprobe json parsing and don't log error for Codec Type attachment
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Michael Powers
84d1b07849
Fix incorrect starting offset of buffer span in CheckTunerAvailability.
...
Resolves #7154
2 years ago
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);
```
2 years ago
Bond-009
e1e4ac75e4
Merge pull request #8267 from luzpaz/typos
2 years ago
knackebrot
c3405d25fd
Make IgnoreDts configurable for M3U tuner
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
Bond_009
1c14c86b20
Fix some warnings
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Bond_009
832da133d8
Always create TaskCompletionSource<T> with TaskCreationOptions.RunContinuationsAsynchronously
3 years ago
Bond_009
05836c8cd3
Fix warning SA1414 and CA1849
3 years ago
Bond_009
3ab0afdc6b
Remove task cancellation hacks
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
474b035d99
Fix some warnings
3 years ago
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
cvium
f03e77a4d5
Merge branch 'master' into TVFix
3 years ago
Claus Vium
eea2ba9b68
Merge pull request #6678 from Bond-009/random
...
Use new Random.Shared instead of creating new instances
3 years ago
Bond_009
d05062fec0
Use new Random.Shared instead of creating new instances
3 years ago
Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
3 years ago
Claus Vium
17273a6075
Merge pull request #6614 from Bond-009/warn36
3 years ago
Bond_009
79642af3b8
Fix some warnings
3 years ago
Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond-009
32ea4806f8
Merge pull request #6538 from cvium/livetv_oh_no
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
cvium
f3573b061c
Remove the unused arg
3 years ago
cvium
1603d1928e
Kill ProgressiveFileCopier and seek to end for ongoing livetv
3 years ago
cvium
153e920239
Ignore published server url for local access
3 years ago
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
3 years ago
cvium
ffe5ae8056
Merge branch 'master' into TVFix
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Mark Titorenkov
a0ee16d38d
Update M3U Channel Name Precedence
...
Sets the ExtInf display name to have a higher precedence than the `tvg-name` attribute for channel names.
Usually `namInExtInf` is a more descriptive and human readable name if both it and `tvg-name` are available. `tvg-name` is more likely to be an internal identifier such as just the channel number with a prefix in my provider's case.
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Claus Vium
e3c2a8a3be
Update Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs
3 years ago
Claus Vium
08152d2a98
Apply suggestions from code review
3 years ago