Closed marcguillemdev closed 5 years ago
Can you send me a copy of the full stack trace from the exception please
Can you send me a copy of the full stack trace from the exception please
Of course, here is it.
| StackTrace | " en DeezerApi.Form1.
d__41.MoveNext() en C:\Users\marc9\source\repos\DeezerApi\DeezerApi\Form1.cs:línea 728" | string
According to the API explorer the playlist doesn't exist.
This library should be throwing an exception telling you this so I'll look into that! Your code should be handling exceptions or null
returns which should mitigate this issue until I can get the exception throwing fixed.
Oops, you are right, that playlist doesn't exist. I tried with this and still don't work.
1362510315
The json parsing code was missing a custom converter meaning that objects fetched by their ID wasn't working.
I am trying to get the Top 100 songs from each country by indicating the playlist ID like this:
public async void retrieve_playlist(uint id_playlist) { var dez = DeezerSession.CreateNew(); var po = await dez.Browse.GetPlaylistById(id_playlist); var tracks_po = po.GetTracks();
The invocation is this:
retrieve_playlist(716146082);
But the result is this:
Thanks in advance