Commit Graph

86 Commits

Author SHA1 Message Date
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 a0a96911f8 Fixed: Use correct ID to search for Albums 2019-08-02 19:22:21 +01:00
ta264 166fc90454 New: Only scan files that are new or updated (#760)
* New: Only scan files that are new or updated

Pass through filter correctly

Add more tests

Add tests for migration 30

* Fix windows disk provider

* Don't publish deleted event for unmapped file

* Fix test on windows
2019-06-08 15:13:58 -04:00
Tom Andrews 68b8ccc826 Fixed: NullReferenceException in GetAlbums 2019-03-10 22:20:24 +00:00
Tom Andrews 8109dfb0b7 Fixed: Remove unused GetAlbum following importer rewrite 2019-03-10 22:20:24 +00: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
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 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
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 b5ecc4d209 Fixed: Episode reference in Parser.cs 2018-09-14 22:40:34 -04:00
Joseph Milazzo b661344ba8
Parser Enhancements (#291)
* When matching tracks with metadata, ensure we also check their track number as some albums have two tracks with same title.
2018-04-13 06:30:56 -05: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
Qstick 0f3934454b Cleanup: Cleanup Import/Parsing Files 2018-03-14 22:27:05 -04:00
Qstick 8e626269d1 Misc Fixes and Better Logging/Rejection Messages for Track Import 2018-02-15 23:03:44 -05:00
Qstick 37d1ed4a48
Fixed: Grab discography during artist search (#208)
Closes #184
2018-02-10 05:03:12 +01:00
Qstick bc8bd9995a Fixed: Don't import based on track number alone. 2017-12-28 22:03:41 -05:00
Qstick b63d9d0146
Fixes Misc Issues with Album Metadata Extrafiles (#145)
* Fixes Misc Issues with Album Metadata Extrafiles
* Fixed: Move Empty Subfolders to after ArtistRenamedEvent and Metadata mover
* Remove Path from Album Table, Fix Wdtv, MediaBrowser, Roksbox
* Remove Album Path from UI
* Remove Comments and add Jpeg extension to XMBC image regex
2017-12-12 21:25:30 -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 f1b1904e07 Update DB Schema, Change Artist Slugs, Rework SubtitleFiles to LyricFiles 2017-10-24 21:25:29 -04:00
Qstick 42e25055a9 Rework Tests for Music, Start TV Code Cleanup 2017-10-17 22:55:02 -04:00
Qstick 4016d359ac Guard Against Null AlbumTitle on Import 2017-10-15 15:30:36 -04:00
Qstick 78f1066535 Add Additional Logging to Track Parsing 2017-09-28 23:32:42 -04:00
Qstick 5fec72395c Null Checks for Track Parsing, Parse by Title if TrackNumber is missing 2017-09-14 23:33:13 -04:00
Qstick f05332cf6e [UI Work] Interactive Import, More Artist Detail 2017-09-12 23:28:45 -04:00
Qstick 95051cbd63 Initial Commit Rework 2017-09-05 23:00:26 -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
Joseph Milazzo ef4da4ac9f Track Parsing Code (#10)
* We now have the ability to import local tracks into Lidarr. Switching to IDv3 tag reading over custom parsing for local tracks.

* Stable code for track refresh.

* RefreshArtist and RescanArtist events are working correctly. Need to add potential rejection decisions in future.

* Implemented code comments

* PR comments and fixing some odd db bugs.

* Fix some conflicts after Unit Test PR Merge

Fix some conflicts after Unit Test PR Merge

* Track/Album Add and Update Fixes

Track/Album Add and Update Fixes

* Fixed an issue with trackimport looking up trackId instead of artistId

* Add Handle to TrackService for TrackAddedEvent

Add Handle to TrackService for TrackAddedEvent

* Update Quality Regex, Store BitRateMode in TrackFile

Update Quality Regex, Store BitRateMode in TrackFile
2017-07-03 13:39:06 -05:00
Joseph Milazzo 1024555f75 At a point where we can build. Many TODOs and existing Series-based APIs need to be removed. No track code actually works. 2017-05-29 12:09:18 -05:00
Joseph Milazzo 76db95947c Refactored most code for track parsing. 2017-05-11 13:43:05 -05:00
Joseph Milazzo 2813fccc78 Updated the code to allow a search to be made from UI to iTunes and return a mock result. 2017-04-28 17:05:35 -05:00
TCBWZA 1a11a932e3 Remove ISceneMappingService to get rid of service.sonarr.tv access errors 2017-04-13 20:14:13 +02:00
Mark McDowall 3c22f68f5a Fixed: Parsing releases with year added to the end of the series title
Fixes #1768
2017-03-18 22:45:47 -07:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Mark McDowall e6288148ad Fixed: Suppress warning log messages when unable to parse non-video files 2016-09-20 22:08:04 -07:00
Mark McDowall 2e96c4e798 New: Parse existing subtitles and extra files
Towards #459
2016-09-17 01:27:15 -07:00
Mark McDowall f2c8156c00 ParsingService.GetEpisodes will use TVDB season number when available 2016-03-28 19:32:58 -07:00
Mark McDowall 942be364dc Treat XEM aliases as SceneSeasonNumber
Fixed: Aliases used incorrectly when TVDB season number matched the seaon number of the alias
Closes #1140
2016-03-28 19:32:25 -07:00
Mark McDowall 8373024f9d Fixed: Parsing of queued specials from download client queue 2016-01-05 22:56:34 -08:00
Taloth Saldono 99f452e299 New: Added support for newznab indexers using tvdbid for searching. 2015-10-09 22:22:46 +02:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Taloth Saldono a84f39bb48 Fixed: Should ignore indexer provided tvrageid when scene naming exception exists. 2015-08-03 23:09:33 +02:00
Taloth Saldono 429298c68c Fixed manual import of unknown episodes. 2015-05-12 00:30:47 +02:00
Mark McDowall 62f4fc5e58 Fixed: Some anime season 1 parsing 2015-04-10 07:32:34 -07:00
Taloth Saldono d8662321be Fixed parsing specials with Scene.Title.S0x.Episode.Title format. 2015-03-03 01:08:53 +01:00
Taloth Saldono 2e81e278e1 Fixed a couple of logging errors. 2015-03-01 22:34:39 +01:00