Update bitrate displayed if db differs from display
This commit is contained in:
parent
912ed0b1eb
commit
e1ceb5e8e3
@ -1073,6 +1073,10 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
# Highlight low bitrates
|
||||
if track.bitrate:
|
||||
bitrate_str = str(track.bitrate)
|
||||
bitrate_item = self.item(row, BITRATE)
|
||||
if bitrate_item.text() != bitrate_str:
|
||||
bitrate_item.setText(bitrate_str)
|
||||
if track.bitrate < Config.BITRATE_LOW_THRESHOLD:
|
||||
cell_colour = Config.COLOUR_BITRATE_LOW
|
||||
elif track.bitrate < Config.BITRATE_OK_THRESHOLD:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user