mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2026-04-25 00:25:49 +03:00
[GH-ISSUE #165] [BUG] ffplay playback #29
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#29
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 @112cxyz on GitHub (Nov 23, 2022).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/165
Describe the bug
Im trying to make a simple spotify player but when ever i use the example ffplay example i get this error
Traceback (most recent call last): File "/home/toby/SpotifyPlayer/main.py", line 61, in <module> ffplay.stdin.write(byte) BrokenPipeError: [Errno 32] Broken pipeTo Reproduce
Use
while True: byte = stream.input_stream.stream().read(1) if byte == -1: break ffplay.stdin.write(byte)Expected behavior
It should play the song via ffplay
Client Information (please complete the following information):
Additional context
Add any other context about the problem here.
@112cxyz commented on GitHub (Nov 23, 2022):
I have found out this is because its using SDL to show and play the music