1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Commit Graph

4823 Commits

Author SHA1 Message Date
Bogdan
82919a8ed1 Convert to 'using' declaration in Housekeeping Tasks 2023-06-20 19:26:21 -07:00
Bogdan
9af6d1b9d9 Close database connections in housekeeping tasks
Co-authored-by: ferencmarkizay <ferencmarkizay@gmail.com>
2023-06-20 19:26:21 -07:00
Bogdan
b48fe6e633 Prevent NullRef when deleting missing backups
(cherry picked from commit 0ff0fe2e68f3abf7b8e4d6bf0c1e9dee4eb68227)
2023-06-20 19:24:19 -07:00
Bogdan
e2f27e0c61
Fixed: Sorting queue by size 2023-06-20 19:16:54 -07:00
Bogdan
059a156f4a Fixed: Treat redirects as errors in Sonarr Import List 2023-06-13 21:03:48 -07:00
Bogdan
19b8fbe13b Require ApiKey for all actions in SonarrImport 2023-06-13 21:03:48 -07:00
Bogdan
2603138975 Update translations 2023-06-13 21:01:32 -07:00
Hayden
a6a61a016b
Fixed: Limit Discord embed title length to 256 characters
Co-authored-by: HeyBanditoz <7574664+HeyBanditoz@users.noreply.github.com>
2023-06-13 23:59:51 -04:00
Qstick
11bd764a75 Fixed: Correctly handle 302 and 303 redirects in HttpClient
(cherry picked from commit ed7c5a937f4b50fcdf819e8fe347c8c0bc6bd2e7)
2023-06-13 20:58:30 -07:00
Bogdan
0e07d54ee7 Add HelpTextWarning support in FieldDefinition 2023-06-13 20:55:20 -07:00
Bogdan
0b87280335 Check only clients not in failure status in DownloadClientSortingCheck 2023-06-13 20:54:05 -07:00
Bogdan
e5ff4aafa3 Update cleansing rules for RSS TL feed and homedir for Mac 2023-06-13 20:53:20 -07:00
bakerboy448
8d8a16225f
Fixed: Handle checkingResumeData state form qBittorrent 2023-06-13 23:50:59 -04:00
Zak Saunders
d44656bca1 New: Remove Rarbg Indexer due to site shutdown 2023-06-09 14:58:06 -07:00
bakerboy448
3b505d8734
New: Indexer Messaging and Error Improvements 2023-06-09 17:54:04 -04:00
Sonarr
474f5f29ca Automated API Docs update
ignore-downstream
2023-05-28 11:46:29 -07:00
Qstick
b050e1d2eb Faster tag view in UI for large libraries 2023-05-28 11:08:31 -07:00
Bogdan
48ee1158ad Fixed: Enforce validation warnings 2023-05-28 11:07:40 -07:00
Bogdan
7343616a47 Simplify ShouldHaveApiKey and HasErrors 2023-05-28 11:07:40 -07:00
Bogdan
b06269544c Add minimum length as const in ApiKeyValidationCheck 2023-05-27 17:23:41 -07:00
Bogdan
bb97fbc23f Add missing wiki fragments to health checks 2023-05-27 17:23:41 -07:00
Qstick
560a9b63ca New: Translations support for Health Checks
(cherry picked from commit bfc036178487fe0b692f306a53f2a334cdf7f9d5)
2023-05-27 17:23:41 -07:00
Bogdan
a22f598b0c Minor improvements in health checks 2023-05-27 17:23:41 -07:00
Bogdan
86a7f7bd54 Deserialize asynchronously in LocalizationService 2023-05-27 17:23:41 -07:00
Bogdan
f90bef6934 Fix showing sorting values, add tooltips and translations to SeriesIndexPoster 2023-05-27 16:56:19 -07:00
Bogdan
12374f7f00 Use 'var' instead of explicit type 2023-05-27 16:55:16 -07:00
Bogdan
281add47de Inline 'out' variable declarations 2023-05-27 16:55:16 -07:00
Bogdan
6b1e4ef819
Enforce rule IDE0005 on build 2023-05-27 19:53:49 -04:00
Qstick
73ccab53d5 New: Bulk Manage Import Lists, Indexers, Clients 2023-05-27 18:00:49 -05:00
bakerboy448
e9bbb0b9ba
Fixed: Webhook notification error messages 2023-05-26 19:45:53 -07:00
Mark McDowall
e273f16c39 Fixed: Strip additional domains from release names 2023-05-26 19:36:50 -07:00
Mark McDowall
49fd9c4462 New: Filter SABnzbd queue by category 2023-05-26 17:14:02 -07:00
Mark McDowall
59f2e5b65d Fixed: Don't log handled exceptions in API
Closes #5690
2023-05-26 17:14:02 -07:00
Bogdan
af55e322f1
Fixed: Sorting search releases by language 2023-05-26 16:19:42 -04:00
Sonarr
3ac5edeb09 Automated API Docs update 2023-05-25 10:34:05 -07:00
Mark McDowall
f05405fe1c Fixed: Don't rollback file move if destination already exists
Towards #5610
2023-05-22 22:11:17 -07:00
JeWe37
9f1e215120
New: Option to Import via Script
Closes #791
2023-05-22 23:36:17 -04:00
Bogdan
365a6e77a6 Use project name as relative path in builds
(cherry picked from commit fb908e8e1969e633a50ca000c767a998427363b2)
2023-05-22 20:33:57 -07:00
Mark McDowall
349f7cf4c9 Rename Clearart to Clearlogo, use png for Clearlogo 2023-05-22 10:32:03 -07:00
Mark McDowall
aecc8295c8 Fixed: Don't download unknown artwork 2023-05-22 09:00:36 -07:00
Stevie Robinson
f2ddd4757c
Fixed: Parsing Vyndros as release group 2023-05-21 17:05:48 -04:00
Stevie Robinson
bf90c3cbdd
New: refresh only selected or filtered series
Closes #5611
2023-05-21 17:05:30 -04:00
Bogdan
a117001de6 New: Improve validation messages 2023-05-21 09:24:59 -07:00
Bogdan
6118afa339 Minor CS improvements in NzbDroneValidation 2023-05-21 09:24:59 -07:00
S0me6uy
59dd3b1127
New: Signal Notifications
Co-authored-by: Your Name <yohoho@testsmsd.com>
2023-05-21 12:22:00 -04:00
Bogdan
de3bfb7c5a
Fix spelling "Use languages from Torznab/Newznab attributes if given" 2023-05-21 12:05:18 -04:00
Bogdan
90a9ecbaac Fix tests in IndexerServiceFixture 2023-05-21 09:03:51 -07:00
Bogdan
d492f28645 Fix tests in TorrentDownloadStationFixture 2023-05-21 09:03:51 -07:00
Mark McDowall
d743a8f7e9 Fixed tests in DownloadServiceFixture 2023-05-20 21:15:10 -07:00
Mark McDowall
3cd33d3f44 Fixed: Don't move seeding torrents in Synology Download Station
Closes #3997
2023-05-20 20:56:02 -07:00
Mark McDowall
b38c1255dc Fixed: Don't retry grabbing the same release if download client is unavailable
Closes #3116
2023-05-20 20:51:24 -07:00
Mark McDowall
f946d78153 Fixed: Exception when request to SABnzbd times out 2023-05-20 16:59:06 -07:00
Qstick
9c5a07f62a New: Use languages from Torznab/Newznab attributes if given
Closes #5654
2023-05-20 16:31:30 -07:00
Mark McDowall
7238100145 Add FindByName to IsoLanguage 2023-05-20 16:24:38 -07:00
Mark McDowall
4fe79e9a4e Fixed: Parsing of some additional Chinese anime releases
Closes #5667
2023-05-20 15:15:48 -07:00
Bogdan
9bdc618366 Fixed: Use indexer errors from response if Content-Type is XML before processing response 2023-05-18 17:32:24 -07:00
Sonarr
4fecd6ed89 Automated API Docs update 2023-05-18 16:43:35 -07:00
Qstick
94a8ef6304 New: Advanced settings toggle in indexer edit/add modal
(cherry picked from commit a570fd2a8f138fb89c5b0ae43ddb7919f6bf26e3)
2023-05-18 16:43:08 -07:00
Qstick
de08d37267 New: Add path mapping for partial library updates in Plex Server Notifications
(cherry picked from commit 24206ad0a3095c4bf5c860af516d8543bd6525d6)
2023-05-18 16:41:06 -07:00
Bogdan
ef0b91b45b Add forceSave to the OpenAPI docs 2023-05-18 16:37:34 -07:00
Bogdan
b5050d02d6
Fixed: Log name of mount point failure 2023-05-17 20:12:06 -04:00
Bogdan
3ece1533d8 Fix checking for SameTorrent when the indexer is null 2023-05-17 17:00:27 -07:00
Sonarr
14411f1f15 Automated API Docs update 2023-05-14 21:23:46 -07:00
Bogdan
2fecd28001 Fix validation for boolean query parameters 2023-05-14 21:09:03 -07:00
Bogdan
498722b240
Fixed: Prevent unknown settings implementation from failing to deserialize
(cherry picked from commit 0e2cc7851f556e928e52bb2886c7d60c13b0741e)

