Доработан поиск и добавление треков

This commit is contained in:
FrigaT
2026-04-14 22:26:58 +03:00
parent 0381ef74ab
commit 6ae49faf15
16 changed files with 92 additions and 99 deletions

View File

@@ -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);