Commit Graph

35 Commits

Author SHA1 Message Date
Qstick 1bc0b5f950 Enable all analyzers and enforce code style on build
Fixes #3406
Fixes #3407
Fixes #3408
Fixes #3409
Fixes #3410
Fixes #3411
Fixes #3412
Fixes #3413
Fixes #3414
Fixes #3415
Fixes #3416
Fixes #3417
Fixes #3418
Fixes #3419
Fixes #3420
Fixes #3421
Fixes #3422
Fixes #3423
2023-04-11 21:31:27 -05:00
ta264 53c0ffd129 Swap to dapper with lazyload 2020-10-13 23:19:27 -04:00
ta264 4f5a0b7afd Fixed: Update file paths correctly when moving artist
Fixes #1088
2020-10-13 23:18:47 -04:00
ta264 ffc67899d1 Fixed: Rename TrackFiles in DB on artist move
Fixes #1012
2020-10-13 23:18:45 -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 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 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 26ef43f302
New: Manually Edit/Override Album Release (#181)
* New: Manually Edit/Override Album Release

* !fixup for comments, loading all albums instead of only artist albums
* fixup! UI Cleanup lint issues
* fixup! Remove AddAlbum service for now, fix refresh override selected release
* fixup! Last one... to fix updating albums with custom release set

Closes #109 
Closes #129 
Closes #128
2018-01-17 21:28:47 -05:00
Qstick 95051cbd63 Initial Commit Rework 2017-09-05 23:00:26 -04: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
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 ee90d8021a Merge conflicts 2017-06-21 20:32:50 -05:00
Joseph Milazzo bf7f890c48 Restabilized add artist flow with NodeJS API 2017-06-21 20:30:45 -05:00
Joseph Milazzo dc0db08ca8 Merge conflicts 2017-06-21 06:16:22 -05:00
Qstick 916db8d356 Add Track and TrackFile API Resources
Add Track and TrackFile API Resources, Add Rename Track Resource, Add GetFilesByAlbum function to Media File Service, Add Links to Artist Detail Page, Misc other UI work
2017-06-20 23:06:28 -04:00
Joseph Milazzo e96cf08409 Back to a stable build. Fixedtrackrepo.findtracks 2017-06-20 08:03:13 -05: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
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall f63476260b New: Show episode file file deletions in history and episode activity 2014-09-06 08:08:12 -07:00
Mark McDowall 807ed7df1a New: Show disk space used by series on series details 2014-08-17 00:41:16 -07:00
Mark McDowall 6671934c0f Relative episode file paths 2014-08-13 17:08:24 -07: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
kayone 91d64f0b6a path performance optimization 2013-11-30 16:33:59 -08:00
Mark McDowall e42ac25657 Rename preview for full series and season
New: Preview before renaming files
2013-11-27 01:26:10 -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/MediaFileService.cs (Browse further)