another fix
This commit is contained in:
parent
4d643eb22b
commit
e7060bd3ae
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ class PluginContent:
|
|||
def __get_track_item(
|
||||
self, track: Dict[str, Any], append_artist_to_label: bool = False
|
||||
) -> Tuple[str, xbmcgui.ListItem]:
|
||||
duration = track["duration_ms"] / 1000
|
||||
duration = int(math.ceil(track["duration_ms"] / 1000))
|
||||
label = self.__get_track_name(track, append_artist_to_label)
|
||||
title = label if self.append_artist_to_title else track["name"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue