Commit Graph

61 Commits

Author SHA1 Message Date
Qstick c02b66ec44 Enforce comment spacing with Stylecop
Fixes #3104
2022-11-21 19:51:00 -06:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 b62e27634a Disable failing parser test 2019-07-17 06:28:30 +01: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
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 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 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
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
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 37d1ed4a48
Fixed: Grab discography during artist search (#208)
Closes #184
2018-02-10 05:03:12 +01:00
Qstick 3e476f2637 New: Add basic ruTracker parser cases 2018-02-03 21:25:17 -05:00
Qstick fdb7c96ffa Fixed: DownloadedTrackImport Fixture Tests and ParserFixture Tests
#166
2017-12-24 21:45:28 -05:00
Qstick 66d3fd17e9 Fixed: Search Criteria parsing returns bad results (Abba/Black Sabbath) 2017-12-21 23:16:36 -05:00
Qstick 0f17569908 Fix Discography Recognition and Add Parser Test 2017-12-11 21:00:45 -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 f8f988a083 Misc Sonarr Pulls 2017-10-07 23:54:13 -04:00
Qstick 1e4d9480e9 Implement Release Parsing, Decision Engine, and Downloading (#35)
* Implement Parsing, Decision Engine, and Downloading
2017-08-13 22:58:42 -04:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Björn Dahlgren 994e2a6c57 Fixed failing tests on Mono
Test case unicode characters in escaped format
2015-11-22 01:11:43 +01:00
Taloth Saldono f01a21ce43 Degraded 101 regex to favour S01 regex to match prevent matching 3 digit series title.
Fixes #885
2015-10-22 23:19:22 +02:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Taloth Saldono d46c170b70 Fixed: Matching anime using full series title instead of cleaned title to be able to detect subtle!! differences`!! in titles!!! 2015-07-07 21:43:34 +02:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Taloth Saldono 10b45f769e Fixed: Parser no longer chokes on titles with a file extension and invalid path characters such as :. 2014-11-19 21:47:11 +01:00
MythJuha 67cd5703a1 New: Implemented Torrent Download Clients: uTorrent, Transmission and Deluge. And several public and private Torrent Indexers. 2014-11-19 21:47:10 +01:00
Mark McDowall 3b54f90237 Absolute tests 2014-11-04 10:46:29 -08:00
Mark McDowall 3b08f317dd Remove request info from title when parsing 2014-08-11 22:11:06 -07:00
Mark McDowall 41ece422c9 Fixed: Remove accents from titles when looking for matching series 2014-08-11 12:26:06 -07:00
Mark McDowall 9447ea6786 Fixed broken tests 2014-03-10 12:24:32 -07:00
Mark McDowall db5baf70ea Don't clean common words from the start of the title
Fixed: Do not treat similar titles as the exact same
2014-03-10 12:20:28 -07:00
Mark McDowall 0b2b8e9bbe Cleaned up parser tests, 1103/1113 parsing is less greedy
Fixed: Importing of hashed releases
2014-02-20 09:18:32 -08:00
Mark McDowall 54f01ce41d Fixed: Detection of russian releases using 'rus' in the title 2014-02-11 19:18:17 -08:00
Mark McDowall 4fc25b010c Fixed: Sequential series have proper clean titles 2014-01-29 22:43:23 -08:00
Mark McDowall b29efa5823 Fixed: Release group will not contain file extension 2013-12-25 23:16:13 -08:00
Mark McDowall a5a02ce90e Fixed: Incorrectly treating single episode releases as full season releases 2013-12-23 20:17:20 -08:00
Mark McDowall 80b2e605a9 Fixed: Issue processing full season releases 2013-12-22 17:32:50 -08:00
Mark McDowall f76c4700a6 New: Release Group can now be used in rename patterns 2013-12-08 22:25:11 -08:00
Mark McDowall 26495aaa4b More parsing tests to ensure anime doesn't break standard episodes 2013-11-30 02:54:11 -08:00
Mark McDowall c554e3f6b9 More tests for single title paring of shows with a number in the title 2013-11-29 10:29:47 -08:00