Commit Graph

1340 Commits

Author SHA1 Message Date
Qstick 7ffecf6c50 Fixed: several failing/flaky mono unit tests
Co-Authored-By: taloth <taloth@users.noreply.github.com>
2019-09-14 00:10:02 -04:00
ta264 1b72d9b60f Fixed: NRE importing Spotify saved albums / followed artists (#962) 2019-09-08 21:44:25 +01:00
ta264 c4b7e04a96 Fixed: NRE when tagging an album with omitted media 2019-09-05 19:23:01 -04:00
Taloth Saldono 91764ec115 Fixed: Removed .Net update notice on Windows LTSB 2015 2019-09-01 13:55:58 -04:00
Taloth Saldono 26c8768931 New: Removed libcurl http fallback since mono 5.16+ doesn't need it. Also bumped minimum mono version check to 5.16 (5.20 is the best choice atm) 2019-08-31 17:18:18 +01:00
ta264 91ddabe5dd Fixed: Catch exceptions looking up fingerprints
It's not crucial so if it fails don't take out the whole import process.
2019-08-29 19:35:21 +01:00
ta264 2097bfff94 Fixed: Null reference exceptions on update
Simplify entity equality code and enfore db/metadata split

Use a nuget package to remove boilerplate code that needs careful
update when adding/removing fields.  Add tests to enforce that all
fields are allocated to 'UseMetadataFrom' or 'UseDbFieldsFrom' to make
metadata refresh more foolproof.

Fix NRE when tracks are merged because artist wasn't set.
Fix NRE when tracks are merged and the merge target wasn't yet in the database.
2019-08-28 19:03:26 +01:00
ta264 ad4d7e4cfd New: Use ImageSharp for resizing (#934)
* New: Swap to ImageSharp for image resizing to avoid leaks

Stop resizing album images also

* Fixed: MediaCoverModule falls back to fullsize for png and gif too

* Fixed: Look for all image extensions in DeleteBadMediaCovers.cs
2019-08-25 15:46:19 -04:00
ta264 4413c7e46c New: Unmapped files view (#888)
* New: Unmapped files view

Displays all trackfiles that haven't been matched to a track.
Generalised the file details component and adds it to the album
details screen.

* Add sorting by quality

* New: MediaServiceTests & MediaRepoTests
2019-08-25 11:49:30 -04:00
Mark McDowall 74cb2a6f52 Fixed: Waiting a long time for unavailable root folders
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 01:24:56 -04:00
Mark McDowall 699f19b352 New: Cleanup Recycling Bin folders older than X days (0 to disable)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 00:58:59 -04:00
Qstick 0496e6afc2 Fixed: Repack don't being grabbed when cutoff already met
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2019-08-25 00:48:02 -04:00
ta264 f1fc45fa99 New: Migrate to new csproj format 2019-08-24 17:31:58 -04:00
ta264 e095fe00af Fixed: Delete unreferenced files 2019-08-24 17:31:58 -04:00
ta264 ee7d47d044 Fixed: All the tests 2019-08-24 15:45:55 -04:00
ta264 0352f8d3ff Fixed: Faster artist endpoint (#874)
* Fixed: Speed up AllArtist API endpoint

* New: Display UI before artists have loaded

* Add test of new repository methods
2019-08-17 08:04:59 +01:00
Taloth Saldono aa794a7155 Fixed: Workaround for mono 5.16+ bug preventing the closure of sockets on timeouts (Jackett connections)
ref #2802
2019-08-15 22:18:39 -04:00
ta264 1ab8c5a7bb Fixed: Embedding album art on import
On import the album release is adjusted, which triggers an
AlbumEditedEvent which in turn coverts media cover urls to local
urls.  The addition of ?lastWrite=xxx broke the calculation of
extenions from the URL.  To fix, only set the extension and don't
update the extension if url is changed.
2019-08-08 22:04:33 +01:00
ta264 3c1b3434c7 Fixed: Build on mono 6
Removed LogEntries which is unused
2019-08-03 14:40:34 +01:00
ta264 a35f965d31 New: Write genres and album art to track file tags 2019-08-02 19:25:14 +01:00
ta264 8d780f4057 Fixed: Don't force images to JPG and fix Kodi album art filenames 2019-08-02 13:03:00 +01: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 fb26ff286d New: Bump Newtonsoft.Json to 12.0.2 2019-07-29 18:37:38 +01:00
Qstick 2f1290d488 Fixed: Correctly handle Repack Releases 2019-07-27 13:14:51 -04:00
ta264 23316329ed New: Allow monitoring all albums for import list artist 2019-07-27 18:01:48 +01:00
ta264 8e777025cb Proposal: Length is definitive, fallback to modified if no length 2019-07-27 10:57:13 -04:00
Qstick 2be52c22d6 Fixed: Backup Mediacover Existing Check to Length if No Modified Date 2019-07-27 10:57:13 -04:00
ta264 814e44b7e4 Fixed: Actually refresh media covers 2019-07-27 07:31:47 +01:00
ta264 61b6572f61 Fixed: Failure re-adding a deleted artist 2019-07-27 07:31:47 +01:00
Qstick 5defb69eb6 Fixed: Tracked Download Cache Keeps Deleted Albums (#811)
* Fixed: Tracked Download Cache Deleted Albums

* Add a test
2019-07-26 17:21:03 -04:00
ta264 77d02a03a0 Add artist refresh completed event
Always fires unlike update, which only fires on actual update.  Use
this to make sure media covers are up to date on refresh
2019-07-24 19:34:27 +01:00
ta264 8160f3d84a Fixed: Simplify ArtistMetadataRepository 2019-07-24 19:34:27 +01:00
ta264 0b7a42ee3b New: Refactor metadata update 2019-07-24 19:34:27 +01:00
ta264 f5c1858d4c Fixed: UpdateAlbums was a duplicate of UpdateMany 2019-07-24 19:34:27 +01:00
ta264 76db27e8c2 New: Add old ids, artist aliases and genres 2019-07-24 19:34:27 +01:00
ta264 343b27b886 Fixed: Update modified times as well as sizes 2019-07-21 07:35:56 +02:00
ta264 da2b36514a Fixed: Prevent two TypeExclusive commands running at once
The check was bypassed if a disk access command was running at the
same time.
2019-07-20 13:38:07 +02:00
ta264 368363de96 Fixed: Prevent two Artists pointing to same ArtistMetadata 2019-07-20 13:38:07 +02:00
ta264 b62e27634a Disable failing parser test 2019-07-17 06:28:30 +01:00
ta264 93f7acfd32 Fixed: Update service test 2019-07-17 06:28:30 +01:00
ta264 736fddd0d8 Fixed: Failing skyhook search test
New search server with dismax parser will match EF
2019-07-17 06:28:30 +01:00
Taloth Saldono 84f707c51b Removed Nyaa Integration tests and increased logging detail during integration tests. 2019-07-17 06:28:30 +01:00
ta264 59b40bd032 Fixed: one_to_one test if system timezone isn't UTC 2019-07-17 06:28:30 +01:00
ta264 2284313d4d Fixed: Failing update test on Linux 2019-07-17 06:28:30 +01:00
ta264 ea2e8e499d Fixed: Failing history test 2019-07-17 06:28:30 +01:00
ta264 2c0d272c54 Fixed: Removed failing test no longer in Sonarr
As far as I can tell you wouldn't expect this to pass.  Setting the
path is handled by AddArtistService, not ArtistService.  This file is
present in the Sonarr tree but not included in the project.
2019-07-17 06:28:30 +01:00
Qstick 659844eeba New: Don't Execute Certain Command Types In Parallel (#855) 2019-07-14 17:17:00 -04:00
ta264 b4fc4e88a5 Fixed: UseRealHttp following addition of MetadataRequestBuilder 2019-07-10 06:21:00 +01:00
ta264 12b73830d3 New: Moq to 4.12 2019-07-10 06:21:00 +01:00
Qstick 6dd8df43ca Fixed: Incorrect parsing of APE and OPUS in some cases
Fixes #847
2019-07-06 18:22:12 -04:00