From 8db22b022d00851e5e727199ca165b5aeb0594f3 Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Wed, 3 May 2017 10:45:14 +0530 Subject: [PATCH] Update spotdl.py --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index 10fadd8..22ad3ea 100644 --- a/spotdl.py +++ b/spotdl.py @@ -153,7 +153,7 @@ def checkExists(music_file, raw_song, islist): if os.path.isfile("Music/" + music_file + extension): if extension == '.mp3': audiofile = eyed3.load("Music/" + music_file + extension) - if isSpotify(raw_song) and not audiofile.tag.music_file == (generateMetaTags(raw_song))['name']: + if isSpotify(raw_song) and not audiofile.tag.title == (generateMetaTags(raw_song))['name']: os.remove("Music/" + music_file + extension) return False if islist: