mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 00:25:49 +03:00
[GH-ISSUE #331] [BUG] unpack requires a buffer of 4 bytes #61
Labels
No labels
bug
dependencies
duplicate
enhancement
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot-python-kokarare1212#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Masterolic on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/331
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Client Information (please complete the following information):
Additional context
Add any other context about the problem here.
File "/usr/local/lib/python3.12/dist-packages/librespot/core.py", line 1758, in create session.connect()
File "/usr/local/lib/python3.12/dist-packages/librespot/core.py", line ap_response_message_length = self.connection.read_int()
1117, in connect
File
"/usr/local/lib/python3.12/dist-packages/librespot/core.py", line 2042, in read_int
return struct.unpack(">i", self.read(4))[0]
struct.error: unpack requires a buffer of 4 bytes
Seems like Spotify is changing something happening always to random accounts