Discussion of Version 3 and developing lua grabbers
-
tomper
- Posts: 3
- Joined: Tue Mar 07, 2006 4:39 am
Post
by tomper » Sat Aug 25, 2012 1:33 am
Hi,
I'm trying to use ukrt_freeview_names.lua to rename RT channel name to match freeview channel names but I'm ending up with double entries in the xml file and my pvr software is picking up the second (original) name rather than the new name.
<channel id="UK_RT_92">
<display-name lang="en">BBC ONE</display-name>
<display-name lang="en">BBC1</display-name>
</channel>
Is my pvr software parsing the xml wrong or should there only be one entry per channel for display-name?
Thanks.
-
alanbirtles
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Post
by alanbirtles » Sun Aug 26, 2012 8:58 pm
change:
Code: Select all
channel.Name = XGUI_Lib.XS.Add(newName,channel.Name)
to:
in scripts/ukrt/ukrt_freeview_names.lua
-
tomper
- Posts: 3
- Joined: Tue Mar 07, 2006 4:39 am
Post
by tomper » Mon Aug 27, 2012 6:52 pm
Hi Alan,
Thanks for the quick response. I've just tried your amendment and it works like a charm.