![]() |
|
SageTV United Kingdom SageTV and SageTV Recorder Users from the UK - This forum is for you to post about specific issues using SageTV software in the UK. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
|
#22
|
||||
|
||||
Quote:
I downloaded V3 of your grabber how do I do this? |
#23
|
|||
|
|||
you will need to create a lua script similar to scripts\uk_rt\ukrt_altchids_xmltv.lua. the documentation is not complete but there is a file explaining the data structures used.
change each entry in the ChIDS table so that it looks something like this: Code:
[39] = {id="animalplanet.discoveryeurope.com",number=8} Code:
local function Pass1Func(grabber,channel) XGUI.SetStatus(2,"Processing "..channel.Name.Value) channel.XML_ID=ChIDS[tonumber(channel.ID)].id channel.Name={channel.Name,ChIDS[tonumber(channel.ID)].number} return channel end |
#24
|
|||
|
|||
also there are some bugs with channel post processors whereby if your lua script fails then you will lose all of your selected channels, so backup userchannels.txt first
|
#25
|
|||
|
|||
any luck dan?
|
#26
|
||||
|
||||
Hi Birty,
Sorry I did not post back earlier. At first I did not have any luck. However prompted by your post I tried again, it appears to have worked. I will try in on sage tv now. |
#27
|
||||
|
||||
Problem is now how do I get sage to work with the epgdata format?
|
#28
|
|||
|
|||
the above code should now be changed to:
Code:
local function Pass1Func(grabber,channel) XGUI.SetStatus(2,"Processing "..channel.Name.Value) channel.XML_ID=ChIDS[tonumber(channel.ID)].id channel.Name=XGUI_Lib.XS.Add(channel.Name,ChIDS[tonumber(channel.ID)].number) return channel end require("XGUI_Lib") should also be added to the top of the script |
#29
|
||||
|
||||
Thanks Birty,
I made the changes, but when I update the epg in sage the channel order is still un changed. In stead of 1,2,3,4,5 etc. I have it according to frequency channel Any ideas? |
#30
|
|||
|
|||
is the xml correct? having never used sage myself i wouldn't know how to fix this
|
#31
|
||||
|
||||
This is the output I get.
Code:
- <channel id="UK_RT_92"> <display-name lang="en">BBC1</display-name> <display-name>1</display-name> </channel> - <channel id="UK_RT_105"> <display-name lang="en">BBC2</display-name> <display-name>2</display-name> </channel> - <channel id="UK_RT_26"> <display-name lang="en">ITV1 London</display-name> <display-name>3</display-name> </channel> - <channel id="UK_RT_132"> <display-name lang="en">Channel 4</display-name> <display-name>4</display-name> </channel> - <channel id="UK_RT_134"> <display-name lang="en">Five</display-name> <display-name>5</display-name> </channel> |
#32
|
|||
|
|||
looks ok to me and seems to match what was posted above, i think youll have to wait for a response from someone more familiar with sage
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|