main
Bob Mottram 2021-03-09 19:59:10 +00:00
parent e492190721
commit 8a1fbae1cc
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
_playNotificationSound(soundsDir + '/' + _playNotificationSound(soundsDir + '/' +
followSoundFilename, player) followSoundFilename, player)
elif likeSoundFilename: elif likeSoundFilename:
if speakerJson['notify']['like'] != prevLike: if speakerJson['notify']['likedBy'] != prevLike:
_playNotificationSound(soundsDir + '/' + _playNotificationSound(soundsDir + '/' +
likeSoundFilename, player) likeSoundFilename, player)
elif shareSoundFilename: elif shareSoundFilename:
@ -150,7 +150,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
prevReply = speakerJson['notify']['reply'] prevReply = speakerJson['notify']['reply']
prevCalendar = speakerJson['notify']['calendar'] prevCalendar = speakerJson['notify']['calendar']
prevFollow = speakerJson['notify']['followRequests'] prevFollow = speakerJson['notify']['followRequests']
prevLike = speakerJson['notify']['like'] prevLike = speakerJson['notify']['likedBy']
prevShare = speakerJson['notify']['share'] prevShare = speakerJson['notify']['share']
if speakerJson.get('say'): if speakerJson.get('say'):