Commit Graph

24 Commits

Author SHA1 Message Date
Qstick c02b66ec44 Enforce comment spacing with Stylecop
Fixes #3104
2022-11-21 19:51:00 -06:00
Robin Dadswell 8f6e099794 New: Postgres Database Support
Co-Authored-By: Qstick <376117+Qstick@users.noreply.github.com>
2022-11-20 10:41:48 -06:00
ta264 53c0ffd129 Swap to dapper with lazyload 2020-10-13 23:19:27 -04:00
ta264 be4e748977 New: Don't require artist mapping 2020-10-13 23:18:45 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 0bde5fd9e5 New: Add/remove individual albums 2020-10-13 23:18:08 -04:00
ta264 aa66358725 Fixed: Prevent GetFilesByBasePath matching partial paths
When searching for /test/path it was returning files in /test/path2.
Fix by making sure to search for /test/path/
2020-10-13 23:15:00 -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
ta264 447bf63a4d Fixed: Correctly delete trackfiles on AlbumDeletedEvent
GetFilesByAlbum performs a join on the album releases under the hood,
which won't be populated once the album is deleted.  Fix by providing
a special delete method which omits the join and just looks at albumId.
2019-06-27 12:39:56 +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
ta264 ef3005f2bb Fixed: GetFilesByAlbum should only return files for monitored releases
Since switching releases doesn't clear out trackfiles for unmonitored
releases, we need to ensure we only return files for monitored
releases otherwise we will return duplicates
2019-04-01 08:30:43 +01:00
ta264 6e4b1ba1fe
Fixed: MediaFileRepository was ignoring AlbumRelease monitored flag (#689) 2019-03-23 08:37:34 +00:00
ta264 072f772dc8
New: Write metadata to tags, with UI for previewing changes (#633) 2019-03-15 12:10:45 +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
Qstick 54e9f88648 Various UI Fixes and Updates
Closes #188
Closes #185
Closes #187
2018-01-25 22:01:53 -05:00
Qstick 8569084255 Refactor and Enable Renaming for Album and Artist Files (#61)
Refactor and Enable Renaming for Album and Artist Files
2017-08-25 22:00:14 -04:00
Qstick fafe4e93f3 Clean up and back to build state
Clean up and back to build state
2017-06-19 20:57:07 -04:00
Joseph Milazzo 76db95947c Refactored most code for track parsing. 2017-05-11 13:43:05 -05:00
Taloth Saldono 2a83088045 Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible. 2015-05-04 00:50:10 +02:00
Taloth Saldono 7b420fc033 Added MediaInfo to EpisodeFile. 2014-08-05 18:14:06 +02:00
Mark McDowall 409e1cca94 No more dupes and house cleaner added 2014-02-12 01:04:56 -08:00
Mark McDowall 3ca5e478ff Almost everything working except importing episode thumbs 2014-02-12 01:04:54 -08:00
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00
Renamed from NzbDrone.Core/MediaFiles/MediaFileRepository.cs (Browse further)