Update examples/player.py
This commit is contained in:
@@ -101,7 +101,6 @@ def play(track_id_str: str):
|
|||||||
while True:
|
while True:
|
||||||
byte = stream.input_stream.stream().read()
|
byte = stream.input_stream.stream().read()
|
||||||
if byte == -1:
|
if byte == -1:
|
||||||
ffplay.kill()
|
|
||||||
return
|
return
|
||||||
ffplay.stdin.write(bytes([byte]))
|
ffplay.stdin.write(bytes([byte]))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user