mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
Add support for using freeleech tokens if available
This commit is contained in:
parent
74f777340e
commit
3656a68a27
28 changed files with 199 additions and 39 deletions
|
@ -447,6 +447,7 @@ type FilterExport struct {
|
|||
// Media-specific fields
|
||||
Freeleech bool `json:"freeleech,omitempty"`
|
||||
FreeleechPercent string `json:"freeleech_percent,omitempty"`
|
||||
FreeleechToken bool `json:"freeleech_token,omitempty"`
|
||||
Shows string `json:"shows,omitempty"`
|
||||
Seasons string `json:"seasons,omitempty"`
|
||||
Episodes string `json:"episodes,omitempty"`
|
||||
|
@ -543,6 +544,7 @@ func prepareFilterForExport(filter domain.Filter, externalFilters []domain.Filte
|
|||
AnnounceTypes: filter.AnnounceTypes,
|
||||
Freeleech: filter.Freeleech,
|
||||
FreeleechPercent: filter.FreeleechPercent,
|
||||
FreeleechToken: filter.FreeleechToken,
|
||||
Shows: filter.Shows,
|
||||
Seasons: filter.Seasons,
|
||||
Episodes: filter.Episodes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue