SageTV Community  

Go Back   SageTV Community > SageTV International User Forums > SageTV United Kingdom
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 10-23-2005, 03:44 AM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
Quote:
Originally Posted by nielm
Not the format suggested by KrisAcker, but simply:
Code:
  <channel id="london.bbc1.bbc.co.uk">
    <display-name>BBC1 London &amp; South East</display-name>
    <display-name>1</display-name>
  </channel>
-- defines bbc1 on channel# 1.
version 3 of my grabber should now be able to produce channels in this format
Reply With Quote
  #22  
Old 11-08-2005, 12:28 PM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
Quote:
Originally Posted by birty
version 3 of my grabber should now be able to produce channels in this format
Hi Birty

I downloaded V3 of your grabber how do I do this?
Reply With Quote
  #23  
Old 11-08-2005, 12:39 PM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
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}
then change pass1func like this:
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
although this will work it will cause problems if the channel already has more than one display name, i am working on some library functions to make this easier
Reply With Quote
  #24  
Old 11-08-2005, 12:41 PM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
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
Reply With Quote
  #25  
Old 11-10-2005, 04:48 PM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
any luck dan?
Reply With Quote
  #26  
Old 11-11-2005, 04:24 AM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
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.
Reply With Quote
  #27  
Old 11-11-2005, 04:34 AM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
Problem is now how do I get sage to work with the epgdata format?
Reply With Quote
  #28  
Old 11-11-2005, 03:07 PM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
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
in beta 5.
require("XGUI_Lib")
should also be added to the top of the script
Reply With Quote
  #29  
Old 11-12-2005, 06:46 AM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
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?
Reply With Quote
  #30  
Old 11-12-2005, 06:55 AM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
is the xml correct? having never used sage myself i wouldn't know how to fix this
Reply With Quote
  #31  
Old 11-12-2005, 07:21 AM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
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>
Reply With Quote
  #32  
Old 11-12-2005, 07:24 AM
birty birty is offline
Sage User
 
Join Date: Sep 2004
Posts: 71
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.