Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hessfire opened this issue May 3, 2024 · 0 comments
Assignees
Labels
bug Что-то не работает

Comments

@hessfire
Copy link

hessfire commented May 3, 2024

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 hessfire added the bug Что-то не работает label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Что-то не работает
Projects
None yet
Development

No branches or pull requests

2 participants