Qstick
2b79fe833b
Use Contains(char) instead of Contains(string) for performance
2 years ago
Qstick
4db10e6283
Prefer AsSpan to Substring to avoid unnecessary allocation
2 years ago
Qstick
e8aff90582
Use span-based string.Concat to avoid unnecessary allocation
...
Calling Substring produces a copy of the extracted substring. By using AsSpan instead of Substring and calling the overload of string.Concat that accepts spans, you can eliminate the unnecessary string allocation.
2 years ago
Qstick
af28bbad52
Use Environment.CurrentManagedThreadId for efficiency
...
System.Environment.CurrentManagedThreadId is a compact and efficient replacement of the Thread.CurrentThread.ManagedThreadId pattern.
2 years ago
Qstick
f928ee7cad
Use Environment.ProcessPath instead of GetCurrentProcess().MainModule.FileName
...
GetCurrentProcess().MainModule.FileName is expensive, Environment.ProcessPath added in net6
2 years ago
Qstick
7521579bca
Use Apend(char) instead of Apend(string) for performance
...
When calling StringBuilder.Append with a unit length string, consider using a const char rather than a unit length const string to improve performance.
2 years ago
Qstick
e805f61450
Use Length/Count property instead of Count() method to prevent enumerating
2 years ago
Qstick
4fe9daec03
Use Any() in place of Count() to prevent enumerating
...
This rule flags the Count and LongCount LINQ method calls used to check if the collection has at least one element. These method calls require enumerating the entire collection to compute the count. The same check is faster with the Any method as it avoids enumerating the collection.
2 years ago
Qstick
738dc2c98c
Do not use Enumerable methods on indexable collections
...
This rule flags the Enumerable LINQ method calls on collections of types that have equivalent but more efficient properties to fetch the same data.
2 years ago
Qstick
0ed8ba828d
Avoid unnecessary zero-length array allocations
2 years ago
Qstick
b2c2c79a96
Don't compare strings to Empty using Equals
...
Comparing strings using the String.Length property or the String.IsNullOrEmpty method is faster than using Equals. This is because Equals executes significantly more MSIL instructions than either IsNullOrEmpty or the number of instructions executed to retrieve the Length property value and compare it to zero.
2 years ago
Qstick
08ee2f7e32
Remove unnecessary assignments to default type value
...
The .NET runtime initializes all fields of reference types to their default values before running the constructor. In most cases, explicitly initializing a field to its default value in a constructor is redundant, adding maintenance costs and potentially degrading performance
2 years ago
Qstick
42e45f93ac
Use const where appropriate
...
The value of a const field is computed at compile time and stored in the metadata, which improves run-time performance when it is compared to a static readonly field.
2 years ago
Qstick
b4d8f0c311
Enable all analyzers and enforce code style on build
2 years ago
Stevie Robinson
21045127cd
Fixed: Parsing of multi season packs with only space between the season numbers
2 years ago
Mark McDowall
d496733b31
Fixed: Don't import Custom Format downgrades
...
Closes #5475
2 years ago
Mark McDowall
b3d1e4f520
Fixed: Multiple Downloaded Episodes Scan commands should not run in parallel
2 years ago
Mark McDowall
cd67671bc1
Fixed: Slow loading of files in Manage Episodes modal
...
Closes #5449
2 years ago
Mark McDowall
ac806a2933
New: Show downloading status for series progress bar
...
Closes #5474
2 years ago
Mark McDowall
6d88a98282
New: Plex Watchlist RSS support
2 years ago
cicomalieran
9800bd6b43
Fixed: Processing very long ETA from Transmission
...
Closes #5444
2 years ago
Sergey M
255f947860
Fixed: Mapping of parsed titles when one doesn't have an alias
...
Co-authored-by: Sergey M <msergein>
2 years ago
bakerboy448
92ecb30fab
Fixed: Regression in error message logging
...
Closes #5461
2 years ago
bakerboy448
e968919e63
Fixed: Improve some request failure messaging
2 years ago
Mark McDowall
bd3816dac9
Handle null for parent name with clean path is empty
2 years ago
Mark McDowall
95a8f59a32
Fixed: Don't handle images in metadata folder as Roksbox images
2 years ago
Mark McDowall
890f107467
New: Support for .plexmatch series metadata files
...
Closes #4960
2 years ago
Mark McDowall
6740257135
New: Add Episode Guide option for Kodi MetadataFile
...
Closes #5415
2 years ago
Mark McDowall
bbd9b1657d
Fixed: Don't clean Kodi library if video is playing and Always Update is disabled
...
Closes #5387
2 years ago
Mark McDowall
cf00fecbe4
Fixed: Don't grab propers/repacks when item in queue meets cutoff and propers/repacks are not downloaded automatically
...
Closes #1208
2 years ago
Qstick
5a22afc42b
Fixed broken path tests
2 years ago
Mark McDowall
75378f7bde
Fixed: USB drives mounted to folders are treated as different mounts
...
Closes #4147
2 years ago
Mark McDowall
997aabbc3c
Improve CF calculation for files without scene name
...
Fixed: Use original filename instead of complete path when calculating CF for existing file without scene name
Closes #5365
2 years ago
Mark McDowall
2c65e4fa41
Fixed: Prevent getting disk space from returning no information when it partially fails
...
Closes #5247
2 years ago
Qstick
9c1fd7c73e
Bump MonoTorrent to 2.0.7
...
Pulls in fix for parsing torrents when certain values are an empty string
2 years ago
Mark McDowall
27cc551980
Updated API documents
2 years ago
Mark McDowall
d2cd3f7716
Rename LocalizationLanguageResource to avoid collision with LanguageResource
2 years ago
bakerboy448
ddb25b1095
New: Use better page size for Newznab/Torznab (up to 100) when supported by the indexer
...
Closes #5373
2 years ago
Mark McDowall
303fc5d786
New: Return static response to requests while app is starting
...
Closes #5402
2 years ago
Qstick
a379d0c403
Fixed: Settings fail to save for some auth setups
2 years ago
Mark McDowall
72b307f4ad
Fixed: Using absolute episode number in Standard Format for episode without while renaming
2 years ago
Mark McDowall
69f325b9dd
SeriesFolderFormat needs to be OS Agnostic
2 years ago
Mark McDowall
81d2b18ce1
New: Use Series Folder Format to improve unmapped folders within root folders
2 years ago
Mark McDowall
119addd75f
Fixed: Migrating case-sensitive Preferred Word REGEX to Custom Formats
...
Closes #5399
2 years ago
Xavier Xiong
0f111dd066
Fixed: Chinese Anime releases that include a season number
2 years ago
Stevie Robinson
e29470d8cb
Fixed: Enable parsing of repacks with revision
...
Closes #5383
2 years ago
bakerboy448
83f6359063
New: Improve Manual Import logging when not parsing files
2 years ago
Mark McDowall
ad42d4a14c
Fixed: Ping endpoint no longer requires authentication
...
Closes #5396
2 years ago
Qstick
faccfe17a2
Remove debug code in CleanupQualityProfileFormatItems
2 years ago
Qstick
f05e109b50
Fixed: Avoid Sqlite Error when all profiles have lowest quality cutoff
2 years ago