mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(filters): support Language filtering (#632)
* feat(filters): add support for language * feat(filters): add db migrations and repo * feat(filters): fix failing tests * feat(filters): fix failing tests
This commit is contained in:
parent
3c4711efa0
commit
5c402b6d6c
11 changed files with 120 additions and 8 deletions
|
@ -67,7 +67,7 @@ type Release struct {
|
|||
AudioChannels string `json:"-"`
|
||||
Group string `json:"group"`
|
||||
Region string `json:"-"`
|
||||
Language string `json:"-"`
|
||||
Language []string `json:"-"`
|
||||
Proper bool `json:"proper"`
|
||||
Repack bool `json:"repack"`
|
||||
Website string `json:"website"`
|
||||
|
@ -203,6 +203,7 @@ func (r *Release) ParseString(title string) {
|
|||
r.HDR = rel.HDR
|
||||
r.Other = rel.Other
|
||||
r.Artists = rel.Artist
|
||||
r.Language = rel.Language
|
||||
|
||||
if r.Season == 0 {
|
||||
r.Season = rel.Series
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue