V3 polish: fix @starttime in headers
This commit is contained in:
parent
15c10431e6
commit
63a38b5bf9
@ -1280,10 +1280,6 @@ class PlaylistModel(QAbstractTableModel):
|
|||||||
if prd.played:
|
if prd.played:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Don't schedule unplayable tracks
|
|
||||||
if file_is_unreadable(prd.path):
|
|
||||||
continue
|
|
||||||
|
|
||||||
# If we're between the current and next row, zero out
|
# If we're between the current and next row, zero out
|
||||||
# times
|
# times
|
||||||
if (
|
if (
|
||||||
@ -1302,8 +1298,12 @@ class PlaylistModel(QAbstractTableModel):
|
|||||||
if header_time:
|
if header_time:
|
||||||
next_start_time = header_time
|
next_start_time = header_time
|
||||||
else:
|
else:
|
||||||
# This is an unplayed track; set start/end if we have a
|
# This is an unplayed track
|
||||||
# start time
|
# 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:
|
if next_start_time is None:
|
||||||
continue
|
continue
|
||||||
if stend.start_time != next_start_time:
|
if stend.start_time != next_start_time:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user