Alxandr / SpotiFire

A project to make a SpotifyClient in C#
http://nudoc.azurewebsites.net/SpotiFire
40 stars 19 forks source link

ArtistBrowse first steps #4

Closed ChrisBrandhorst closed 13 years ago

ChrisBrandhorst commented 13 years ago

Somehow, all spartistbrowse* functions from libspotify always return zero. Any idea why?

Commit message:

ChrisBrandhorst commented 13 years ago

Oh, correction: sp_artistbrowse_create does return a valid pointer, but the functions for filling the ArtistBrowse object are not.

Alxandr commented 13 years ago

The libspotify-documentation specifies that all functions that get information about an object should return 0 untill the _is_loaded returns true. In other words, it might just be a waiting-issue.

ChrisBrandhorst commented 13 years ago

k, Thanks for the tip! Will look into that. Another thing I thought about is that I currently only tried to call the ArtistBrowse method with an IArtist object which originated from a Track in some Playlist. Mayby I should try re-fetching the artist and feeding that into ArtistBrowse...

Alxandr commented 13 years ago

Also, did you look at the data on the complete-event, or just after you created the object?

Alxandr commented 13 years ago

Also, did you look at the data on the complete-event, or just after you created the object?

ChrisBrandhorst commented 13 years ago

Yeah, I checked after the Complete was fired. Will dive into it some more.