2018-04-13 11:09:46 +00:00
|
|
|
package filtersoundtracks
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/aero"
|
2019-06-03 09:32:43 +00:00
|
|
|
"github.com/animenotifier/notify.moe/arn"
|
2018-04-13 11:09:46 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Tags shows soundtracks with less than 3 tags.
|
2019-06-01 04:55:49 +00:00
|
|
|
func Tags(ctx aero.Context) error {
|
2018-04-13 11:09:46 +00:00
|
|
|
return editorList(
|
|
|
|
ctx,
|
|
|
|
"Soundtracks with less than 3 tags",
|
|
|
|
func(track *arn.SoundTrack) bool {
|
|
|
|
return len(track.Tags) < 3
|
|
|
|
},
|
|
|
|
nil,
|
|
|
|
)
|
|
|
|
}
|