Fix duration in single track display

This commit is contained in:
Midgard 2020-03-31 14:58:16 +02:00
parent a985c962fe
commit ac277c28a0
Signed by untrusted user who does not match committer: midgard
GPG Key ID: 511C112F1331BBB4
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class TrackMetadata:
self.album = album
def __str__(self):
return "{} ({}) by {} from {}".format(self.title, self.duration, self.artist, self.album)
return "{} {} by {} from {}".format(format_duration(self.duration), self.title, self.artist, self.album)
@classmethod
def from_page_content(cls, page_content):