mirror of
https://github.com/nova-r/fediplug.git
synced 2025-02-02 14:17:06 +01:00
fixes #1 by using ffplay instead of afplay
Thanks @unascribed and @DJSundog!
This commit is contained in:
commit
097bdd0d95
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Queue(object):
|
||||||
|
|
||||||
def run_thread(filename, cb_complete):
|
def run_thread(filename, cb_complete):
|
||||||
print('==> Playing', filename)
|
print('==> Playing', filename)
|
||||||
run(['afplay', filename])
|
run(['ffplay', '-v', '0', '-nostats', '-hide_banner', '-autoexit', '-nodisp', filename])
|
||||||
cb_complete()
|
cb_complete()
|
||||||
|
|
||||||
thread = Thread(target=run_thread, args=(filename, cb_complete))
|
thread = Thread(target=run_thread, args=(filename, cb_complete))
|
||||||
|
|
Loading…
Reference in a new issue