13 lines
263 B
Go
Raw Normal View History

2018-03-13 21:38:26 +00:00
package soundtracks
import (
2019-06-03 09:32:43 +00:00
"github.com/animenotifier/notify.moe/arn"
2018-03-13 21:38:26 +00:00
)
// 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
})
}