Now a notification is sent when Image is downloaded from lastfm

This commit is contained in:
aditya-K2 2021-11-14 12:04:54 +05:30
parent a6a65d0e1d
commit 5623551b61
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ func openImage(path string, c chan string) {
if err == nil && len(a) != 0 {
downloadedImage, err := getImageFromLastFM(a[0]["artist"], a[0]["album"])
if err == nil {
NOTIFICATION_SERVER.Send("Image From LastFM")
extractedImage = downloadedImage
}
}