From 0eb7390ce35c946d41608b3a6d6028ea2dd4a9a1 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 19 Sep 2020 10:27:58 +0200 Subject: [PATCH] Fixed ID3 date tag following specification https://id3.org/id3v2.3.0#TDAT Fixes #50 --- 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 649b030..959942e 100644 --- a/deemix/utils/taggers.py +++ b/deemix/utils/taggers.py @@ -45,7 +45,7 @@ def tagID3(stream, track, save): if save['year']: tag.add(TYER(text=str(track.date['year']))) if save['date']: - tag.add(TDAT(text=str(track.date['month']) + str(track.date['day']))) + tag.add(TDAT(text=str(track.date['day']) + str(track.date['month']))) if save['length']: tag.add(TLEN(text=str(int(track.duration)*1000))) if save['bpm']: