mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(filters): OPS and RED split Artist and Album (#1398)
* fix(filters): OPS and RED parse and match Artist and Album * fix(filters): rls raw
This commit is contained in:
parent
1a23b69bcf
commit
51a7f71372
4 changed files with 21 additions and 7 deletions
|
@ -87,6 +87,8 @@ func TestIndexersParseAndFilter(t *testing.T) {
|
|||
Quality: []string{"Lossless"},
|
||||
Sources: []string{"CD"},
|
||||
Formats: []string{"FLAC"},
|
||||
Artists: "Dirty Dike",
|
||||
Albums: "Bogies & Alcohol",
|
||||
},
|
||||
match: true,
|
||||
},
|
||||
|
@ -98,9 +100,10 @@ func TestIndexersParseAndFilter(t *testing.T) {
|
|||
Quality: []string{"24bit Lossless"},
|
||||
Sources: []string{"CD"},
|
||||
Formats: []string{"FLAC"},
|
||||
Albums: "Best album",
|
||||
},
|
||||
match: false,
|
||||
rejections: []string{"quality not matching. got: [FLAC Lossless] want: [24bit Lossless]"},
|
||||
rejections: []string{"albums not matching. got: Bogies & Alcohol want: Best album", "quality not matching. got: [FLAC Lossless] want: [24bit Lossless]"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue