From 0cd9f8e0760d31ef0fa79c3100b20e7ad3b1cacd Mon Sep 17 00:00:00 2001 From: JhonnyMnemonic320 Date: Sat, 9 May 2020 12:06:33 +0000 Subject: [PATCH] Update 'deemix/utils/taggers.py' Fix for Mp3 cover art not showing up in macos Catalina default music app. Credit: u/hpycndl on reddit --- deemix/utils/taggers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/utils/taggers.py b/deemix/utils/taggers.py index 642b295..01cfe0c 100644 --- a/deemix/utils/taggers.py +++ b/deemix/utils/taggers.py @@ -66,7 +66,7 @@ def tagID3(stream, track, save): if save['cover'] and track['album']['picPath']: with open(track['album']['picPath'], 'rb') as f: tag.add( - APIC(3, 'image/jpeg' if track['album']['picPath'].endswith('jpg') else 'image/png', 3, data=f.read())) + APIC(3, 'image/jpeg' if track['album']['picPath'].endswith('jpg') else 'image/png', 3, desc='cover', data=f.read())) tag.save(stream, v1=2 if save['saveID3v1'] else 0, v2_version=3, v23_sep=None if save['useNullSeparator'] else ' / ')