mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 08:35:49 +03:00
[PR #16] [MERGED] Fix some critical bugs and update the example #77
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#77
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?
📋 Pull Request Information
Original PR: https://github.com/kokarare1212/librespot-python/pull/16
Author: @raitonoberu
Created: 4/24/2021
Status: ✅ Merged
Merged: 4/24/2021
Merged by: @kokarare1212
Base:
main← Head:main📝 Commits (3)
8481226Fix TypeError84a43beFix AttributeError89082b1Update examples📊 Changes
18 files changed (+65 additions, -54 deletions)
View changed files
📝
README.md(+5 -5)📝
librespot/audio/AbsChunkedInputStream.py(+5 -5)📝
librespot/audio/AudioKeyManager.py(+2 -1)📝
librespot/audio/cdn/CdnManager.py(+8 -8)📝
librespot/audio/format/AudioQualityPicker.py(+1 -1)📝
librespot/audio/storage/ChannelManager.py(+2 -1)📝
librespot/core/Session.py(+8 -7)📝
librespot/core/TokenProvider.py(+5 -4)📝
librespot/dealer/ApiClient.py(+5 -5)📝
librespot/dealer/DealerClient.py(+2 -1)📝
librespot/mercury/MercuryClient.py(+5 -5)📝
librespot/mercury/RawMercuryRequest.py(+4 -3)📝
librespot/metadata/ShowId.py(+1 -1)📝
librespot/player/Player.py(+2 -1)📝
librespot/player/StateWrapper.py(+3 -1)📝
librespot/player/codecs/AudioQuality.py(+2 -1)📝
librespot/player/codecs/VorbisOnlyAudioQuality.py(+4 -3)📝
librespot/player/state/DeviceStateHandler.py(+1 -1)📄 Description
Hello @kokarare1212!
I'm glad to know that someone is porting Librespot to Python.
I tried your library, but ran into a few problems.
TypeErrorin different files due to using things likelist[int]instead oftyping.List[int];AttributeErrordue to wrong reference;I made some changes. Now the login is finally working. However,
stream.input_stream.stream().read()keeps sayingFailed reading packet!without any logs. I don't understand the internal part, so I can only hope that you can get it to work :)Thank you!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.