Browse Source

Debug output on file playing

pull/1/head
klonfish 10 years ago
parent
commit
f4c4a1d0e8
  1. 1
      phoneinterface.py

1
phoneinterface.py

@ -125,6 +125,7 @@ class PhoneInterface(object):
self.__core.stop_ringing() self.__core.stop_ringing()
def __play_file(self, filename, length, continous=False): def __play_file(self, filename, length, continous=False):
print 'Playing file:', filename
self.__playing = True self.__playing = True
t = threading.Thread(target=self.__play_loop_thread, args=(filename, length, continous)) t = threading.Thread(target=self.__play_loop_thread, args=(filename, length, continous))
t.start() t.start()

Loading…
Cancel
Save