13 lines
256 B
Go
Raw Normal View History

2018-03-13 21:38:26 +00:00
package soundtracks
import (
"github.com/animenotifier/arn"
)
// fetchAll returns all soundtracks
func fetchAll() []*arn.SoundTrack {
return arn.FilterSoundTracks(func(track *arn.SoundTrack) bool {
return !track.IsDraft && len(track.Media) > 0
})
}