@@ -257,20 +257,23 @@ def run(self):
257257 else :
258258 advance = False
259259 targetLyricSkip = targetLyricSkip + 1
260- #print( lyric[2:])
260+ targetLyric = lyric [2 :]
261261 self .lyricLayer .setTextColor ("red" )
262262 else :
263263 self .lyricLayer .setTextColor ("blue" )
264264 lyric = " " + lyric [2 :]
265265 self .lyricLayer .print (lyric )
266- if lyricRowIdx < len (Lyrics ) - 1 :
267- lyricRow = Lyrics [lyricRowIdx + 1 ]
268- self .lyricLayer .setCursor (0 , 25 )
269- self .lyricLayer .setTextSize (12 )
270- self .lyricLayer .setTextColor ("gray" )
271- for i , lyric in enumerate (lyricRow ):
272- lyric = " " + lyric [2 :]
273- self .lyricLayer .print (lyric )
266+ if True :
267+ if lyricRowIdx < len (Lyrics ) - 1 :
268+ lyricRow2 = Lyrics [lyricRowIdx + 1 ]
269+ self .lyricLayer .setCursor (0 , 25 )
270+ self .lyricLayer .setTextSize (12 )
271+ self .lyricLayer .setTextColor ("gray" )
272+ for i , lyric in enumerate (lyricRow2 ):
273+ lyric = " " + lyric [2 :]
274+ self .lyricLayer .print (lyric )
275+ else :
276+ print ("-" , targetLyric )
274277 dd .playbackLayerCommands ()
275278 if advance :
276279 if lyricColIdx < len (lyricRow ) - 1 :
0 commit comments