[grilo-plugins] metrolyrics: lower failure from warning to debug



commit 51a0e32aaf5e4d9f39673bd1514389809093ca6c
Author: Victor Toso <me victortoso com>
Date:   Thu May 19 22:52:59 2016 +0200

    metrolyrics: lower failure from warning to debug
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764078

 src/lua-factory/sources/grl-metrolyrics.lua      |    2 +-
 tests/lua-factory/sources/test_lua_metrolyrics.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-metrolyrics.lua b/src/lua-factory/sources/grl-metrolyrics.lua
index 8e244f1..4239a87 100644
--- a/src/lua-factory/sources/grl-metrolyrics.lua
+++ b/src/lua-factory/sources/grl-metrolyrics.lua
@@ -100,7 +100,7 @@ function metrolyrics_get_lyrics(feed)
   -- remove html noise
   feed = feed:match(lyrics_body)
   if not feed then
-    grl.warning ("This Lyrics do not match our parser! Please file a bug!")
+    grl.debug ("This Lyrics do not match our parser")
     return nil
   end
 
diff --git a/tests/lua-factory/sources/test_lua_metrolyrics.c 
b/tests/lua-factory/sources/test_lua_metrolyrics.c
index a9f7a0e..391969e 100644
--- a/tests/lua-factory/sources/test_lua_metrolyrics.c
+++ b/tests/lua-factory/sources/test_lua_metrolyrics.c
@@ -134,7 +134,6 @@ test_resolve_metrolyrics_bad_request (void)
     gchar *lyrics;
 
     g_test_expect_message("Grilo", G_LOG_LEVEL_WARNING, "*Can't fetch element*");
-    g_test_expect_message("Grilo", G_LOG_LEVEL_WARNING, "*This Lyrics do not match our parser*");
     lyrics = get_lyrics (source, audios[i].artist, audios[i].title);
     g_assert_null (lyrics);
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]