13 lines
252 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 {
2018-04-19 13:33:37 +00:00
return !track.IsDraft && track.File != ""
2018-03-13 21:38:26 +00:00
})
}