File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,8 @@ def get_new_lyrics(artist, title):
347347 try :
348348 secs = int (timing2 [0 ]) * 60.0 + float (timing2 [1 ])
349349 except ValueError :
350- logger .debug (f"ERROR: ValueError while converting timing2={ timing2 } to seconds" )
350+ logger .debug (f"ERROR: ValueError while converting timing2={
351+ timing2 } to seconds" )
351352 continue
352353 # get lyrics text
353354 text = m .group (2 ).strip ()
@@ -463,10 +464,10 @@ def update_progressbar(manager, player):
463464 and metadata ["length" ] == last_metadata ["length" ]
464465 and lyrics_same
465466 )
466- # CHeck if we need to update
467+ # Check if we need to update
467468 if same_song and \
468- not pbar_needs_update and \
469- not rot_needs_update :
469+ not pbar_needs_update and \
470+ not rot_needs_update :
470471 logger .debug (
471472 "Song is the same and neither the text "
472473 "nor the progressbar nor the lyrics needs an update. Returning"
@@ -482,7 +483,7 @@ def update_progressbar(manager, player):
482483 if lyrics :
483484 ll = lyrics .get ("max_len" , 3 )
484485 s .append ("-" * ll )
485- provider = lyrics .get ("provider" ,"" )
486+ provider = lyrics .get ("provider" , "" )
486487 if provider is None :
487488 provider = "NO PROVIDER"
488489 s .append ("[" + provider + "]" )
You can’t perform that action at this time.
0 commit comments