Доработан поиск и добавление треков
This commit is contained in:
@@ -176,7 +176,7 @@ public class AudioPlayerService : IAudioPlayerService
|
||||
else if (!string.IsNullOrEmpty(sharedPlaylistId))
|
||||
url += $"?shared_id={sharedPlaylistId}";
|
||||
|
||||
var response = await _http.GetFromJsonAsync<ApiResponse<TrackInfoDto>>(url);
|
||||
var response = await _http.GetFromJsonAsync<ApiResponse<YandexTrack>>(url);
|
||||
if (response?.Success == true)
|
||||
{
|
||||
return (response.Data.Title, response.Data.CoverUri);
|
||||
|
||||
Reference in New Issue
Block a user