Commit Graph

205 Commits

Author SHA1 Message Date
Qstick c02b66ec44 Enforce comment spacing with Stylecop
Fixes #3104
2022-11-21 19:51:00 -06:00
luz paz 7d8a4abc8e Fix various typos
Found via `codespell -q3 -S ./yarn.lock,./src/NzbDrone.Core.Test,./src/NzbDrone.Core/Localization -L bitap,tempdate,uptodate`
2022-11-03 10:44:26 -05:00
Qstick b26b193e34 Fixed: Added .org to website url filtering in parser
Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
2020-10-13 23:25:40 -04:00
Mark McDowall c92de8d337 Fixed: Strip AlteZachen from release group name 2020-10-13 23:25:37 -04:00
Qstick aaebbbfda1 Fixed: Remove website post fix before parsing 2020-10-13 23:19:32 -04:00
Mark McDowall df7db89e8e Remove website prefixes with dashes in URL 2020-10-13 23:19:31 -04:00
Qstick 2a76ae4087 Fixed: Ignore album title when parsing release group
Fixes #1198

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2020-10-13 23:19:25 -04:00
ta264 be4e748977 New: Don't require artist mapping 2020-10-13 23:18:45 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
Qstick 988ba12762 Fixed: Cleaning percent signs from release names
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2020-10-13 23:14:57 -04:00
Qstick bbcdac2377 Fixed: Clean more release group names
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2020-10-13 23:14:56 -04:00
Qstick d9744c4102 Changed: Simplified more RegexReplace instances
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2020-10-13 23:14:56 -04: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
ta264 072f772dc8
New: Write metadata to tags, with UI for previewing changes (#633) 2019-03-15 12:10:45 +00:00
Qstick 923fcd8b95 Fixed: Remove Series/Episode Reverse Title Checks 2019-02-20 21:11:27 -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 d62b4e49f9 Fixed: Better release parsing (#541) 2018-11-18 21:59:54 -05:00
ta264 e260a29b57 Improve the fuzzy matching (#522)
* Fixed: improve track matching

* Deal with tracks sequentially numbered across discs
2018-11-16 12:46:46 -05:00
Qstick b7fe4193f3 Changed: Added "Remastered" to album cleaning regex 2018-10-24 20:34:21 -04:00
Qstick 5a57c0cf17 Fixed: Parsing for `Artist-Album-Year` release 2018-10-02 22:15:21 -04:00
gismo2004 9b0a7c60ed Fixed: Improve TrackMatching when title is slightly longer/shorter than DB (#491)
* improve TrackMatching

* Add unit test for TrackMatching

* rename NormalizeEpisodeTitle to NormalizeTrackTitle

* correct typo
2018-09-18 21:29:45 -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 b5ecc4d209 Fixed: Episode reference in Parser.cs 2018-09-14 22:40:34 -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 674e1196b3 Added: Try Tag Parse with and without "Promo"
Fixes: #408
2018-07-17 22:14:05 -04:00
Qstick 2f7e68ed06 New: Remove additional URL prefixes from release names
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-05-19 22:47:59 -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
Joseph Milazzo 734b1f6101
Added cases to strip feat. from track titles. (#288)
* Added cases to strip feat. from track titles.
2018-04-09 20:37:56 -05:00
Qstick c7ef370060 Added: Add Limited Edition to Album Tag Cleaning
Fixes #282
2018-04-07 22:47:04 -04:00
Qstick 28aa2eeeed Added: Readme OpenCollective Info 2018-04-07 01:06:22 -04:00
Joseph Milazzo e9097b8dc6 Check for MusicBrainz Release Id during Scan (#227) (#277)
* Implemented functionality to find album from DB if a track has album in the MusicBrainz Release Id tag. If tag doesn't exist or album is not found, handle via normal routes.

* Added a test case

* Fixed a bad merge.

* Fixed a bug where a track with an empty Album IDv3 tag always was ignored, even if it had MusicBrainz Release Id hardcoded.

* fixup: Quick fixes to get this merged tonight due to bug in develop
2018-04-07 00:52:28 -04:00
Joseph Milazzo aaa3b5495f
Feature/common tag parsing (#273)
* Added refresh title on the refresh button.

* Added a quick fix for common parsing issues when albums or tracks contain (special edition), (deluxe edition), [bonus], (version), (single), etc.
2018-04-05 19:31:58 -05:00
Joseph Milazzo 798e85e4db Implemented parsing case for Artist - Year - Album (#264) (#274)
* Implemented parsing case for Artist - Year - Album

* Enhanced test case to ensure year and artist also parse correctly.
Closes #264
2018-04-04 19:02:06 -04:00
Qstick 0f3934454b Cleanup: Cleanup Import/Parsing Files 2018-03-14 22:27:05 -04:00
Qstick 254b3fcfbe Fixed: Musicbrainz track id tag read incorrectly 2018-03-14 22:01:51 -04:00
Qstick 8e626269d1 Misc Fixes and Better Logging/Rejection Messages for Track Import 2018-02-15 23:03:44 -05:00
Qstick 28a508bed7 Fixed: Remove xpost suffix from release groups 2018-02-09 23:23:27 -05:00
Qstick 37d1ed4a48
Fixed: Grab discography during artist search (#208)
Closes #184
2018-02-10 05:03:12 +01:00
Qstick 750ecacb9b Fixed: Remove Pre and postbot suffixes from release groups 2018-02-03 21:59:29 -05:00
Qstick 3e476f2637 New: Add basic ruTracker parser cases 2018-02-03 21:25:17 -05:00
Qstick 66d3fd17e9 Fixed: Search Criteria parsing returns bad results (Abba/Black Sabbath) 2017-12-21 23:16:36 -05:00
Qstick ded7574227
Fix Headphones Download Auth, Add Special Parsing (#152)
* Add Secondary Backup Parsing Method if Regex Fails

* Add BasicAuth info to release for nzb download handling
2017-12-17 18:34:58 -05:00
Qstick 0f17569908 Fix Discography Recognition and Add Parser Test 2017-12-11 21:00:45 -05:00
Qstick 10b8174726
Extend Qualities and Setup Default Groups (#127)
* Extend Qualities and Setup Default Groups

* fixup! Extend Qualities

* fixup! Codacy

* fixup! One more
2017-11-20 19:20:21 -05:00
Qstick 21428cba6f
Medium Support (Multi-disc Albums), Quality Grouping (#121)
* Multi Disc Stage 1 - Backend Work

* Quality Group Functionality

* Fixed: Only show wanted album types on ArtistDetail page

* Add Media Count Column to ArtistDetail Page

* Parser updates for multidisc cases, other usenet release title formats

* Search for Tracks by Medium Number in Addition to Title and TrackNumber

* Medium Renaming Token for Track Naming

* fixup Codacy and Comment Cleanup

* fixup remove comments
2017-11-15 21:24:33 -05:00
Qstick b5a8c342e5 Cleanup Sonarr Regexes from Parser.cs 2017-11-01 21:23:29 -04:00
Qstick a80360f6fd Remove Remaining TV Code 2017-10-18 21:42:57 -04:00
Qstick 6685644c5c Refactor Various HouseKeepers 2017-10-08 16:07:54 -04:00