Bond_009
|
a9f44c21eb
|
Add tests for Recordinghelper
|
4 years ago |
Bond_009
|
ddb04dc12b
|
Use new ReadAllLines extensions
|
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 |
cvium
|
608cba817c
|
Reduce some allocations with the magic of spans etc.
|
4 years ago |
BaronGreenback
|
bc1cc2d04a
|
Remove unused using directives
|
4 years ago |
Bond_009
|
aa76957338
|
Remove useless code
|
4 years ago |
Bond_009
|
a8ed753f6c
|
FxCop -> Net Analyzers (part 2)
|
4 years ago |
David
|
ece0d67f99
|
Use FileShare.Read for log files
|
4 years ago |
David
|
60ffa6f514
|
Use FileShare.None when creating files
|
4 years ago |
Bond_009
|
1c74e2f40e
|
Fix build
|
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 |
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 |
Fernando Fernández
|
e21e00cad5
|
Merge remote-tracking branch 'upstream/master' into no-scaling
|
4 years ago |
Fernando Fernández
|
38c3b6fcd3
|
Fix build and thread detection logic
|
4 years ago |
Bond_009
|
4b1c9dc9ea
|
Pass cancellation where possible
|
4 years ago |
Fernando Fernández
|
94cae4f145
|
Specify threads to ffmpeg properly
|
4 years ago |
Bond_009
|
49569ca0a0
|
Use nameof where possible
|
4 years ago |
crobibero
|
23df4991b6
|
Use proper buffer size
|
4 years ago |
crobibero
|
2a8653b309
|
Merge remote-tracking branch 'upstream/master' into http-client-migrate
|
4 years ago |
crobibero
|
4038d15c83
|
Properly migrate all HttpCompletionOption
|
4 years ago |
Bond_009
|
e653eef44f
|
Fix some warnings
|
4 years ago |
crobibero
|
8d592777c4
|
change to using declaration
|
4 years ago |
crobibero
|
50a1e35765
|
migrate to IHttpClientFactory in EmbyTV
|
4 years ago |
crobibero
|
804b0fc034
|
migrate to IHttpClientFactory in DirectRecorder
|
4 years ago |
Patrick Barron
|
9fa4fff15d
|
Merge branch 'master' into event-rewrite-1
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
|
4 years ago |
Bond_009
|
ab2147751f
|
Make MediaBrowser.MediaEncoding warnings free
|
4 years ago |
Bond_009
|
2b400c99ef
|
Fix warnings
|
4 years ago |
Patrick Barron
|
ca1f15af19
|
Move GenericEventArgs to Jellyfin.Data.Events
|
4 years ago |
Patrick Barron
|
ab396225ea
|
Migrate Display Preferences to EF Core
|
5 years ago |
telans
|
3d9049ef08
|
fix SA1508
|
5 years ago |
telans
|
acd4389653
|
fix SA1005
|
5 years ago |
telans
|
726e116d5b
|
fix SA1510
|
5 years ago |
dkanada
|
403cd3205f
|
Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
|
5 years ago |
aled
|
22a860a806
|
Fix a small number of compile warnings
|
5 years ago |
crobibero
|
44957c5a9a
|
Use typed logger where possible
|
5 years ago |
Vasily
|
668e10ceb7
|
Merge pull request #2767 from Bond-009/nullable3
Enable nullabe reference types for MediaBrowser.Model
|
5 years ago |
Bond_009
|
7439e095e2
|
Merge branch 'master' into nullable3
|
5 years ago |
Bond_009
|
10e381f66f
|
Fix some 'bugs' flagged by sonarcloud
|
5 years ago |
Mark Monteiro
|
43c22a5822
|
Add GetLoopbackHttpApiUrl() helper method to replace forceHttps functionality
Also refactor to use return a Uri instead of a string and use UriBuilder under the hood
|
5 years ago |
Bond_009
|
fc049caba2
|
Merge branch 'master' into nullable3
|
5 years ago |
Mark Monteiro
|
4113288278
|
Fix style issues
|
5 years ago |
Mark Monteiro
|
7152b55747
|
Use a separate line for each property initializer
|
5 years ago |
Bond_009
|
30ce346f34
|
Enable nullabe reference types for MediaBrowser.Model
|
5 years ago |
Mark Monteiro
|
658e963e93
|
replace 'try-finally' with 'using' where appropriate
|
5 years ago |