Commit Graph

276 Commits

Author SHA1 Message Date
Mark McDowall
7d30c7d1ea Fixed: Parsing similar author names with common words at end
(cherry picked from commit 0fe24539625f8397dfb63d4618611db99c3c137a)
2023-12-23 03:01:34 +02:00
Bogdan
d1aff31593 Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)

Closes #2559
2023-05-28 21:59:25 +03:00
servarr[bot]
ad3a58c422 New: Parse version with a space before 'v''
* New: Parse anime version with a space before 'v'

(cherry picked from commit e9123982f33ab35ca022f91f345da05fef23d6dc)

* Delete AnimeVersionFixture.cs

Co-authored-by: Mark McDowall <mark@mcdowall.ca>
Co-authored-by: Qstick <qstick@gmail.com>
2022-09-26 16:55:34 -05:00
ta264
e7410959fe Fixed: Correct and speed up FuzzyContains
Fixes READARR-C1
2022-02-04 17:28:33 +00:00
ta264
c0e193dd1f Fixed: Improve fuzzy matching algorithm to match around word boundaries
Fixes READARR-C1
2022-01-24 20:58:00 +00:00
ta264
ecf1e1a130 Fixed: Error splitting subtitle from book title
Fixes #1473
Fixes READARR-39N
Fixes READARR-3ES
Fixes READARR-6CM
2022-01-24 20:58:00 +00:00
ta264
62a3355546 Remove unused code 2022-01-21 13:28:04 +00:00
ta264
4541d3d3b0 Fixed: Parse search results using edition titles also
Fixes #1154
2021-07-30 19:51:21 +01:00
ta264
7fda41c18b New: Better matching of books with subtitles 2021-06-11 14:36:15 +01:00
ta264
9fb7a1051e Rename MP3-320 to MP3 2021-05-28 06:49:08 +01:00
ta264
404da4ae22 Fixed: Handle parsing books with multiple authors properly 2021-04-12 19:49:32 +01:00
ta264
32833b5fc4 Fixed: Parsing [book] by [author] 2021-02-12 19:47:15 +00:00
ta264
1cdcfe25c0 Fixed: Improve parser when release has colons in title 2021-02-12 19:41:18 +00:00
Qstick
93ba5ade9e Cleanup Conflicts in Sonarr/Lidarr Pulls
Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
2021-01-28 23:43:19 -05:00
ta264
01290965c5 Fix test 2020-08-19 19:16:54 +01:00
ta264
919a807c72 Fix fingerprinting tests 2020-08-04 14:53:32 +01:00
Qstick
307989aab7 More Fun in Core with Naming 2020-05-19 21:50:37 +01:00
Qstick
8547af9fae Method, Variable, Class Renames in Readarr.Core
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2020-05-13 20:42:22 -04:00
ta264
08496c82af New: Readarr 0.1 2020-05-09 22:24:45 +01:00
Qstick
3b7eb01918 New: Lidarr to Readarr 2020-02-29 16:58:13 -05:00
Qstick
f77a2feeef StyleCop (#1058)
* Stylecop Rules and Fixes
2020-01-03 07:49:24 -05:00
ta264
4346c76d4f New: Multi target net framework 4.6.2 and net core 3.0 2019-10-29 20:38:57 +00:00
ta264
c919f768d9 Fixed: Handle ratelimit response from acoustid 2019-10-14 07:18:42 +01:00
ta264
c69733a0c9 Fixed: Mock AcoustId responses so tests don't fail when API down 2019-10-14 07:18:42 +01:00
Qstick
c4fd06949b Fixed: Cleaning percent signs from release names
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-09-16 18:14:28 -05:00
ta264
91ddabe5dd Fixed: Catch exceptions looking up fingerprints
It's not crucial so if it fails don't take out the whole import process.
2019-08-29 19:35:21 +01:00
Qstick
8b860bcb82 Changed: Remove Language Profiles (#870)
* Changed: Remove Language Profiles

* fixup! Changed: Remove Language Profiles

* fixup! Changed: Remove Language Profiles

* Remove unused method in FileNameBuilder

* Fixed: Cleanup Int Converter Copy/Paste Issues and Grammar
2019-08-02 07:50:09 -04:00
Qstick
2f1290d488 Fixed: Correctly handle Repack Releases 2019-07-27 13:14:51 -04:00
ta264
b62e27634a Disable failing parser test 2019-07-17 06:28:30 +01:00
Qstick
6dd8df43ca Fixed: Incorrect parsing of APE and OPUS in some cases
Fixes #847
2019-07-06 18:22:12 -04:00
ta264
adfaec3864 Fixed: Fingerprinting service swallows UnexpectedHtmlContentException (#808) 2019-05-08 16:37:38 +01:00
ta264
541841d7b7 Don't try to match a null codec name (#784)
* Don't try to match a null codec name

* Add test
2019-05-01 06:42:01 +01:00
ta264
072f772dc8 New: Write metadata to tags, with UI for previewing changes (#633) 2019-03-15 12:10:45 +00:00
Tom Andrews
68b8ccc826 Fixed: NullReferenceException in GetAlbums 2019-03-10 22:20:24 +00:00
Qstick
7d4d923903 Fixed: Some TV scrubbing 2019-03-09 21:34:25 -05:00
ta264
6cfc591364 Fixed: Extra tests and fixes for new track parser (#632)
* Extra tests and fixes for new track parser

* Address review comments, add extra test, fix logging
2019-02-19 20:16:09 -05:00
ta264
bb02d73c42 Whole album matching and fingerprinting (#592)
* Cache result of GetAllArtists

* Fixed: Manual import not respecting album import notifications

* Fixed: partial album imports stay in queue, prompting manual import

* Fixed: Allow release if tracks are missing

* Fixed: Be tolerant of missing/extra "The" at start of artist name

* Improve manual import UI

* Omit video tracks from DB entirely

* Revert "faster test packaging in build.sh"

This reverts commit 2723e2a7b8.

-u and -T are not supported on macOS

* Fix tests on linux and macOS

* Actually lint on linux

On linux yarn runs scripts with sh not bash so ** doesn't recursively glob

* Match whole albums

* Option to disable fingerprinting

* Rip out MediaInfo

* Don't split up things that have the same album selected in manual import

* Try to speed up IndentificationService

* More speedups

* Some fixes and increase power of recording id

* Fix NRE when no tags

* Fix NRE when some (but not all) files in a directory have missing tags

* Bump taglib, tidy up tag parsing

* Add a health check

* Remove media info setting

* Tags -> audioTags

* Add some tests where tags are null

* Rename history events

* Add missing method to interface

* Reinstate MediaInfo tags and update info with artist scan

Also adds migration to remove old format media info

* This file no longer exists

* Don't penalise year if missing from tags

* Formatting improvements

* Use correct system newline

* Switch to the netstandard2.0 library to support net 461

* TagLib.File is IDisposable so should be in a using

* Improve filename matching and add tests

* Neater logging of parsed tags

* Fix disk scan tests for new media info update

* Fix quality detection source

* Fix Inexact Artist/Album match

* Add button to clear track mapping

* Fix warning

* Pacify eslint

* Use \ not /

* Fix UI updates

* Fix media covers

Prevent localizing URL propaging back to the metadata object

* Reduce database overhead broadcasting UI updates

* Relax timings a bit to make test pass

* Remove irrelevant tests

* Test framework for identification service

* Fix PreferMissingToBadMatch test case

* Make fingerprinting more robust

* More logging

* Penalize unknown media format and country

* Prefer USA to UK

* Allow Data CD

* Fix exception if fingerprinting fails for all files

* Fix tests

* Fix NRE

* Allow apostrophes and remove accents in filename aggregation

* Address codacy issues

* Cope with old versions of fpcalc and suggest upgrade

* fpcalc health check passes if fingerprinting disabled

* Get the Artist meta with the artist

* Fix the mapper so that lazy loaded lists will be populated on Join

And therefore we can join TrackFiles on Tracks by default and avoid an
extra query

* Rename subtitle -> lyric

* Tidy up MediaInfoFormatter
2019-02-16 09:49:24 -05:00
gismo2004
42252bf9c2 Fixed: Search Monitored to work with accent (#583)
* Fixed: Search Monitored to work with accent

Replace accent in Album/Artist when parsing results from indexer
Fix regex to match for multiple albums

* add test cases
2019-01-09 21:04:40 -05:00
ta264
c392569a63 New: Update DB to store all releases for an album (#517)
* New: Store all releases for an album and track artists

* Add Overview, links and release date by release

* Tidy up

* Fix metadata refresh errors following musicbrainz edits
2018-12-14 19:02:43 -05:00
ta264
d62b4e49f9 Fixed: Better release parsing (#541) 2018-11-18 21:59:54 -05:00
Qstick
b7fe4193f3 Changed: Added "Remastered" to album cleaning regex 2018-10-24 20:34:21 -04:00
Qstick
b17cccd736 Fixed: Removed duplicate test cases 2018-10-07 18:25:46 -04:00
Qstick
c95d3e0ecb Fixed: Language Parser Cases 2018-10-07 17:12:53 -04:00
Qstick
5a57c0cf17 Fixed: Parsing for Artist-Album-Year release 2018-10-02 22:15:21 -04:00
Qstick
56e1f53834 Fixed: Allow text in front of cleaned Album/Track tag (#498)
* Fixed: Allow text in front of cleaned tag

* fixup! Add another test case that shouldnt be matched.
2018-09-16 22:10:25 -04:00
Qstick
d9a51a1d02 Changed: Refactor ReleaseGroup Parser cases 2018-08-26 22:25:19 -04:00
Qstick
c3d2769d3f Added: Parser case for Artist - Album - Year [Other] 2018-08-26 21:48:49 -04:00
Qstick
499af45566 Added: Monkey Audio and WavPack support (#455)
* Added: Monkey Audio and WavPack support

* fixup! Add test case, fix typo
2018-08-26 21:11:07 -04:00
Qstick
674e1196b3 Added: Try Tag Parse with and without "Promo"
Fixes: #408
2018-07-17 22:14:05 -04:00
Daniel Underwood
116d3d22bb Fixed: Escape regex in ParseAlbumWithSearchCriteria (#244)
* Add regex escape to fix #231

* Add escape to artist name

* Fix test case

* Use single album parameter and add test cases

* Add artist test cases

* Add qualities to release titles

* Create albums in ParserFixture

* Added missing case in QualityParser. Handle escaping regex better for artists/albums that are just symbols.

* Removed custom code to escape slashes. Enhanced regex to support more test cases.

* Fixed Regex for other test cases.

* Small enhancements to code. Removed log statement.

* Tweaked one of my regex to account for not stripping ? from SimpleTitleRegex.
2018-04-21 09:40:23 -04:00