mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(releases): force capture titles AB (#668)
capture those weird titles
This commit is contained in:
parent
81b7d341e7
commit
ad0d482065
2 changed files with 6 additions and 2 deletions
|
@ -193,7 +193,6 @@ func (r *Release) ParseString(title string) {
|
|||
rel := rls.ParseString(title)
|
||||
|
||||
r.TorrentName = title
|
||||
r.Title = rel.Title
|
||||
r.Source = rel.Source
|
||||
r.Resolution = rel.Resolution
|
||||
r.Region = rel.Region
|
||||
|
@ -206,6 +205,10 @@ func (r *Release) ParseString(title string) {
|
|||
r.Artists = rel.Artist
|
||||
r.Language = rel.Language
|
||||
|
||||
if r.Title == "" {
|
||||
r.Title = rel.Title
|
||||
}
|
||||
|
||||
if r.Season == 0 {
|
||||
r.Season = rel.Series
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue