SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-25-2007, 06:11 AM
evilc evilc is offline
Sage User
 
Join Date: Sep 2007
Posts: 11
Auto channel lineup numbering with XMLTV / TVTV?

Could someone tell me if it is possible to have the correct channel numbers automatically assigned to EPG data pulled from XMLTV / TVTV?
I live in the UK and have Sky. There is only one correct channel number for each channel, so there is a clear "right way" to number the channels.
However, when pulling data from, for example, Radio Times using XMLTV, you end up with a listing of channels that can be quite hard to associate with their correct numbers, even using StephaneM's great new tool.

Yes, I know it can be done manually, but it is a pain in the ass and prone to errors - surely it must be possible to do programatically - it would just need someone to write the code and for people to keep a database up to date.

Advice please?
Reply With Quote
  #2  
Old 09-25-2007, 08:10 AM
brewston brewston is offline
Sage Expert
 
Join Date: Apr 2006
Location: Surrey
Posts: 719
have a poke through the UK forum, I think someone compiled a Sky channel file for Stephane's imported. I only have 'freesat' Sky, so do them by hand
__________________
Tecra M5, 2 x HD200, 2 x HD300
2 x PCTV 290e
Win 7, Sage 7.1.9, Phoenix 2 STV
Stephane's XMLTV Importer, Digiguide,
Reply With Quote
  #3  
Old 09-25-2007, 09:15 AM
evilc evilc is offline
Sage User
 
Join Date: Sep 2007
Posts: 11
I saw something in one of the threads with an attached .txt file with channel lists, but it was over a year old and I had no idea how to use it.

This, for me, is the biggest failing of SageTV. There appears to be zero effort by the makers to help people understand what the hell they need to do to get EPG working properly. I am a geek and even I am confused as hell. I had no idea there was a difference between channel listings and channel numberings.

A big mistake by Sage IMHO. I have had two mates who bought tuner cards, downloaded the sage demo, but gave up trying to get the EPG working and never bought sage, even when they had full intentions of doing so and the money waiting - they just didn't want to risk spending any more money when they had no idea of if it could work and how to do it.
Reply With Quote
  #4  
Old 09-25-2007, 11:30 AM
ripple420 ripple420 is offline
Sage User
 
Join Date: Jan 2006
Posts: 12
Take a look at this thread, it might be useful. I use the script mentioned and it works for me.

http://forums.sagetv.com/forums/showthread.php?t=16139

Last edited by ripple420; 09-26-2007 at 07:08 PM. Reason: corrected the url
Reply With Quote
  #5  
Old 09-25-2007, 02:26 PM
bartley9 bartley9 is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 91
I made the following spreadsheet which I use wth alan birtles XMLTV grabber.

It helps with the continual channel re-mapping that sky do. It might help
Attached Files
File Type: zip ChannelsNew.zip (135.4 KB, 293 views)
__________________
Server: ABIT IC7, P4 2.8 HT, 512MB, XP 2003, ABIT IC7, 2x100MB Lan, 2TB x 8 Disks, USBUIRT, PVR500, Composite from 2xSky boxes in a big box in my garage
PVR: ABIT SG-80, Celeron 2.8, 512MB, XP Pro, 20GB Disk, 100MB Lan, USBUIRT, SKY+ remote control
Client2: ABIT AL8, P4 3.0, 1024MB RAM, XP Pro.
Client3: ABIT IC7, P4 2.4, 512MB RAM, XP Pro.
Client4: ABIT AI7, Celeron 2.4, 512MB RAM, XP Pro.
Reply With Quote
  #6  
Old 09-25-2007, 03:03 PM
evilc evilc is offline
Sage User
 
Join Date: Sep 2007
Posts: 11
Thanks for that bart.

On browsing through the instructions, I am not totally sure, but when I sit down and do it I will probs work it out.

ripple - that appears to be to do with reruns. Or maybe I am missing something.
Reply With Quote
  #7  
Old 09-25-2007, 03:08 PM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
i tried to set up the channels in stephanes importer programatically, and in the end gave up and did it manually.

www.wildsat.com has a listing of the sky channels, so i used that to then put in the right channel numbers, rather than go through the sky guide and write them all down.

I check it weekly to see if any of the channel numbers have changed.
Reply With Quote
  #8  
Old 09-26-2007, 07:07 PM
ripple420 ripple420 is offline
Sage User
 
