Spartan
Spartan copied to clipboard
getTrack() returns a Track only filled with SimplifiedTrack data
Spartan.getTrack(id: "11dFghVXANMlKmJXsNCbNl", success: { (track) in self.currentSong = track // FIXME: gets the album instead of the song self.miniPlayer?.configure(song: self.currentSong) }) { (error) in print("Error while fetching the track: \(error.description)") }
The above code is the one I'm currently using to retrieve a Track, but no album data is filled in it, is this behaviour intentional?

This is the Track returned by Spartan
Using the latest version available in Cocoapods, Swift 4.0 and Xcode 10.1
@olmedocr Did you get the solution? I am facing the same problem.
@Daltron Can you help me with this? Please...
Same issue... Is there a fix @Daltron?
Use the .getTracks() method not .getTrack(). Works perfectly for me