another fix

This commit is contained in:
cere 2024-02-21 03:46:13 -05:00
parent 4d643eb22b
commit e7060bd3ae
1 changed files with 1 additions and 1 deletions

View File

@ -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"]