13 lines
256 B
Go
13 lines
256 B
Go
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
|
|
})
|
|
}
|