diff --git a/app/playlists.py b/app/playlists.py index 9bddf29..756ff5a 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -1240,7 +1240,10 @@ class PlaylistTab(QTableWidget): # Update attributes of row self.item(row, USERDATA).setData(self.ROW_TRACK_ID, track.id) - self.item(row, START_GAP).setText(str(track.start_gap)) + start_gap_item = self.item(row, START_GAP) + start_gap_item.setText(str(track.start_gap)) + if track.start_gap and track.start_gap >= 500: + start_gap_item.setBackground(QColor(Config.COLOUR_LONG_START)) self.item(row, TITLE).setText(str(track.title)) self.item(row, ARTIST).setText(str(track.artist)) self.item(row, DURATION).setText(ms_to_mmss(track.duration))