summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--lyrics.c8
2 files changed, 8 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 2078c01..5e600b3 100644
--- a/HISTORY
+++ b/HISTORY
@@ -392,3 +392,5 @@ Balke.
removed this code from C++ and put it into the python script muggle_getlyrics.
- Lyrics: when calling "mv" to rename a file make sure mv never gets interactive
- muggle-image-convert produces less output if needed programs are not installed
+- When loading lyrics, do not show just empty text but the line "loading lyrics
+ from the internet"
diff --git a/lyrics.c b/lyrics.c
index ff051b4..936a58d 100644
--- a/lyrics.c
+++ b/lyrics.c
@@ -189,6 +189,10 @@ mgLyrics::BuildOsd () {
break;
}
InitOsd();
- if (!access(loadfile.c_str(),R_OK))
- osd()->AddFile(loadfile);
+ if (state == lyricsLoading) {
+ osd()->AddText(tr("Loading lyrics from internet..."),0);
+ } else {
+ if (!access(loadfile.c_str(),R_OK))
+ osd()->AddFile(loadfile);
+ }
}