Join Date: Jan 2006
Posts: 12
My mistake I pasted the wrong url.

This is the tool to renumber.

http://forums.sagetv.com/forums/showthread.php?t=16139

"That's it, when you add the new XML source the channels will be mapped with the channel numbers listed in the XML file. If you already have the XMLTV source configured, then the next time your EPG updates it will import the new channel mapping."

Thats what the author says the tool does, and it works for me.

Quote:
Originally Posted by evilc View Post
Thanks for that bart.

On browsing through the instructions, I am not totally sure, but when I sit down and do it I will probs work it out.

ripple - that appears to be to do with reruns. Or maybe I am missing something.
Reply With Quote
  #9  
Old 09-27-2007, 05:00 AM
evilc evilc is offline
Sage User
 
Join Date: Sep 2007
Posts: 11
Thanks ripple, although I may well not be buying sage after all - I am not sure I want to pay for a product that doesn't work properly out of the box in my region.

I mean, the US peeps get automatic EPG data, but for some reason Sage don't think that programming it in for the UK is worth it - instead you have to use a whole load of 3rd party apps stitched trogether to acheive it - it's all a bit ridiculous.

Sage don't even seem to provide any information whatsoever on the workings of XMLTV / TVTV etc (And I am pissed that I paid for TVTV because sage said it was compatible, and it wont work with Sage at all) - they expect you to work it all out yourself or use the community which isn't really on for a paid product IMHO. Yes, AFAIK, XMLTV is a 3rd-party plugin, but I don't care - SageTV is sold as a working product. Outside the US it does not work unless you fiddle for hours, sacrifice a chicken over the keyboard to the gods of XML etc...
Reply With Quote
  #10  
Old 09-27-2007, 08:56 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by evilc View Post
I mean, the US peeps get automatic EPG data, but for some reason Sage don't think that programming it in for the UK is worth it - instead you have to use a whole load of 3rd party apps stitched trogether to acheive it - it's all a bit ridiculous.
Sadly, unlike the US, in the rest of the world, that channel mapping data does not exist...

There is no central authority that knows what the channel<->frequency mappings are for every single region/transmitter (for analogue terrestrial), or channel ID mappings for each provider's lineup (for cable/sat lineups). This sucks, but in the other direction, the providers don't see why they should have to supply this data. Sky and other cableco's have their digiboxes, why should anyone want anything else?!

DVB EPG data should be the solution, but not everyone can get it, and the EPG data quality may not be as good as other sources.

Apart from needing to remap the channels to their requried numbers, TVTV should have worked to supply the EPG data without needing the 3rd party apps. Once in the EPG Database, Sage sees no difference between the data from any source, so the problems you had regarding channel changing may not have been related to TVTV.


Historically, Sage (and other PVR providers) have kept a safe distance from XMLTV and let 'the community' develop importes. This may possibly be due to the dubious legal position of some of the grabbers, possibly due to the project's perpetual-beta status, and possibly due to the simple fact that being based in the US, and having North America as their major market, they simply don't see the problems that us yurpeens have to contend with to keep our PVRs running
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #11  
Old 09-27-2007, 09:12 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by evilc View Post
Sage don't even seem to provide any information whatsoever on the workings of XMLTV / TVTV etc (And I am pissed that I paid for TVTV because sage said it was compatible, and it wont work with Sage at all) - they expect you to work it all out yourself or use the community which isn't really on for a paid product IMHO. Yes, AFAIK, XMLTV is a 3rd-party plugin, but I don't care - SageTV is sold as a working product. Outside the US it does not work unless you fiddle for hours, sacrifice a chicken over the keyboard to the gods of XML etc...
Well that's somehow a complex problem because:

* TVTV is a great idea, but TVTV staff doesn't achieve a great support. And SageTV can't do anything for this as TVTV must support guide data problem and not SageTV. So basically it sucks.

* for XMLTV this is even more complex as there is so many guide data source that you'll end up with two softwares one for getting the data, and one for importing the data into SageTV. You'll receive good support for importing the data, not so much for getting the data (legal issues).

However, you'll always find help for your guide data issues. And you'll see that SageTV is not that bad for European users. At least SageTV seems dedicated to offer support for DVB technologies and give you the choice between TVTV and XMLTV (whereas other PVR softwares for Europe are TVTV or DVB based only)

