From dcc47d1b57025d532166da342591ea39b1decc46 Mon Sep 17 00:00:00 2001 From: "craig.p.drummond@gmail.com" Date: Fri, 15 Jun 2012 11:21:07 +0000 Subject: [PATCH] Fix/workaround issues with fetching lyrics from letras.mus.br# BUG:36 --- ChangeLog | 1 + lyrics/ultimate_providers.xml | 12 +++++++++++- lyrics/ultimatelyricsprovider.cpp | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0821cf2ed..3a423c1c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -46,6 +46,7 @@ 4 pixels instead. 29. Workaround tab-widget issues with Gtk style. Only draw highlight for selected item, and item curretly under mouse - no fade in/out. +30. Fix/workaround issues with fetching lyrics from letras.mus.br 0.7.1 ----- diff --git a/lyrics/ultimate_providers.xml b/lyrics/ultimate_providers.xml index 847c5ee5f..b2e544407 100644 --- a/lyrics/ultimate_providers.xml +++ b/lyrics/ultimate_providers.xml @@ -34,13 +34,23 @@ - + + + + + + diff --git a/lyrics/ultimatelyricsprovider.cpp b/lyrics/ultimatelyricsprovider.cpp index 09741f717..0a3d1baa7 100644 --- a/lyrics/ultimatelyricsprovider.cpp +++ b/lyrics/ultimatelyricsprovider.cpp @@ -163,6 +163,7 @@ void UltimateLyricsProvider::LyricsFetched() { emit Finished(id); #endif + lyrics=lyrics.trimmed(); emit InfoReady(id, lyrics); }