Bond_009
f31224fa8f
Remove sync FileStream hack
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
f6622bd810
Fix issue #6587
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
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
Cody Robibero
7a7fe3e681
Fix types and property names
3 years ago
Mr. Chip53
1a8dcae5e4
Fix #6171
3 years ago
cvium
1a5a74d2a9
Remove more unused args
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
Cody Robibero
23e6c918a2
Remove Linq to index search
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
Cody Robibero
0587b539ec
Suggestions from review
3 years ago
Cody Robibero
47e24a2cf7
Add SchedulesDirect json tests
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
47be1bf69f
Enable nullable for SchedulesDirect
3 years ago
Cody Robibero
bfb37a9ed9
Fix typos
3 years ago
Cody Robibero
8e498b01e7
Fix issues from merge
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
Claus Vium
ffef1baa2f
Merge pull request #6485 from markshark05/patch-1
...
Update M3U Channel Name Precedence
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
d7459fa2ec
Add missing xmldoc
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
645825db36
Enable nullable for more files
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
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
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
3 years ago
Bond_009
0bc0601442
Fix some warnings
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Bond-009
c64bdbb4ff
Merge pull request #6051 from Bond-009/tests7
...
Add tests for Recordinghelper
4 years ago
Bond-009
5acb4e9491
Merge pull request #5999 from Bond-009/legacyhdhomerun
...
Add support for legacy HDhomerun DUAl
4 years ago
Bond_009
a9f44c21eb
Add tests for Recordinghelper
4 years ago
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
4 years ago
Bond_009
ead4e1e977
Add support for legacy HDhomerun DUAl
4 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
4 years ago
BaronGreenback
e682c230bd
Merge branch 'master' into comparisons
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
7ff52bf755
Renamed
4 years ago
BaronGreenback
7936ea59eb
Changed selection method
4 years ago
BaronGreenback
2fbc1190bc
Update LiveTvMediaSourceProvider.cs
4 years ago
cvium
ba2e346d12
prevent cancellationtoken leakage
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
BaronGreenback
851f610e11
Changed other method to match for consistency.
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
4 years ago
Bond-009
631df8c560
Merge pull request #5520 from Bond-009/hdhomerun2
4 years ago
Bond_009
aa76957338
Remove useless code
4 years ago
LIAUD
32853ca244
Add 'group-title' channel parsing
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
f9640f4366
Rewrite HdHomerunManager.ParseReturnMessage
4 years ago
Bond_009
e8b18e5f8f
Add test for HdHomerunManager.ParseReturnMessage
4 years ago
Bond_009
f5789483fd
Add test for HdHomerunManager.WriteSetMessage
4 years ago
Bond-009
b755c25217
Merge pull request #5220 from Bond-009/hdhomerun
4 years ago
David
ece0d67f99
Use FileShare.Read for log files
4 years ago
David
eca3b37d6e
Use FileShare.Read to fix HdHomeRun
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
Bond_009
1c74e2f40e
Fix build
4 years ago
Bond_009
b1fe28d0a6
Use GetEncodingOptions where possible
4 years ago
Bond_009
eba859e33e
Minor improvements
4 years ago
dkanada
13d65318eb
Merge pull request #5223 from Bond-009/minor10
...
Minor improvements
4 years ago
Bond_009
e9f22303a4
Properly forward cancellationTokens
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
Bond_009
e1bc322b70
Add test for WriteGetMessage
4 years ago
Bond_009
3a9fcb6abd
Rewrite packet writing code for HdHomerun
4 years ago
dkanada
aea1c4f310
Merge pull request #5142 from M0ssTee/updateRegex
...
Replaced /d with [0-9], see issue #2923
4 years ago
dkanada
54a3ab15a3
Merge pull request #5005 from jellyfin/bytes
...
JsonSerializer deserialize from bytes where possible
4 years ago
M0ssTee
8f88d0d2cb
Update Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Troy
8c640a1492
Replaced /d with [0-9], see issue #2923
4 years ago
Bond_009
a9b497720d
Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
...
This test uses a very small object (CountryInfo), using a bigger object
would increase the difference in allocated memory.
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:|
| RoundTripBytes | 932.0 ns | 5.09 ns | 4.25 ns | 0.1173 | - | - | 368 B |
| RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 | - | - | 464 B |
```
4 years ago
Bond_009
1ea2b200c0
JsonSerializer deserialize from bytes where possible
...
This is faster and uses way less memory
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------- |---------:|--------:|--------:|--------:|------:|------:|----------:|
| Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 | - | - | 52.08 KB |
| String | 172.8 us | 0.78 us | 0.70 us | 41.5039 | - | - | 127.82 KB |
| Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 | - | - | 31.27 KB |
```
4 years ago
Bond-009
054adf6379
Merge pull request #4853 from Ullmie02/servicestack-json
4 years ago
David
3dec1fd6b2
Use UTF8 encoding and async correctly
4 years ago
David
21fd124bca
Code revie
4 years ago
David
f73bb92ce3
Remove manual N/A removal and write directly to stream
4 years ago
David
043d045448
Put json serializer options in private field
4 years ago
David
e835dfb27d
Use sync string instead of file
4 years ago
David
2a574914ea
Use streams instead of strings
4 years ago
David
196388d607
Remove custom Json serializer from Emby.Server.Implementations
4 years ago
Ryan Petris
c0c0eaec05
new List(int) does not pre-allocate indicies like Arrays, it merely sets the initial capacity.
4 years ago
Claus Vium
f322866127
Merge pull request #4737 from crobibero/missing-ensure-success
4 years ago
crobibero
a9aafbaf5a
Don't throw exception unless needed
4 years ago
Bond_009
c0fde3496c
Add tests for HdHomerunHost.TryGetTunerHostInfo
4 years ago
Bond_009
514d95e5aa
Add tests for HdHomerunHost.GetLineup
4 years ago
Claus Vium
e6650651b3
Merge pull request #4738 from jellyfin/tests8
...
Add tests for HdHomerunHost.GetModelInfo
4 years ago
Bond_009
7027561e19
Add tests for HdHomerunHost.GetModelInfo
4 years ago
Claus Vium
b6ecaccf92
Merge pull request #4730 from crobibero/base-item-dto-guid-nullable
...
Don't serialize empty GUID to null
4 years ago
crobibero
e621244405
Add missing EnsureSuccessStatusCode
4 years ago
crobibero
26e5aacb90
Fix JsonConverter recursion
4 years ago
crobibero
8517b28eba
Make BaseItemDto Guids nullable
4 years ago
crobibero
66a1880a58
Add number to bool json converter
4 years ago
Bond_009
e4fd61411f
Minor improvements
4 years ago
Claus Vium
0a35f35311
Merge pull request #4591 from jellyfin/schedulesdirect
...
Clean up SchedulesDirect
4 years ago