Open 112cxyz opened 1 year ago
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 pipe
To Reproduce Use while True: byte = stream.input_stream.stream().read(1) if byte == -1: break ffplay.stdin.write(byte)
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.
I have found out this is because its using SDL to show and play the music
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 pipe
To 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.