Commit graph

1086 commits

Author SHA1 Message Date
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
Qstick
e4e677eea2 New: Limit provider backoff during the first 15 min of startup
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-01-12 16:00:22 -05:00
ta264
9185223f53 Fix more issues with migration 23 (#577)
* Tests for migration 23

* Make the migration more robust

For duplicate foreign Ids, create dummy id so correlated subquery
doesn't fail.

If we can't parse the release from the database, put in a dummy release.

* Be more careful with metadata refreshes

Make sure we deal with items that are not linked to the correct parent
2019-01-12 11:56:13 -05:00
ta264
1eea545c0a Remove typographic apostrophe (#586)
This is the preferred apostrophe on musicbrainz
https://beta.musicbrainz.org/doc/Style/Miscellaneous
2019-01-12 11:55:33 -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
Qstick
ef9072fc3b
Fixed: Support new feed url format IPTorrents (#573) 2018-12-16 21:46:09 -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
32c75cfcbc New: Manual import refreshes decisions when artist/album updated (#540) 2018-11-18 22:16:55 -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
8320508688 Fixed: TrackedDownloadFixture Un-parsable title 2018-11-11 02:19:50 -05:00
Qstick
caac321ef9 Fixed: Add HistoryService Mock to Queue Fixture 2018-11-11 01:52:21 -05:00
Qstick
0099d9f430
Updated: NUnit and TestAdapter to 3.11.0 (#538) 2018-11-11 01:26:45 -05:00
ta264
c98b86b413 Fixed: Allow downloading any search result (#525)
* Allow downloading any search result

Ones that couldn't be parsed get a red icon

* Not required - initialized to false

* Add a warning the the queue page for manual downloads
2018-11-11 00:38:38 -05:00
Qstick
b7fe4193f3 Changed: Added "Remastered" to album cleaning regex 2018-10-24 20:34:21 -04:00
ta264
eadd6996ef Fuzzy matching (#508)
* Fixed: correctly match albums whose title is all special characters

* New: fuzzy matching on album and track names
2018-10-20 18:09:12 -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
e08f39ebe0
New: Setting to prevent download of early releases (#485)
* New: Setting to prevent download of early releases

* Fixup! Test and Wording
2018-09-20 22:21:26 -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
d61ba76574 New: Choose extension for magnet links in Torrent Blackhole
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-09-13 22:28:17 -04:00
Qstick
812af82fae
Fixed: Search fails for many artist and albums with specials (#466)
* Fixed: Search fails for many artist/albums with specials

* fixup! Replace & with space

* fixup! Add two more test cases

* fixup! Add last test case

* fixup: Newznab test case
2018-09-04 22:55:08 -04:00
Qstick
6b45758fde New: Improved Plex Media Server authentication (Manually update settings)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-09-02 00:42:03 -04:00
Qstick
ba96dad8c7 Fixed: UI and Command manager updates
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-08-28 23:01:02 -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
a56e2edb74 Fixed: Concurrent manual imports silently failing
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-08-18 21:48:32 -04:00
Qstick
ed94d47cdd Fixed: Too big eta in qbit api still occurring on official builds
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-08-07 21:24:26 -04:00
Qstick
6581b3a2c5
New: UI Updates, Tag manager, More custom filters (#437)
* New: UI Updates, Tag manager, More custom filters

* fixup! Fix ScanFixture Unit Tests

* Fixed: Sentry Errors from UI don't have release, branch, environment

* Changed: Bump Mobile Detect for New Device Detection

* Fixed: Build on changes to package.json

* fixup! Add MetadataProfile filter option

* fixup! Tag Note, Blacklist, Manual Import

* fixup: Remove connectSection

* fixup: root folder comment
2018-08-07 20:57:15 -04:00
Qstick
e6a43b2dc0
New: Added album disambiguation to UI and Naming [ex. Weezer (Blue Album)] (#431) 2018-07-20 18:33:56 -04:00
Qstick
219f7c0f31 Fixed: Ignore /etc in System disk overview
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-07-17 22:36:45 -04:00
Qstick
674e1196b3 Added: Try Tag Parse with and without "Promo"
Fixes: #408
2018-07-17 22:14:05 -04:00
Qstick
a9d66133a6 Fixed: Dowload client category validation messages not showing 2018-07-17 21:16:39 -04:00
Qstick
274df2f1ed Fixed: Skip torrents in Deluge api that don't have hashes 2018-07-17 21:04:10 -04:00
Qstick
cee1b33c60 Fixed: Forced seeding in QBittorrent status treated as complete
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-07-07 21:55:07 -04:00
Qstick
14fcef8ec0
New: Updated NewtonsoftJson to 11.0.2 (#387) 2018-06-01 22:56:15 -04:00
Qstick
089d213816
New: Nested Settings and Seed Ratio Setting (#379)
* New: Nested Settings and Seed Ratio Setting

* Fixed: Sonarr related variable naming
2018-06-01 21:59:54 -04:00
Daniel Underwood
d7d4f62737 Changed: Force album refresh when artist refresh manually triggered (#374)
* Force album refresh when artist refresh manually triggered

* Refresh albums on single artist refresh
2018-05-28 03:49:34 -04:00
Qstick
030deaf6ef
New: Expand OnAlbumDownload, Add Synology handling (#372)
* New: Expand OnAlbumDownload, Add Synology handling

Fixes #324

* fixup: small naming correction

* fixup: Tests for Synology
2018-05-27 00:55:43 -04:00
Qstick
73157534e0
Fixed: Don't download artist images if match existing (#362)
* Fixed: Don't download artist images if existing exists

* fixup: Wrap FileSetWriteTime in try

* fixup! Tests and Rework
2018-05-24 21:08:35 -04:00
Qstick
2969decf95 Fixed: Tests for refresh intervals 2018-05-22 23:03:31 -04:00
Qstick
7bc2d62ba6
Update Nlog to 4.5.4 (#359)
* Update Nlog to 4.5.4

* fixup: Remove Unused References

* fixup: more references
2018-05-20 00:32:40 -04:00
Qstick
4dfe7cede4 Fixed: Qbittorrent ETA and Initial State
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-05-19 22:38:58 -04:00
Qstick
25c0423ef6
Fixed :Compile warning cleanup (#314)
Fixed :Compile warning cleanup
2018-04-22 17:12:57 -04:00
Qstick
e06858e4bf Sonarr pulls (#310)
* New: Speed up sqlite3 initialization by disabling unused features

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* New: Debounce Command Notifications

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Changed: Refactored PendingRelease logic for performance

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Added: Indexes to speed up DecisionMaker performance.

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* New: Cache EventAggregator Subscribers

Co-Authored-By: taloth <taloth@users.noreply.github.com>

* Fixed: Hide fallback pending releases if temporarily delayed

Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-04-22 08:35:37 -05: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