yandex-music-api icon indicating copy to clipboard operation
yandex-music-api copied to clipboard

не могу получить текущую очередь треков

Open hessfire opened this issue 9 months ago • 0 comments

queues = client.queues_list() last_queue = client.queue(queue_id=queues[0].id) #ошибка здесь: Queue.init() missing 1 required positional argument: 'current_index'

last_track_id = last_queue.get_current_track() last_track = last_track_id.fetch_track()

ответ от сервера: result={'id': '...', 'context': {'description': 'Мне нравится', 'login': '...', 'id': '...', 'type': 'playlist'}, 'tracks': [{'track_id': '...', 'album_id': '...', 'from_': '...'}, ...}

hessfire avatar May 03 '24 15:05 hessfire