Now a notification is sent when Image is downloaded from lastfm
This commit is contained in:
parent
a6a65d0e1d
commit
5623551b61
@ -50,6 +50,7 @@ func openImage(path string, c chan string) {
|
|||||||
if err == nil && len(a) != 0 {
|
if err == nil && len(a) != 0 {
|
||||||
downloadedImage, err := getImageFromLastFM(a[0]["artist"], a[0]["album"])
|
downloadedImage, err := getImageFromLastFM(a[0]["artist"], a[0]["album"])
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
NOTIFICATION_SERVER.Send("Image From LastFM")
|
||||||
extractedImage = downloadedImage
|
extractedImage = downloadedImage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user