From 396790c9bc034e9de32e93260fc4f6044468caed Mon Sep 17 00:00:00 2001 From: Wolfgang Rohdewald Date: Sun, 11 Jan 2009 23:28:34 +0100 Subject: when loading lyrics, do not just display empty text but the message "loading from internet..." --- HISTORY | 2 ++ lyrics.c | 8 ++++++-- 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); + } } -- cgit v1.2.3