Skip to content

Commit afc7472

Browse files
committed
Formatting
1 parent 0fa1abd commit afc7472

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/mediaplayer

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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+"]")

0 commit comments

Comments
 (0)