Log removal of invalid definitions as warnings

(cherry picked from commit 3d61719a2cc9c87ac3c92b5358bb5034aed4c2ff)
2023-05-14 10:01:55 -07:00
Qstick
eacb619cfb
Fixed: Avoid error in CF calculation when release is unparsable 2023-05-13 15:40:27 -05:00
Mark McDowall
711331526b Add missing wiki hashes to health checks 2023-05-12 16:56:00 -07:00
Qstick
ed22bb719d DownloadClientRootFolderCheck Improvements 2023-05-12 16:55:56 -07:00
Qstick
1f20bc63c6 RemotePathMappingCheck Improvements 2023-05-12 16:55:44 -07:00
Qstick
202449c40c Fixed: Provider health checks persist after add until next scheduled check 2023-05-12 16:55:35 -07:00
Mark McDowall
62b948b24c New: Calendar filtering by tags
Closes #5476
2023-05-11 22:36:26 -07:00
Mark McDowall
c7d39579b4 New: Log additional information when processing completed torrents from rTorrent
Closes #5638
2023-05-11 17:35:40 -07:00
Bogdan
3af7a6df7d Remove unused field userAgentBuilder in HttpClient 2023-05-10 21:10:36 -07:00
Bogdan
477bfb7835 Minor cleanup in RssImport 2023-05-10 21:10:09 -07:00
Bogdan
c6b543e072 Remove unused imports 2023-05-10 21:08:13 -07:00
Bogdan
f93a016be1 Remove empty constructors 2023-05-10 21:08:13 -07:00
Mark McDowall
e882d0f385 Fixed CompletedDownloadService.Process tests 2023-05-09 13:11:12 -07:00
Mark McDowall
0e6f858e65 Fixed tests 2023-05-09 10:03:53 -07:00
Mark McDowall
f56d504816 Fixed: Incorrect event types for interactive import required notifications 2023-05-09 08:09:27 -07:00
Stickie
5ec282750b New: Notifications when Manual Interaction is required for importing
Closes #5193
2023-05-08 16:35:03 -07:00
ta264
63654b99f2 Fixed: Don't buffer update package to memory when downloading 2023-05-08 16:35:03 -07:00
Bogdan
9325140b90
API key improvements
Fixed: Special characters in API key
New: Add heathcheck for API Key
2023-05-07 20:56:26 -07:00
Mark McDowall
eaa4a358e8 Why rename many files when few file do trick 2023-05-07 20:25:55 -07:00
Mark McDowall
993c69530e GracePeriod not Graceperiod 2023-05-07 18:57:55 -07:00
The Dark
5fdc8514da
New: On Health Restored notification
Closes #4262
2023-05-07 18:57:14 -07:00
Bogdan
76f93c8415
Fixed: Ensure indexer errors are handled before processing response 2023-05-07 10:29:51 -07:00
Bogdan
8f482c534f
Fixed: custom script error when importing some downloads
Co-authored-by: Qstick <376117+Qstick@users.noreply.github.com>

