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