Commit Graph

56 Commits

Author SHA1 Message Date
Qstick c02b66ec44 Enforce comment spacing with Stylecop
Fixes #3104
2022-11-21 19:51:00 -06:00
Qstick a2d1291168 Fixed: Assume WEB is MP3-320
Fixes #3038
2022-10-21 23:45:42 -05:00
Qstick 7fcebba786 Fixed: Parse WEBFLAC as FLAC
Fixes #3013
2022-10-02 18:54:17 -05:00
servarr[bot] f74b6e5275
New: Parse version with a space before 'v'
* New: Parse anime version with a space before 'v'

(cherry picked from commit e9123982f33ab35ca022f91f345da05fef23d6dc)

* Delete AnimeVersionFixture.cs

Co-authored-by: Mark McDowall <mark@mcdowall.ca>
Co-authored-by: Qstick <qstick@gmail.com>
2022-09-26 17:19:13 -05:00
Taloth Saldono 4d90daebf1 Fixed: Exception when parsing Quality in release title with colon 2020-12-17 08:08:26 -05:00
Qstick a4b78b44ce StyleCop (#1058)
* Stylecop Rules and Fixes
2020-10-13 23:18:09 -04:00
Qstick 2f1290d488 Fixed: Correctly handle Repack Releases 2019-07-27 13:14:51 -04:00
Qstick 6dd8df43ca Fixed: Incorrect parsing of APE and OPUS in some cases
Fixes #847
2019-07-06 18:22:12 -04:00
ta264 541841d7b7
Don't try to match a null codec name (#784)
* Don't try to match a null codec name

* Add test
2019-05-01 06:42:01 +01: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
Qstick 499af45566
Added: Monkey Audio and WavPack support (#455)
* Added: Monkey Audio and WavPack support

* fixup! Add test case, fix typo
2018-08-26 21:11:07 -04:00
Daniel Underwood 116d3d22bb Fixed: Escape regex in ParseAlbumWithSearchCriteria (#244)
* Add regex escape to fix #231

* Add escape to artist name

* Fix test case

* Use single album parameter and add test cases

* Add artist test cases

* Add qualities to release titles

* Create albums in ParserFixture

* Added missing case in QualityParser. Handle escaping regex better for artists/albums that are just symbols.

* Removed custom code to escape slashes. Enhanced regex to support more test cases.

* Fixed Regex for other test cases.

* Small enhancements to code. Removed log statement.

* Tweaked one of my regex to account for not stripping ? from SimpleTitleRegex.
2018-04-21 09:40:23 -04:00
Qstick 121eb6db16 Fixed: Quality Parsing for VBR Fails in many cases
Fixes #258

Co-Authored-By: taloth <taloth@users.noreply.github.com>
2018-03-25 23:08:05 -04: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
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
Keivan Beigi c42e4d682c more kosher regex group names. 2016-12-21 20:38:35 -08:00
Taloth Saldono 19d625c6c5 Fixed: Changed Quality Parser to avoid matching tags in the Episode title instead of the Quality tags. 2016-10-10 23:32:01 +02:00
Taloth Saldono 32a347bdd2 Updated WEB regex. 2016-06-14 23:13:50 +02:00
Mark McDowall d984dd41d6 Fixed: Parsing WEB releases that use spaces instead of periods
Closes #1339
2016-06-13 22:08:22 -07:00
Mark McDowall b9d67ae421 Better logger name for QualityParser 2016-06-02 10:04:41 -07:00
Taloth Saldono 3f74a87b45 Fixed: Removed TrollHD from the RawHD detection regex since they now also release other sources.
fixes #1193
2016-03-26 20:45:52 +01:00
Taloth Saldono da0bdc5750 New: Added RERIP as REPACK (Proper). 2016-03-26 20:41:27 +01:00
Taloth Saldono 6508e920fe New: Added (fairly strict) regex for the new scene WEB quality = WEB-DL. 2016-03-17 21:03:01 +01:00
Björn Dahlgren 94323f79e7 New: Added support for UltraHD (2160p) quality 2016-02-14 00:08:15 +01:00
Mark McDowall a9444cef30 Fixed: Folder quality when file quality determined by its extension
Closes #603
2015-11-23 23:00:51 -08:00
Mark McDowall b6b5355261 New: support for REAL releases
Closes #453

New: Added `Quality Real` naming Token
New: Quality Full will add real to file name when applicable
2015-11-23 22:58:53 -08:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Mark McDowall d7eae958b7 Fixed: Parse TVRip releases as SDTV 2015-09-20 11:28:15 -07:00
Mark McDowall 8a7673ed13 Fixed some parsing issues
Fixed: Releases getting picked up as SDTV instead of RAW-HD
Fixed: Don't parse "sample" as release group
2015-01-18 15:30:36 -08:00
Keivan Beigi cf77104a02 removed redundant else 2014-12-06 23:23:11 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 76eee87976 Fixed: Parsing Raw-HD is filename as Raw-HD instead of HDTV-720p 2014-11-26 06:35:27 -08:00
Mark McDowall 365898df45 New: Links (forums, trello, etc) shown in System: Info 2014-11-20 23:44:28 -08:00
Taloth Saldono a4a1e4d5bf Fixed: HDDVD now recognized as bluray quality. 2014-11-03 13:06:42 +01:00
Mark McDowall c4836975a9 Fixed: Treat WebHD as Web-DL 2014-10-26 18:46:57 -07:00
Mark McDowall 9d5d3ce4c3 Fixed: Treat iTunesHD as Web-DL 2014-10-26 16:31:45 -07:00
Mark McDowall a3d013d908 New: v2/v3/etc handling for anime 2014-09-22 11:08:30 -07:00
Taloth Saldono 04160a61c9 Fixed: Update Quality parser for Anime Elysium group. 2014-08-23 23:42:07 +02:00
Taloth Saldono a5a99f64ff Fixed: Parser now recognizes 848x480 as 480p. 2014-08-10 14:54:55 -07:00
Mark McDowall 638c149b62 Added more resolutions for 1080p releases 2014-07-22 07:10:19 -07:00
Mark McDowall c0cfbc4de4 Fixed: Blu-Ray in release/file name will be handle as Blu-Ray properly 2014-07-15 07:34:36 -07:00
Mark McDowall 2b6f908038 New: HR WS PDTV releases will be treated as HDTV720p 2014-07-08 22:45:19 -07:00
Mark McDowall 193672b652 Anime!
New: Anime support
New: pull alternate names from thexem.de
New: Search using all alternate names (if rage ID is unavailable)
New: Show scene mapping information when hovering over episode number
New: Full season searching for anime (searches for each episode)
New: animezb.com anime indexer
New: Treat BD as bluray

Fixed: Parsing of 2 digit absolute episode numbers
Fixed: Loading series details page for series that start with period
Fixed: Return 0 results when manual search fails, instead of an error
Fixed: animezb URL
2014-07-02 07:33:51 -07:00
Mark McDowall 801b1b4ec4 Fixed: Parsing of RAW-HD releases 2014-06-20 08:18:48 -07:00
Mark McDowall df1283c0a5 Quality parsing improvements
Fixed: Parsing quality in filename from other applications
Fixed: Parsing WEB.DL as WEB-DL
2014-06-16 07:57:55 -07:00
Mark McDowall 3717b558e4 Fixed: Bluray 480p releases will be treated as DVD 2014-05-25 13:28:43 -07:00
Mark McDowall 16c60ff92c Fixed: Bluray 576p will be detected as DVD instead of Bluray 720p 2014-05-24 23:21:53 -07:00