Closes #5617
2023-05-07 10:23:47 -07:00
Bogdan
a95317446c Log invalid config file exceptions
(cherry picked from commit e1d0e2c79975a10c12fc8551f5dcd4a79f1c94e7)
2023-05-07 10:18:00 -07:00
Qstick
3a6c078b30 Fixed: Catch InvalidDataException during initial config to prevent boot loop
(cherry picked from commit 9862584611f29ac3f16e0c6ef0afb183ff3f0588)
2023-05-07 10:18:00 -07:00
Mark McDowall
77efc4cc40
Fixed: Timeout when getting root folder details 2023-05-07 09:52:35 -07:00
Mark McDowall
453891e620 New: Only add version header for API requests
Closes #5601
2023-05-06 22:34:22 -07:00
Mark McDowall
95b52e630a Remove duplicated processing of unparsed paths 2023-05-06 21:53:01 -07:00
Bogdan
5bb03a9ddf
New: Add token authentication for ntfy.sh notifications
Co-authored-by: KucharczykL <lukas@kucharczyk.xyz>
2023-05-06 21:30:31 -07:00
Bogdan
e3f71ca79c
New: Log content for invalid torrent files 2023-05-06 11:22:49 -07:00
Bogdan
ca8b26138e Fix downloading releases without an indexer 2023-05-01 19:28:04 -05:00
Bogdan
a0b08f6c6f
Build download requests from indexer implementation 2023-04-30 00:09:11 -04:00
Qstick
7ce0d4a9db Fixed: Use augmented languages for queue items 2023-04-29 17:15:39 -05:00
Lars
3141bf7f9d
Fixed: Subtitle tags from existing subtitle files being lost during rename
Closes #5577
2023-04-26 23:18:58 -04:00
Mark McDowall
8c50cd061e New: Report health error if Recycling Bin folder is not writable
Closes #4692
2023-04-24 21:58:51 -07:00
Gabriel Sjöberg
99c4f5b746
Use BuildInfo.AppName for RARBG appId instead of hardcoded value 2023-04-25 00:54:12 -04:00
Lars
ff3327483a
New: Filter Sonarr synchronization based on Root Folders
Closes #4835
2023-04-25 00:44:20 -04:00
Mark McDowall
0bc16efe26 Don't clean slashes from folder names 2023-04-24 13:12:35 -07:00
Mark McDowall
b3260ba866 New: Colon replacement naming option 2023-04-24 07:59:36 -07:00
Mark McDowall
d3ad970ecc Use enum for MultiEpisodeStyle property 2023-04-24 07:59:35 -07:00
Bogdan
ed7d99c160 New: Add Apprise notifications 2023-04-22 18:17:24 -07:00
Robin Dadswell
720fc2818f Frontend Placeholders from the Backend
(cherry picked from commit 69f5963f6f1e80e3f598bdb13792b7413fcc13b1)
2023-04-22 18:17:24 -07:00
Mark McDowall
94b5d23094 Fixed TruncatedEpisodeTitlesFixture tests 2023-04-22 18:16:15 -07:00
Mark McDowall
cf48bf3041 Fixed: Ensure first history item when marked as failed is the selected item 2023-04-21 17:45:45 -07:00
Mark McDowall
183b10f79a New: Change default Multi-Episode style to Prefixed Range
Closes #5572
2023-04-21 17:45:45 -07:00
Mark McDowall
97cf3cee17 New: Don't prevent season searches for Newznab/Torznab if supported by the indexer
Closes #5562
2023-04-19 16:14:09 -07:00
Mark McDowall
764c084987 New: Don't try to analyze disk image files (iso, img, etc)
Closes #5567
2023-04-19 16:14:09 -07:00
Mark McDowall
a989c84260 Fixed: Tag filtering on iCal feed 2023-04-19 16:14:09 -07:00
Bogdan
b303e9c21a
New: Serve log files as UTF-8 2023-04-18 15:50:43 -04:00
Michael Peleshenko
2303bff205
Fixed: Return properly formatted episode file for deleted files Webhook 2023-04-16 17:48:59 -07:00
Qstick
5a04602672 Remove mono process detection 2023-04-16 19:21:13 -05:00
Bogdan
6f614b7d47
Rename to FolderChmodValidator to match class name 2023-04-15 12:21:17 -07:00
Stepan Goremykin
6413d212e5 Update signalr to 6.0.15 2023-04-14 16:48:47 -07:00
Stepan Goremykin
40e54685b9 Migrate to FluentValidation 9 2023-04-14 16:48:47 -07:00
Mark McDowall
dec6e14036 New: On Add Series connection event
Closes #3637
2023-04-14 16:48:07 -07:00
Mark McDowall
619ac557f9 Fixed: Importing from Manage Episodes ignoring Analyse video files 2023-04-14 16:48:07 -07:00
Lars
c8933d8124
New: Option to use Telegram topics for notifications
Closes #5486
2023-04-14 19:47:06 -04:00
Mark McDowall
47cf8e6430
New: Updated Rarbg request limits
Closes #5206
2023-04-13 22:54:37 -04:00
Bogdan
ed3d880974
New: Add version and timestamp to backup archive 2023-04-13 22:53:32 -04:00
Qstick
39350ed0de New: Improve video stream formatting 2023-04-13 21:20:01 -05:00
Qstick
b0834015e7 New: Improve primary video stream selection 2023-04-13 21:20:01 -05:00
Bakerboy448
128f62488d Fixed: DrunkenSlug Default URL 2023-04-13 18:48:41 -07:00
Bogdan
2107635b7e
Fixed: Config file settings do not need to be case-sensitive 2023-04-11 14:52:25 -04:00
Mark McDowall
5ca868b4b2 New: Show error message for pending queue items without episodes
Closes #5541
2023-04-10 22:25:10 -07:00
Bogdan
5326a102e2 Fixed: Ensure default config file on starting app
(cherry picked from commit e747af9f448368e2add0d2869a3749efa9e93ae0)
2023-04-10 21:37:59 -07:00
Qstick
69ed531850 Fixed: False Positives for RemotePath check with Deluge
(cherry picked from commit b888b044d61c3787ce658963c6e5c3ef6f3323a1)
2023-04-10 21:37:48 -07:00
ta264
66caec31c9 Fixed: False positive in remote path check with transmission
Correctly use the download directory when it's set

