[grilo-plugins] guardianvideos: Unescape the titles



commit bc7182c156ffd062effd12f89574933c4fec5040
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 15 13:59:32 2015 +0200

    guardianvideos: Unescape the titles
    
    Some of the titles might contain escaped characters, make sure to
    unescape them before passing them on.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750990

 src/lua-factory/sources/grl-guardianvideos.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-guardianvideos.lua b/src/lua-factory/sources/grl-guardianvideos.lua
index 282a898..b82c3e8 100644
--- a/src/lua-factory/sources/grl-guardianvideos.lua
+++ b/src/lua-factory/sources/grl-guardianvideos.lua
@@ -106,7 +106,7 @@ function create_media(item)
   media.type = "video"
   media.id = item.id
   media.url = item.webUrl
-  media.title = item.webTitle
+  media.title = grl.unescape(item.webTitle)
   media.thumbnail = item.fields.thumbnail
 
   return media


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