From 016440e18315d43854f65c28f3bcd5fef6ba06d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Dudzi=C5=84ski?= <56404247+oskvr37@users.noreply.github.com> Date: Sun, 17 Aug 2025 19:50:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20album=5Fid=20to=20format=20?= =?UTF-8?q?string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #146 --- tiddl/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tiddl/utils.py b/tiddl/utils.py index 28e0caa..36fa55e 100644 --- a/tiddl/utils.py +++ b/tiddl/utils.py @@ -125,6 +125,7 @@ def formatResource( "artists": ", ".join(features + [artist]), "features": ", ".join(features), "album": sanitizeString(resource.album.title if resource.album else ""), + "album_id": str(resource.album.id if resource.album else ""), "number": resource.trackNumber, "disc": resource.volumeNumber, "date": (resource.streamStartDate if resource.streamStartDate else ""),