(cherry picked from commit e09ca145d125a12016a6bf41a4971148bd2de870)
2023-04-10 21:37:48 -07:00
ta264
8c68dfb8ce Fixed: Handle missing category when getting Qbittorrent download path
Fixes RADARR-7HC
Fixes RADARR-V49

(cherry picked from commit 6f97ca9a55471386454457ca52b93733e18e85e4)
(cherry picked from commit e7a8f6332c43f179d4c95b3a8a0253a235bb6eec)
2023-04-10 21:37:48 -07:00
ta264
68791ea98a Fixed: Use QBittorrent category savepath for healthcheck
(cherry picked from commit 4f281669fcd460efa4191590de31da12c7e4271d)
2023-04-10 21:37:48 -07:00
Mark McDowall
b428bab5ee Fixed: Missing Macedonian and Slovenian languages 2023-04-04 10:29:08 -07:00
Mark McDowall
7fcb6b80b4 Fixed: Override and grab releases with Custom Formats 2023-04-04 10:28:35 -07:00
Mark McDowall
103ce3def4 New: Add result to commands to report commands that did not complete successfully
Closes #4759
2023-04-03 22:11:43 -07:00
Mark McDowall
07f0fbf9a5 Override release grab modal
New: Option to override release and grab
New: Option to select download client when multiple of the same type are configured

