V3 polish: fix @starttime in headers

This commit is contained in:
Keith Edmunds 2023-11-28 07:28:33 +00:00
parent 15c10431e6
commit 63a38b5bf9

View File

@ -1280,10 +1280,6 @@ class PlaylistModel(QAbstractTableModel):
if prd.played:
continue
# Don't schedule unplayable tracks
if file_is_unreadable(prd.path):
continue
# If we're between the current and next row, zero out
# times
if (
@ -1302,8 +1298,12 @@ class PlaylistModel(QAbstractTableModel):
if header_time:
next_start_time = header_time
else:
# This is an unplayed track; set start/end if we have a
# start time
# This is an unplayed track
# Don't schedule unplayable tracks
if file_is_unreadable(prd.path):
continue
# Set start/end if we have a start time
if next_start_time is None:
continue
if stend.start_time != next_start_time: