Notify user of fully downloaded song with a system notification

This commit is contained in:
2018-02-28 17:44:18 -06:00
parent 182b783987
commit 0efab2a4ff
3 changed files with 7 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ class audioPlayer(object):
break
transcoder.release()
os.rename(temporary_path, path)
pub.sendMessage("change_status", status="")
pub.sendMessage("download_finished", file=os.path.basename(path))
# print(state)
def __del__(self):