Fix duration in single track display
This commit is contained in:
parent
a985c962fe
commit
ac277c28a0
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class TrackMetadata:
|
||||||
self.album = album
|
self.album = album
|
||||||
|
|
||||||
def __str__(self):
|
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
|
@classmethod
|
||||||
def from_page_content(cls, page_content):
|
def from_page_content(cls, page_content):
|
||||||
|
|
Loading…
Reference in a new issue