Commit Graph

40 Commits

Author SHA1 Message Date
Qstick 1eb0d3b11a Track fully imported downloads in separate history table 2021-12-29 11:47:19 -06:00
ta264 9f1d4446e8 Fixed: Allow repeated import attempts until downloaded files appear 2021-08-04 21:26:09 +01:00
Qstick 015d2b1396 Fixed: Prevent NullRef on Manual Import of unknown releases 2021-04-02 00:09:57 -04:00
Qstick b3352564fa Fixed: Update path before importing to ensure it hasn't changed
Fixes #1847
2021-01-24 21:44:00 -05:00
ta264 39b57cfe6e Fixed: Get actual file names from QBittorrent API (#5226)
* Fixed: Get actual file names from QBittorrent API

Previously we were assuming that the output filename was the category
output dir + the torrent name.  This isn't true if the torrent has
been renamed or sanitized.
2020-12-12 19:31:48 -05:00
Mark McDowall d83e20937d New: Monitor and Process downloads separately
New: Queue remains up to date while importing file from remote file system
Fixed: Failed downloads still in queue won't result in failed search
2020-10-13 23:19:27 -04:00
ta264 c4cf178144 Fixed: Don't mark downloads as failed if no files found
Resolves #945
2020-10-13 23:18:47 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 6afece237c Fixed: Don't process tracked download if RemoteAlbum is null (#716)
Fixes LIDARR-1V4
2019-04-04 20:37:48 -04:00
Tom Andrews 15425a45a3 Fixed: Null reference exception in CompletedDownloadService
Fixes Sentry LIDARR-1GW
2019-03-14 13:14:06 +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
Qstick 405e7f981d Download Handling, Clean Up Drone Folder Leftovers 2017-09-17 23:00:37 -04:00
Qstick bcd72367d9 Organize TrackImport Directory and Fix Tests (#72)
* Organize TrackImport Folder and Fix Tests

* Remove Commented Out Line

* Remove Old Code
2017-08-30 22:42:40 -04:00
Qstick 2c42fc19e5 Rename Drone Factory Config Keys (#70)
* Rename Drone Factory Config Keys
2017-08-27 20:32: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 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
Matthew Despain 20c8dec50a First round of refactoring. 2017-03-29 21:49:38 -06:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Taloth Saldono 9fbe06ad68 New: Added support to override Copy vs Move import logic for DownloadedEpisodesScan API and Manual Import UI. 2016-11-02 20:28:45 +01:00
Mark McDowall 04de0049fe Don't try to process a download client item with an invalid path for the OS 2015-10-21 15:06:54 -07:00
Kayomani de8deffbd2 New: Downloads can be tracked by the source name in addition to the download name 2015-07-07 00:34:25 +01:00
Taloth Saldono 6ba78f6aed No longer marks download as imported if no episodes were found. 2015-03-01 22:44:13 +01:00
Mark McDowall 2bbce39faa Show title mismatches, but don't import them automaticallys
Fixed: Show Series title mismatches in the UI
Fixed: Force import from Queue for title mismatches
2015-01-21 14:34:11 -08:00
Keivan Beigi 4ac9fd939a Fix: consider download completed if all remote episodes are imported 2014-12-22 11:25:23 -08:00
Keivan Beigi a6d34caf2c New: Rebuilt Completed/Failed download handling from scratch 2014-12-18 16:26:42 -08:00
Mark McDowall d93bd52a01 Queue actions
New: Remove items from queue/history from Activity
New: Force import of series title mismatch from Activity
2014-12-09 21:52:41 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 0cc4639e65 Log reason why download isn't being imported 2014-12-03 16:45:40 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Taloth Saldono 8a86b8acdc Added OsPath to handle OS agnostic path handling. 2014-11-19 21:47:11 +01:00
Taloth Saldono 0b48630c00 New: Improved the DownloadedEpisodesScanCommand endpoint to better support external triggers to CDH. (nzbToMedia) 2014-11-15 01:48:40 +01:00
Mark McDowall 83a64fb8b8 Cleaned up completed download service (more methods) 2014-11-13 16:37:09 -08:00
Mark McDowall caa6a3858b Use DownloadClientIds to find matching series/episodes instead of relying solely on release name
Fixed: Show a warning in Queue when drone is unable to import due to a name mismatch
Fixed: Better UI messages for Queue when there is an error or warning
2014-09-28 16:20:06 -07:00
Mark McDowall b638e09f24 Fixed: Don't mark releases as imported unless at least one file is imported 2014-09-03 17:57:27 -07:00
Mark McDowall 2651cd63a8 Fixed: Don't mark a download as successful unless all valid files are imported 2014-08-30 14:42:24 -07:00
Taloth Saldono 53e723a301 Fixed: Blacklist Retry logic will now properly handle Sabnzbd changing the unique id. 2014-07-19 20:16:45 +02:00
Taloth Saldono 47089d360d New: The History->Queue UI now show some elementary error information for failed imports. 2014-07-19 00:19:27 +02:00
Taloth Saldono 1a6abfe635 Fixed: Manually marking a release as failed will now also remove it from the queue in drone and, if enabled, remove it from the download client. 2014-06-30 23:26:18 +02:00
Taloth Saldono 1a63b1caba Updated migration to attempt associate old grabbed & imported events and associate drone factory imports during CompletedDownloadHandling. 2014-05-30 19:40:38 +02:00
Taloth Saldono 2035fe8578 New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature) 2014-05-30 19:40:29 +02:00