aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks
AgeCommit message (Collapse)Author
2023-03-18Merge pull request #9103 from ↵Bond-009
DarrenRuane/darrenruane_fix_chapter_images_deletion
2023-03-01Reduce log spamBond_009
Fixes #7801
2023-02-15Enable nullable for more filesBond_009
2023-01-16Rename JellyfinDb to JellyfinDbContextPatrick Barron
2023-01-15Fix pre-existing chapter images not being deleted after the chapter image ↵DarrenRuane
generation setting is disabled
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-11-27Use typed loggerBond_009
2022-11-27Investigate some TODO commentsBond_009
2022-10-21remove JellyfinDbProvider and add second level cachingcvium
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
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); ```
2022-03-29Merge pull request #7512 from crobibero/update-pluginCody Robibero
(cherry picked from commit ca67a4814036312326d3f36d894bc47d254d3f91) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-02-15Fix some warningsBond_009
2022-01-10Suggestions from reviewCody Robibero
2022-01-04Clean upCody Robibero
2022-01-04Generate Splashscreen during RefreshMediaLibrary scheduled taskDavid Ullmer
2021-12-27More cleanupBond_009
2021-12-20Use our own Contains extensioncvium
2021-11-09Fix some warningsBond_009
down to 580
2021-11-09Fix some warningsBond_009
609 left
2021-10-02Fix warnings in ScheduledTasksPatrick Barron
2021-09-03Fix some warningsBond_009
2021-09-03Merge remote-tracking branch 'upstream/master' into warn-259810Cody Robibero
2021-09-01Allow zero activity log retention daysqsniyg
2021-08-28Remove more and more warningsCody Robibero
2021-08-13Merge branch 'master' into minor15Bond-009
2021-07-11Fix some warningsBond_009
2021-07-06Minor fixesBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-05-28Fix some warningsBond_009
2021-05-24Create scheduled task for database optimizationFernando Fernández
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-05-05Code Clean up: Convert to null-coalescing operator ?? (#5845)BaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05Code Clean up: Use Pattern Matching (#5838)BaronGreenback
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-04-17Remove unused using directivesBaronGreenback
2021-04-10Use sync Serialize when writing scheduled tasks to diskcvium
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-02-13Minor improvementsBond_009
2021-02-05Merge pull request #5005 from jellyfin/bytesdkanada
JsonSerializer deserialize from bytes where possible
2021-01-18fix delete log taskcrobibero
2021-01-12Open FileStream with FileMode.Create instead of FileMode.OpenOrCreateBond_009
> The OpenWrite method opens a file if one already exists for the file path, or creates a new file if one does not exist. For an existing file, it does not append the new text to the existing text. Instead, it overwrites the existing characters with the new characters. If you overwrite a longer string (such as "This is a test of the OpenWrite method") with a shorter string (such as "Second run"), the file will contain a mix of the strings ("Second runtest of the OpenWrite method"). Ref: https://docs.microsoft.com/en-us/dotnet/api/system.io.file.openwrite?view=net-5.0#remarks
2021-01-12JsonSerializer deserialize from bytes where possibleBond_009
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-03Fix string culture specificityobradovichv
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave behind the {\1c} closing token and instead append </font> token unconditionally to the dialogue text. Add tests. Change AlphanumComparatorTests.cs complementary test data generation from an array shuffle to an array reversal. Although it was previously using a seeded Random, the shuffle itself could result in no rearrangement of elements if the seed or test data changed over time. The reversal guarantees reordering of elements and has the added benefit of simplifying the test code since no special handling is needed for arrays of 2 elements. Change DailyTrigger.cs logging of TriggerDate format to "yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log timestamp format and change DueTime format to culture-invariant "c" format.
2020-12-30Merge branch 'master' into PluginDowngradeCody Robibero
2020-12-29Use UTF8 encoding and async correctlyDavid
2020-12-27Code revieDavid
2020-12-24Put json serializer options in private fieldDavid
2020-12-24Use sync string instead of fileDavid
2020-12-23Use streams instead of stringsDavid
2020-12-23Remove xml docsDavid