birtles.org.uk logo

ukrt_freeview_names

Discussion of Version 3 and developing lua grabbers

ukrt_freeview_names

Postby 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.
tomper
 
Posts: 3
Joined: Tue Mar 07, 2006 4:39 am

Re: ukrt_freeview_names

Postby alanbirtles » Sun Aug 26, 2012 8:58 pm

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
alanbirtles
Site Admin
 
Posts: 493
Joined: Mon Sep 06, 2004 4:44 pm

Re: ukrt_freeview_names

Postby 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.
tomper
 
Posts: 3
Joined: Tue Mar 07, 2006 4:39 am


Return to XMLTV GUI V3

Who is online

Users browsing this forum: No registered users and 1 guest

cron