19 lines
343 B
Go

package filtersoundtracks
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/arn"
)
// Tags shows soundtracks with less than 3 tags.
func Tags(ctx aero.Context) error {
return editorList(
ctx,
"Soundtracks with less than 3 tags",
func(track *arn.SoundTrack) bool {
return len(track.Tags) < 3
},
nil,
)
}