[grilo-plugins] guardianvideos: Unescape the titles
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] guardianvideos: Unescape the titles
- Date: Tue, 16 Jun 2015 10:40:33 +0000 (UTC)
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]