Closes #4526
Closes #4774
2023-04-03 20:14:44 -07:00
Mark McDowall
2020e074db Language parsing improvements and more languages
Fixed: Parsing of multiple languages
New: Add Romanian, Latvian, Persian, Catalan, Croatian, Serbian, Bosnian, Estonian, Tamil, Indonesian, Macedonian, Slovenian languages
New: Handle some ISO 639-2/B language codes

Closes #5112
Closes #5440
Closes #5494
2023-04-03 20:00:52 -07:00
Mark McDowall
f4130d96e5 New: Add release info to webhook/custom script import events
Closes #5503
2023-04-02 14:03:05 -07:00
Qstick
f59276881a Convert Notifiarr Payload to JSON, Standardize with Webhook 2023-04-02 14:01:59 -07:00
Stepan Goremykin
6ea3d8c127 Use MinBy and MaxBy instead of OrderBy + First 2023-04-01 17:37:11 -07:00
bpoxy
7fedfe7423
Fixed: Matching of custom formats during episode file import 2023-04-01 20:03:53 -04:00
Bakerboy448
a776b68574 Fixed: Parse 720p Remux as 720p BluRay
fix bad anime remux no source logic

Fixes #5517
2023-03-30 21:57:14 -07:00
Bakerboy448
9ae647d9d2 QualityParser - Simplify new expression (IDE0090) 2023-03-30 21:57:14 -07:00
Stepan Goremykin
2abbee1032
Update SixLabors.ImageSharp, MailKit, DryIoc libraries 2023-03-31 00:56:54 -04:00
Qstick
2c7eb05b52 Revert a few packages which result in build warnings and conflicts 2023-03-29 11:50:14 -05:00
Mark McDowall
42003ebd72 Reverted Microsoft package updates to 6.x
Closes #5511
2023-03-27 07:52:15 -07:00
Mark McDowall
6007e46746 Fixed: Removed hardcoded dot prefix from the transmission category in status
Closes #5510
2023-03-27 07:38:56 -07:00
Stevie Robinson
11905b99d3
New: Specials monitoring options 2023-03-26 23:40:11 -07:00
Mark McDowall
033936dce7 Fixed IsValidPath usages 2023-03-26 22:47:09 -07:00
Mark McDowall
13a0dfa4ae Fixed: Slow renaming and deleting episodes
Closes #5499
2023-03-26 22:39:18 -07:00
Mark McDowall
5ea1fb9424 New: Parsing of multi-episode files in brackets
Closes #5501
2023-03-26 22:39:18 -07:00
bakerboy448
0f6f681438
New: Various HealthCheck Improvements 2023-03-27 00:30:27 -04:00
Mark McDowall
0321368cc3 New: Improve path validation when handling paths from different OSes 2023-03-26 21:29:17 -07:00
Mark McDowall
ed140dd396 Revert argument exception swallowing for Plex library update 2023-03-26 21:29:07 -07:00
Stepan Goremykin
c35308b32b Update chrome driver and swagger 2023-03-26 21:26:42 -07:00
Stepan Goremykin
e4dde10a3f Update Selenium.Support package 2023-03-26 21:26:42 -07:00
Stepan Goremykin
951a9ade00 Update FluentAssertions 2023-03-26 21:26:42 -07:00
Stepan Goremykin
fd5d279a9e Update SharpZipLib 2023-03-26 21:26:42 -07:00
Stepan Goremykin
028c87d20c Update test packages in build props instead of csproj 2023-03-26 21:26:42 -07:00
Stepan Goremykin
b303dc899a Update Newtonsoft.Json 2023-03-26 21:26:42 -07:00
Stepan Goremykin
cf22208011 Update packages related to auto tests 2023-03-26 21:26:42 -07:00
Stepan Goremykin
3b6cadeb7e Update packages from microsoft 2023-03-26 21:26:42 -07:00
Mark McDowall
0a13a433a9 New: Parsing of more German WEBDL releases
Closes #5507
2023-03-26 21:19:22 -07:00
Mark McDowall
ff2e8ffc37 Fixed: Permissions after installing on Windows and opening Firewall port
Closes #5509
2023-03-26 20:53:30 -07:00
Stepan Goremykin
11d91faaad
Use Array.Empty and fix a few multiple enumerations 2023-03-26 23:40:51 -04:00
Mark McDowall
c41aec5f77 Fixed: Pushed releases should be stored as pushed release 2023-03-22 17:25:00 -07:00
Mark McDowall
b8dcd75cf5 Fixed: Refreshing Plex library on a different OS 2023-03-22 08:09:16 -07:00
Mark McDowall
cef6d5a99a Fixed: Imports when custom format is a downgrade, but file is an upgrade 2023-03-22 08:06:59 -07:00
lodu
5d09b84b05
New: Add indexer option for Discord on grab notifications 2023-03-21 19:58:47 -04:00
Mark McDowall
3d24e412a6 Better quality revision logging 2023-03-17 07:46:25 -07:00
Mark McDowall
4ff4d32936 New: Improve accepted and rejected release logging
Closes #4965
Closes #4646
2023-03-16 20:58:01 -07:00
Mark McDowall
98308737cf New: Improved Plex library updating 2023-03-16 20:25:31 -07:00
Mark McDowall
bd228e88c3 New: Rescan series if destination file already exists during import
Closes #5401
2023-03-15 23:44:09 -07:00
Mark McDowall
978618f041 New: Don't import episodes that don't match grab history
Closes #5073
2023-03-15 23:26:07 -07:00
Mark McDowall
8d70def088 New: Include series year with custom scripts and webhooks
Closes #5439
2023-03-15 22:09:55 -07:00
Mark McDowall
c80c1db947 New: Parse HBOMaxHD as WEBDL
Closes #5489
2023-03-15 21:01:37 -07:00
Mark McDowall
cfcf1ad1ab Fixed: Page Plex Watchlist results
Closes #5118
2023-03-15 19:55:34 -07:00
Mark McDowall
17b9e4722a New: Parsing of poorly named absolute number-only files in batches
Closes #5488
2023-03-15 19:00:12 -07:00
Mark McDowall
f22998aef3 Use episode runtime for size limits when available
Closes #3482
2023-03-15 19:00:08 -07:00
Qstick
a42f97229a Convert method to static that doesn't use instance data 2023-03-15 19:24:48 -05:00
Qstick
412a36226f Add .globalconfig 2023-03-15 19:24:48 -05:00
Qstick
2b79fe833b Use Contains(char) instead of Contains(string) for performance 2023-03-15 19:24:48 -05:00
Qstick
4db10e6283 Prefer AsSpan to Substring to avoid unnecessary allocation 2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
Qstick
af28bbad52 Use Environment.CurrentManagedThreadId for efficiency
System.Environment.CurrentManagedThreadId is a compact and efficient replacement of the Thread.CurrentThread.ManagedThreadId pattern.
2023-03-15 19:24:48 -05:00
Qstick
f928ee7cad Use Environment.ProcessPath instead of GetCurrentProcess().MainModule.FileName
GetCurrentProcess().MainModule.FileName is expensive, Environment.ProcessPath added in net6
2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
Qstick
e805f61450 Use Length/Count property instead of Count() method to prevent enumerating 2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
Qstick
0ed8ba828d Avoid unnecessary zero-length array allocations 2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
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
2023-03-15 19:24:48 -05:00
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.
2023-03-15 19:24:48 -05:00
Qstick
b4d8f0c311 Enable all analyzers and enforce code style on build 2023-03-15 19:24:48 -05:00
Stevie Robinson
21045127cd
Fixed: Parsing of multi season packs with only space between the season numbers 2023-03-14 00:32:57 -07:00
Mark McDowall
d496733b31 Fixed: Don't import Custom Format downgrades
Closes #5475
2023-03-14 00:22:37 -07:00
Mark McDowall
b3d1e4f520 Fixed: Multiple Downloaded Episodes Scan commands should not run in parallel 2023-03-13 18:11:17 -07:00
Mark McDowall
cd67671bc1 Fixed: Slow loading of files in Manage Episodes modal
Closes #5449
2023-03-13 00:30:28 -07:00