Skip to content

Commit cb0d60b

Browse files
committed
new file: assets/notification.mp3
new file: assets/ufade.png modified: requirements.txt modified: ufade.py dropped beepy for compatibility issues
1 parent d3b3347 commit cb0d60b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

assets/notification.mp3

26.9 KB
Binary file not shown.

assets/ufade.png

52.9 KB
Loading

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ pyiosbackup
44
iOSbackup
55
pandas
66
pyarrow
7-
beepy
8-
paramiko
7+
playsound==1.2.2
8+
paramiko

ufade.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from datetime import datetime, timedelta, timezone, date
3232
from subprocess import Popen, PIPE, check_call, run
3333
from curses import wrapper
34+
from playsound import playsound
3435
import contextlib
3536
import getpass
3637
import pandas as pd
@@ -45,7 +46,6 @@
4546
import string
4647
import plistlib
4748
import hashlib
48-
import beepy
4949
import threading
5050
import curses
5151
import time
@@ -240,7 +240,7 @@ def show_device():
240240

241241
#Play a notfication sound:
242242
def notify():
243-
beepy.beep(1)
243+
playsound(os.path.join(os.path.dirname(__file__), "assets", "notification.mp3"))
244244
curses.flash()
245245
time.sleep(1)
246246

0 commit comments

Comments
 (0)