Skip to content

Commit

Permalink
Desktop lyrics do not display the line starting at time 0
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 20, 2024
1 parent d263ab7 commit 45cb3a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions LDDC/backend/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,6 @@ def update_lyrics(self) -> None: # noqa: C901, PLR0915
if words:
start = words[0][0] # noqa: PLW2901
end = words[-1][1] # noqa: PLW2901
if not start or not end:
continue
if end < self.current_time:
perv_lines.append((index, FSLyricsLine((start, end, words))))
elif start <= self.current_time <= end:
Expand Down

0 comments on commit 45cb3a8

Please sign in to comment.