Cody Robibero
e263e9c2b1
Merge pull request #7544 from jaantaponen/long-filename-fix
...
(cherry picked from commit 8a1eca09138d50c033b100a63e5f51d18e3669bb)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-20 18:30:56 -04:00
Cody Robibero
1425ef3cb4
Merge pull request #7542 from 1337joe/make-recording-stop
...
Make recording stop at scheduled stop time
(cherry picked from commit 132c85e554db0c80dab6e66ad17c504641431d5b)
Signed-off-by: crobibero <cody@robibe.ro>
2022-04-07 12:54:58 -04:00
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Bond_009
5732e6188c
Fix some warnings
2022-02-15 18:59:46 +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
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
Bond_009
474b035d99
Fix some warnings
2021-11-15 15:57:07 +01:00
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
2021-11-09 22:29:33 +01:00
Claus Vium
c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
...
Fix for Livetv and DLNA when bind interfaces specified.
2021-11-09 19:53:21 +01:00
Bond_009
5726535a26
Fix some warnings
...
609 left
2021-11-09 13:14:31 +01:00
cvium
f03e77a4d5
Merge branch 'master' into TVFix
2021-11-08 10:38:08 +01:00
Claus Vium
1156699481
Merge pull request #6657 from Bond-009/dotnetbug
2021-10-09 12:19:44 +02:00
Patrick Barron
232e48f5e8
Fix warnings in EmbyTV
2021-10-03 21:41:22 -04:00
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
2021-10-03 19:52:38 +02:00
Bond_009
1ee58bf020
Enable nullable for ItemDataProvider
2021-10-01 11:21:22 +02:00
Bond_009
f31224fa8f
Remove sync FileStream hack
2021-09-25 19:44:40 +02:00
Bond_009
f6622bd810
Fix issue #6587
2021-09-21 13:22:40 +02:00
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
2021-09-21 01:21:45 +02:00
cvium
1a5a74d2a9
Remove more unused args
2021-09-10 10:03:42 +02:00
cvium
1603d1928e
Kill ProgressiveFileCopier and seek to end for ongoing livetv
2021-09-10 09:29:14 +02:00
cvium
153e920239
Ignore published server url for local access
2021-09-07 11:48:06 +02:00
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
2021-09-06 13:55:34 +02:00
cvium
ffe5ae8056
Merge branch 'master' into TVFix
2021-09-05 10:11:17 +02:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
2021-09-02 14:02:04 +02:00
Bond_009
645825db36
Enable nullable for more files
2021-08-28 17:32:09 +02:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00
Bond_009
0bc0601442
Fix some warnings
2021-05-28 14:33:54 +02:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
Bond_009
a9f44c21eb
Add tests for Recordinghelper
2021-05-16 01:24:49 +02:00
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
2021-05-06 14:12:43 +02:00
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>
2021-05-05 13:51:14 +02:00
BaronGreenback
7ff52bf755
Renamed
2021-05-03 19:30:56 +01:00
BaronGreenback
7936ea59eb
Changed selection method
2021-05-03 17:27:23 +01:00
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
2021-04-30 15:09:36 +02:00
BaronGreenback
bc1cc2d04a
Remove unused using directives
2021-04-17 11:37:55 +01:00
Bond_009
aa76957338
Remove useless code
2021-04-01 19:16:00 +02:00
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
2021-03-13 22:33:28 +01:00
David
ece0d67f99
Use FileShare.Read for log files
2021-03-09 17:31:31 +01:00
David
60ffa6f514
Use FileShare.None when creating files
2021-03-07 14:43:28 +01:00
Bond_009
1c74e2f40e
Fix build
2021-02-24 02:57:10 +01:00
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 |
```
2021-01-12 15:28:02 +01:00
David
3dec1fd6b2
Use UTF8 encoding and async correctly
2020-12-29 00:35:59 +01:00
David
21fd124bca
Code revie
2020-12-27 11:15:46 +01:00
David
f73bb92ce3
Remove manual N/A removal and write directly to stream
2020-12-26 20:00:54 +01:00
David
043d045448
Put json serializer options in private field
2020-12-24 11:22:34 +01:00