Commit Graph

100 Commits

Author SHA1 Message Date
Bogdan cc27107668 Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)

Closes #3749
2023-05-28 17:23:59 +03:00
Bogdan 35248c277d Rename fields from Tv to Music in download clients settings 2023-05-14 21:41:24 +03:00
Bogdan f19c6e8ee1 Remove unused imports
Close #3651
2023-05-12 19:24:16 +03:00
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
Qstick 6635840972 Fixed: Migrating case-sensitive Preferred Word REGEX to Custom Formats
Closes #3322
2023-02-04 20:21:52 -06:00
Qstick 9fe13a2d14 New: Custom Formats
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2023-01-22 16:38:04 -06:00
Qstick c02b66ec44 Enforce comment spacing with Stylecop
Fixes #3104
2022-11-21 19:51:00 -06:00
Robin Dadswell c006b66aa4 Fixed: Postgres timezone issues
Co-authored-by: ta264 <ta264@users.noreply.github.com>
(cherry picked from commit d55864f86914199aa0c4ee37df1e42e6ad71ef4f)
2022-11-20 10:41:48 -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
Qstick 1eb0d3b11a Track fully imported downloads in separate history table 2021-12-29 11:47:19 -06:00
Qstick 1d0df366fb New: Per download client setting to Remove Completed/Failed 2021-12-29 11:47:19 -06:00
Qstick f106c01d43 Maintain PrimaryKey and AutoIncrement on some schemas 2021-12-24 14:17:17 -06:00
Taloth Saldono a8b6f70be1 Multiple Email Address
Fixes #2043
Fixes #2074
Fixes #2138
Fixes #2145
Fixes #2148
2021-06-29 23:38:09 -04:00
Qstick 3a7e5c9201 Fixed: Database migration failure when database was manually repaired in a certain way
Fixes #2094
2021-04-01 22:17:51 -04:00
Qstick cb8482921f Fix BasicRepository Tests when not on UTC
(cherry picked from commit 4f7dc94b94bda49443c28baefc592e7388bcf540)
2020-12-24 11:35:17 +00:00
Qstick eb5a95cfa6 Quick fix for Queue sort by Artist SortName
Fixes #1817
2020-12-18 21:15:36 -05:00
ta264 80fe567e51 Add SortKey validation 2020-12-17 23:12:43 -05:00
Qstick dbdc805e80 Remove unnecessary usings 2020-10-13 23:19:30 -04:00
ta264 3e082df21d Fixed: Error fetching paged records from API without a sort key
[common]
2020-10-13 23:19:29 -04:00
ta264 e1a62af586 Fix test 2020-10-13 23:19:28 -04:00
ta264 0f5531af4d Fixed: Error deserializing preferred words with dapper
Fixes Sentry LIDARR-106
Fixes Sentry LIDARR-10B
2020-10-13 23:19:28 -04:00
ta264 53c0ffd129 Swap to dapper with lazyload 2020-10-13 23:19:27 -04:00
Taloth Saldono 8a68042192 Skip unknown/removed commands still queued in the database 2020-10-13 23:19:24 -04:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
ta264 f136449573 Update FluentMigrator to v4 2020-10-13 23:15:01 -04:00
Qstick 041e28fbb9 New: FluentAssertions to 5.9.0 2020-10-13 23:14:59 -04:00
Taloth Saldono 3b3d81dab2 Support for primary and fallback download client 2020-10-13 23:14:58 -04: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 368363de96 Fixed: Prevent two Artists pointing to same ArtistMetadata 2019-07-20 13:38:07 +02:00
ta264 59b40bd032 Fixed: one_to_one test if system timezone isn't UTC 2019-07-17 06:28:30 +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
Qstick 1212578c45
Fixed: Migration 23 doesn't set Track.ArtistMetadataId (#756) 2019-04-15 12:31:19 -04:00
Qstick 3f064c94b9
New: Release Profiles, Frontend updates (#580)
* New: Release Profiles - UI Updates

* New: Release Profiles - API Changes

* New: Release Profiles - Test Updates

* New: Release Profiles - Backend Updates

* New: Interactive Artist Search

* New: Change Montiored on Album Details Page

* New: Show Duration on Album Details Page

* Fixed: Manual Import not working if no albums are Missing

* Fixed: Sort search input by sortTitle

* Fixed: Queue columnLabel throwing JS error
2019-02-23 17:39:11 -05: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 9185223f53 Fix more issues with migration 23 (#577)
* Tests for migration 23

* Make the migration more robust

For duplicate foreign Ids, create dummy id so correlated subquery
doesn't fail.

If we can't parse the release from the database, put in a dummy release.

* Be more careful with metadata refreshes

Make sure we deal with items that are not linked to the correct parent
2019-01-12 11:56:13 -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 25c0423ef6
Fixed :Compile warning cleanup (#314)
Fixed :Compile warning cleanup
2018-04-22 17:12:57 -04:00
Qstick 74f433d4f0 New: Added tests for DB Converters 2018-01-14 20:41:52 -05:00
Qstick ec12bede9d Fixed: Cleanup 11 more tests 2017-12-30 01:09:10 -05:00
Qstick f7f6ad159c Temp Fix for Calendar Feed until Data Mapper can be fixed. 2017-11-25 00:16:46 -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 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 95051cbd63 Initial Commit Rework 2017-09-05 23:00:26 -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
d7ad9b8218 Support music qualities. This is a work in progress, lots of code still references tv series 2017-05-07 19:07:19 -07:00
Taloth Saldono ec7f749541 Tweaked default config for extra files import. 2017-03-26 21:22:58 +02:00
Mark McDowall 081c5fc332 Broken ExtraFiles migration due to extentionless files
Fixed: Prevent extensionless files from being imported
Fixed: Broken migration due to extensionless extra files
2017-03-06 11:00:38 -08:00
Mark McDowall 47915d5e05 Fixed: Bad extension when importing extra files 2017-03-05 17:45:35 -08:00