Back to your problem. I created a script that can extract channel numbers from the XMLTV file and create the lineups for my Importer tool, you can try it if you do have channel numbers in your XMLTV file.

You can also try the lineup file from motobarsteward (or contact him), it has a Sky lineup ready to use.

I may also add a collaborative feature in the Importer to download lineups from other users, this may helps.

Regards,
Stéphane.
Reply With Quote
  #12  
Old 09-27-2007, 10:23 AM
evilc evilc is offline
Sage User
 
Join Date: Sep 2007
Posts: 11
I can totally appreciate what you guys are saying, but surely this is 100% surmountable by sage.

It seems, for example, that the main source for data in the UK is the radio times XML feed. Sure, I can understand that there could be legal problems if sage wrote a solution that pulled the data itself, but I doubt it. RT is owned by the BBC and as such is paid for by the UK licence fee payer.
Quote:
Originally Posted by RT Website
©BBC Magazines Ltd. The Radio Times word mark and logo are trademarks of BBC Worldwide Ltd.
BBC Magazines is owned by the BBC and our profits are returned to the BBC for the benefit of the licence-fee payer.
It would surely be trivial to maintain a database of channel numbers by broadcaster for each of the channels available in the UK - in fact, all Sage would need to do would be to write the code / website capable of holding the info and people could add the data.

There is no way that there can be any legal issues with mapping channel names to numbers. You cannot copyright a fact - Sky One is on channel 106 on a Sky box - pure fact.

Failing that - do what Orb does. It has a list of channels that exist, and it sends the "Channel Up" IR signal, asks "What channel is this?" and then repeats for the next channel.

What they are doing at the moment just smacks of sticking their head in the sand.

I sat and fiddled with SageTV for 5 or 6 hours trying to get it working before I even realised that XMLTV did not assign channel numbers and the reason that I was getting a black screen was not because my tuner was playing up, it was because there was no lineup.
It said in the manual that Sage worked with TVTV, so I pay for TVTV, only to find that it won't work. I tried loading BeyondTV and it worked fine, so I guess this is a Sage issue.

All of this I could overlook if sage actually informed their prospective customers of the issues, the terminologies etc and wrote some documentation to cover it rather than forcing us to spend hours upon hours trying to figure it out. NOWEHERE in the manual is it mentioned that XMLTV does not arrange channels and that you will need to edit text files and the like, all it says is "Get the XMLTV plugin" like that's it - end of story - job done. A typical American attitude - if it ain't in the good ole US of A, then it doesn't matter.
Reply With Quote
  #13  
Old 09-27-2007, 01:37 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by evilc View Post
I can totally appreciate what you guys are saying, but surely this is 100% surmountable by sage.
Anything is surmountable, given enough money. The question is, is it worth doing.

Quote:
Originally Posted by evilc View Post
It would surely be trivial to maintain a database of channel numbers by broadcaster for each of the channels available in the UK
For sky, maybe. Of course Sky have a habit of changing their channels every so often..
For freeview, again maybe.

But for each local cable provider's lineup, and all the analogue terrestrial transmitters, no way could Sage keep track of this.

Anyway, why should the UK be special? What about Belgium, France, Netherlands, Australia, Germany. etc..

The fact is that TVTV should be collating and providing this data where possible, but they do not. IMHO, TVTV is too expensive for too little function.


And the XMLTV plugin is not documented because it (actually they -- there are several plugins with different featuresets) are not written or supported by Sage. If the XMLTV plugin's documentation is not clear enough, this is not Sage's fault.


PS: anyone know how MCE handles channel mapping?

PPS: the terms and conditions of the RT site dictate personal use only, no scraping, no storing of data and no re-publishing. XMLTV have a special agreement with RT that allows access to a subset of the data provided, for personal use only, and which does not include channel numbers.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Same channel - SD & HD versions Enormous SageTV Beta Test Software 18 12-20-2007 09:35 AM
Can't remove XMLTV lineup jhendrix SageTV EPG Service 0 06-15-2007 01:28 PM
ADDING CHANNEL TO XMLTV Import Tool rnewman SageTV EPG Service 2 03-09-2007 05:00 PM
StephaneM's XMLTV importer Question gerberdude SageTV EPG Service 11 07-31-2006 06:50 PM
Please wait while the channel lineup is downloaded for XMLTV Lineup gafrol SageTV EPG Service 1 01-06-2006 08:08 AM


All times are GMT -6. The time now is 11:56 PM.


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