Page 1 of 1

Help to rename the channel name (remove country extension)

Posted: Sun Dec 04, 2011 3:01 pm
by Nielsen72
My XMLTV provider (Danish ontv.dk) gives the individual channel names a country extension

Example:
tv3 se (se = Sweden)
Discovery dk (dk = Denmark)
TLC no (no = Norway)

But when I do auto EPG setup in my media center, there are always problems caused by the country extension ...

Can anyone help me by writing a script that can remove the three last character (space and two letters) in each channel name "display-name"
Perhaps as an on/off option during setup ONTV

Thanks in advance
Bo Nielsen

Re: Help to rename the channel name (remove country extensio

Posted: Sun Dec 04, 2011 7:38 pm
by alanbirtles
look at scripts\ukrt\ukrt_freeview_names.lua for an example of how to change channel names.

Re: Help to rename the channel name (remove country extensio

Posted: Tue Dec 20, 2011 10:15 pm
by Nielsen72
I have spent much time searching. It seems that the file does not exist in the Windows version
but I have found it in the Linux version (xmltvgui_3.14.01L.tar.gz)

It must be a mistake ....

Re: Help to rename the channel name (remove country extensio

Posted: Sat Dec 31, 2011 12:00 pm
by alanbirtles
the script in the linux distribution is the same as the windows one