Debug output on file playing

This commit is contained in:
klonfish 2015-05-18 19:24:16 +02:00
parent f72e615435
commit f4c4a1d0e8

View file

@ -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()