Skip drafts

This commit is contained in:
Eduard Urbach 2018-03-11 02:29:46 +01:00
parent 2f176ee602
commit 8ac693734e

View File

@ -15,6 +15,10 @@ func main() {
defer arn.Node.Close() defer arn.Node.Close()
for track := range arn.StreamSoundTracks() { for track := range arn.StreamSoundTracks() {
if track.IsDraft {
continue
}
fmt.Println(track.Title) fmt.Println(track.Title)
err := track.Download() err := track.Download()