aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
AgeCommit message (Collapse)Author
2025-04-30Cleanup Tasks and ValidatorsShadowghost
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-12-12move to new System.Threading.Lock type for better performanceDaniyar Alpyspayev
2024-12-01Implement TaskTriggerInfoType enum (#12783)Ethan Pippin
2024-09-04Cleanup tasksShadowghost
2024-04-30More efficient array creation (#11468)Bond-009
2024-02-06Remove SimpleProgressPatrick Barron
2023-03-01Reduce log spamBond_009
Fixes #7801
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
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-02-15Fix some warningsBond_009
2021-12-27More cleanupBond_009
2021-11-09Fix some warningsBond_009
down to 580
2021-10-02Fix warnings in ScheduledTasksPatrick Barron
2021-08-28Remove more and more warningsCody Robibero
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-05-28Fix some warningsBond_009
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-05Merge pull request #5005 from jellyfin/bytesdkanada
JsonSerializer deserialize from bytes where possible
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 | ```
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
2020-12-23Remove custom Json serializer from Emby.Server.ImplementationsDavid
2020-11-14Replace Task.WaitAll with Task.WaitBond_009
2020-10-17Use nameof where possibleBond_009
2020-08-24Merge branch 'master' into event-rewrite-1Patrick Barron
# 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
2020-08-20Make MediaBrowser.MediaEncoding warnings freeBond_009
2020-08-13Move GenericEventArgs to Jellyfin.Data.EventsPatrick Barron
2020-06-16Merge pull request #3343 from telans/comment-stopsBond-009
Add full stop at end of comments (SA1629)
2020-06-16fix SA1513/SA1516telans
2020-06-16Add full stop at end of comments (SA1629)telans
2020-06-03Merge pull request #3203 from Bond-009/warn18Vasily
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-05-29Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release modeBond_009
2020-04-05Enable nullabe reference types for MediaBrowser.ModelBond_009
2019-11-22Fix some warningsBond-009
2019-08-09Use CultureInvariant string conversion for GuidsBond-009
2019-01-30Merge branch 'master' into startuptasksBond-009
2019-01-28Unwrapped CreateDirectory and DeleteDirectoryErwin de Haan
2019-01-28Unwrapped GetDirectoryName and DirectorySeperatorCharErwin de Haan