Page 1 of 1

ukrt_freeview_names

Posted: Sat Aug 25, 2012 1:33 am
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.

Re: ukrt_freeview_names

Posted: Sun Aug 26, 2012 8:58 pm
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

Re: ukrt_freeview_names

Posted: Mon Aug 27, 2012 6:52 pm
by tomper
Hi Alan,

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