mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 01:53:31 +01:00
Remove trailing spaces in synced lyrics lines without text
This commit is contained in:
parent
618c3a21a6
commit
33aafdd50b
1 changed files with 4 additions and 1 deletions
|
|
@ -348,7 +348,10 @@ class LRCLyrics:
|
|||
if self.instrumental:
|
||||
return INSTRUMENTAL_LYRICS
|
||||
|
||||
return self.synced if want_synced and self.synced else self.plain
|
||||
if want_synced and self.synced:
|
||||
return "\n".join(map(str.strip, self.synced.splitlines()))
|
||||
|
||||
return self.plain
|
||||
|
||||
|
||||
class LRCLib(Backend):
|
||||
|
|
|
|||
Loading…
Reference in a new issue