Commit Graph

61 Commits

Author SHA1 Message Date
Bogdan 1a30293c33 Check for empty description as well in ParseQuality 2023-09-19 21:33:26 +03:00
Bogdan ca0c95a2d2 Fixed: Skip parsing releases without title
(cherry picked from commit c7824bb593291634bf14a5f7aa689666969b03bf)
2023-09-19 14:28:14 +03:00
Bogdan d1aff31593 Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)

Closes #2559
2023-05-28 21:59:25 +03:00
Bogdan 0411102f57 Remove unused imports
Closes #2475
2023-05-11 21:28:22 +03:00
servarr[bot] ad3a58c422 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 16:55:34 -05:00
ta264 9fb7a1051e Rename MP3-320 to MP3 2021-05-28 06:49:08 +01:00
ta264 3abda061ba New: Detect audio vs text from newznab categories 2021-05-28 06:49:08 +01:00
ta264 065f03a01a Add M4B and Unknown Audio qualities 2021-05-28 06:49:08 +01:00
Taloth Saldono 36685edd49 Fixed: Exception when parsing Quality in release title with colon
Signed-off-by: Robin Dadswell <robin@dadswell.email>
2021-01-28 23:43:19 -05:00
ta264 08496c82af New: Readarr 0.1 2020-05-09 22:24:45 +01:00
Qstick f77a2feeef StyleCop (#1058)
* Stylecop Rules and Fixes
2020-01-03 07:49:24 -05: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