Stepan Goremykin
c051736c80
Inline out variable declaration
1 year 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>
1 year 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
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
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
474b035d99
Fix some warnings
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
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
MrChip53
eaa5575b23
Add comment
3 years ago
Chris Simoni
883d28d03d
Update Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
MrChip53
6c42d2345d
Properly stream M3U file over http
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
0bc0601442
Fix some warnings
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
3 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
3 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
3 years ago
LIAUD
32853ca244
Add 'group-title' channel parsing
3 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
Bond_009
e4fd61411f
Minor improvements
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
Bond_009
4b1c9dc9ea
Pass cancellation where possible
4 years ago
Bond_009
c4bb32f259
Access last element by index where possible
4 years ago
crobibero
6763d456ff
Set UserAgent when getting M3u playlist
4 years ago
crobibero
5b93b3b15e
migrate to IHttpClientFactory in M3uParser
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Bond_009
3ab50f5a3f
Address comments
4 years ago
Bond_009
7060934792
Fix some warnings in Emby.Server.Implementations
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
dkanada
5c366e4697
Merge pull request #1612 from Bond-009/warn4
...
Fix warnings
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
2a58c643d2
Fix more warnings
5 years ago
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
5 years ago
Bond-009
bdfd042d70
Merge branch 'master' into fields
6 years ago
Felix Ruhnow
edf5ee0cc4
combining some of the if's and adressing #820
6 years ago
Felix Ruhnow
86089ec03a
Adding support for "tvg-chno"-Tag in M3U Channel Lists
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Andrew Rabert
d7da475aad
Fix User-Agent
6 years ago
Andrew Rabert
8de4eb7d19
Rename ApplicationSemanticVersion to ApplicationVersion
6 years ago
Andrew Rabert
469590c9c5
Merge pull request #508 from EraYaN/api-version-reporting
...
Update internal versioning and user agents.
6 years ago
Erwin de Haan
924ec0c191
Revert Jellyfin.Versioning, Update all versions and user agents.
6 years ago
Erwin de Haan
949393043d
Fixed missing out keyword.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
39ef1106d7
Visual Studio Reformat: Emby.Server.Implementations Part Liv-P
6 years ago