func (spotify *Spotify) initTrack(playlistTrack *sp.PlaylistTrack) *sconsify.Track { track := playlistTrack.Track() track.Wait() for i := 0; i < track.Artists(); i++ { track.Artist(i).Wait() } return sconsify.ToSconsifyTrack(track) }
func (spotify *Spotify) initTrack(playlistTrack *sp.PlaylistTrack) *sconsify.Track { track := playlistTrack.Track() track.Wait() for i := 0; i < track.Artists(); i++ { track.Artist(i).Wait() } infrastructure.Debugf("\tTrack '%v' (%v)", track.Link().String(), track.Name()) return sconsify.ToSconsifyTrack(track) }