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

[BUG] ffplay playback #165

Open
112cxyz opened this issue Nov 23, 2022 · 1 comment
Open

[BUG] ffplay playback #165

112cxyz opened this issue Nov 23, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@112cxyz
Copy link

112cxyz commented Nov 23, 2022

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):

  • OS: [Ubuntu 20.04]
  • Python Version [3.8.10]
  • Library Version [0.7.1]

Additional context
Add any other context about the problem here.

@112cxyz 112cxyz added the bug Something isn't working label Nov 23, 2022
@112cxyz
Copy link
Author

112cxyz commented Nov 23, 2022

I have found out this is because its using SDL to show and play the music

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant