Stepan Goremykin
|
b6cfdb8b92
|
Simplify conditional expression
|
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 |
Patrick Barron
|
8479f0f90c
|
Rename JellyfinDb to JellyfinDbContext
|
2 years ago |
Bond_009
|
c7d50d640e
|
Replace == null with is null
|
2 years ago |
cvium
|
b836fe9685
|
remove JellyfinDbProvider and add second level caching
|
2 years ago |
Cody Robibero
|
3de86ffdb4
|
Fix nullability on DisplayPreferencesDto
Remove duplicate, fix namespace
|
3 years ago |
KonH
|
6cbfdea4c0
|
Fix warning: Type cast is redundant (#2149)
|
3 years ago |
Bond_009
|
f1f72c3060
|
Minor improvements
|
3 years ago |
cvium
|
4d7c1fbdca
|
use int.Parse
|
4 years ago |
cvium
|
cbb855e65f
|
Check for empty string when migrating displaypreferences
|
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 |
crobibero
|
3a6501abe0
|
Fix another key collision in MigrateDisplayPreferencesDatabase
|
4 years ago |
crobibero
|
eefe87f537
|
Remove CustomItemDisplayPreferences unique key collision
|
4 years ago |
crobibero
|
76250a8895
|
Use md5 Guid for legacy compat
|
4 years ago |
crobibero
|
3db6ae91f6
|
Add ItemId to all display preferences
|
4 years ago |
crobibero
|
e765184afa
|
Fix existing DisplayPreferences migration
|
4 years ago |
Cody Robibero
|
1d059bc76b
|
Update Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs
|
4 years ago |
crobibero
|
7375d70396
|
Skip migration if user doesn't exist
|
4 years ago |
crobibero
|
78ae86b86a
|
Apply suggestions from code review
|
4 years ago |
crobibero
|
5f64ab02a0
|
bump System.Text.Json
|
4 years ago |
Patrick Barron
|
ad32800504
|
Switch to unstable chromecast version.
|
4 years ago |
Patrick Barron
|
a6bc4c688d
|
Add using statement to DisplayPreferences migration
|
4 years ago |
Patrick Barron
|
c094916df0
|
Migrate default library display preferences.
|
4 years ago |
Patrick Barron
|
4b8ab1a803
|
Set default value of SortBy during migrations.
|
4 years ago |
Patrick Barron
|
754837f16f
|
Add tv home.
|
4 years ago |
Patrick Barron
|
68a185fd02
|
Serialize/deserialize new entities properly.
|
4 years ago |
Patrick Barron
|
9fcf23bd21
|
Migrate EnableNextVideoInfoOverlay
|
4 years ago |
Patrick Barron
|
0d13d830bb
|
Migrate skip lengths.
|
4 years ago |
Patrick Barron
|
629ffe395f
|
Fixed build errors.
|
4 years ago |
Patrick Barron
|
9f323e5579
|
Add missing chromecast version serialization/deserialization.
|
4 years ago |
Patrick Barron
|
ab396225ea
|
Migrate Display Preferences to EF Core
|
4 years ago |