mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
fix bug where old media players won't read meta tags
This commit is contained in:
@@ -91,7 +91,7 @@ def fixSong():
|
|||||||
shutil.copyfileobj(albumart, out_file)
|
shutil.copyfileobj(albumart, out_file)
|
||||||
albumart = open("last_albumart.jpg", "rb").read()
|
albumart = open("last_albumart.jpg", "rb").read()
|
||||||
audiofile.tag.images.set(3,albumart,"image/jpeg")
|
audiofile.tag.images.set(3,albumart,"image/jpeg")
|
||||||
audiofile.tag.save()
|
audiofile.tag.save(version=(2,3,0))
|
||||||
|
|
||||||
def playSong():
|
def playSong():
|
||||||
if not title == '':
|
if not title == '':
|
||||||
|
|||||||
Reference in New Issue
Block a user