ukrt_freeview_names

Discussion of Version 3 and developing lua grabbers
Post Reply
tomper
Posts: 3
Joined: Tue Mar 07, 2006 4:39 am

ukrt_freeview_names

Post by tomper »

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

Re: ukrt_freeview_names

Post by alanbirtles »

change:

Code: Select all

		channel.Name = XGUI_Lib.XS.Add(newName,channel.Name)
to:

Code: Select all

		channel.Name = newName
in scripts/ukrt/ukrt_freeview_names.lua
tomper
Posts: 3
Joined: Tue Mar 07, 2006 4:39 am

Re: ukrt_freeview_names

Post by tomper »

Hi Alan,

Thanks for the quick response. I've just tried your amendment and it works like a charm.
Post Reply