mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(lists): add anilist support (#1949)
* fix(lists): clear selected list * chore(web): improve onChange set values for select_wide * feat(web): add anilist lists * feat(web): Filter is required on ListForm * fix(web): ListForm reset url when change type * feat(lists): add anilist support * feat(lists): filter duplicates for anilist * feat(anilist): handle special characters * fix(lists): better title matching fix(lists): add alternatives to apostrophe replacement * test(title): add some anime cases * feat(anilist): replace unicodes with regex * feat(lists): move additional anilist processing to autobrr instead of brr api * feat(lists): clean Unicode Block “Latin Extended-A” chars --------- Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
parent
5e2769639f
commit
b724429b97
10 changed files with 257 additions and 55 deletions
|
@ -37,6 +37,7 @@ const (
|
|||
ListTypePlaintext ListType = "PLAINTEXT"
|
||||
ListTypeTrakt ListType = "TRAKT"
|
||||
ListTypeSteam ListType = "STEAM"
|
||||
ListTypeAniList ListType = "ANILIST"
|
||||
)
|
||||
|
||||
type ListRefreshStatus string
|
||||
|
@ -108,7 +109,7 @@ func (l *List) ListTypeArr() bool {
|
|||
}
|
||||
|
||||
func (l *List) ListTypeList() bool {
|
||||
return l.Type == ListTypeMDBList || l.Type == ListTypeMetacritic || l.Type == ListTypePlaintext || l.Type == ListTypeTrakt || l.Type == ListTypeSteam
|
||||
return l.Type == ListTypeMDBList || l.Type == ListTypeMetacritic || l.Type == ListTypePlaintext || l.Type == ListTypeTrakt || l.Type == ListTypeSteam || l.Type == ListTypeAniList
|
||||
}
|
||||
|
||||
func (l *List) ShouldProcessItem(monitored bool) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue