|
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 |
#1
|
||||
|
||||
Now we can grab XMLTV data from Microsoft Media Center servers
This might be of interest for those who aren't using Digiguide as their XMLTV source. I just discovered this new program that allows you to connect to Microsoft's servers & collect the EPG data which is then converted to XMLTV format. I had always imagined that this data was encrypted but evidently not (or the program's author has cracked the encryption:-).
I haven't even tried importing this into Sage yet but from a quick look at the data it is very comprehensive with previously shown & series data. I was hoping that someone who understands XMLTV a bit better would take a look & give an assessment. The web site has full instructions on use but basically it's as simple just downloading the executable (Windows or Linux) from the web site & at a command prompt run it & give your post code e.g. mc2xml -c gb -g "SW1X 7LA" then choose your provider (Freeview, Freesat, Cable etc) from the list e.g. 15: SAT Sky Digital BBC London/ITV London then it creates the data in xmltv.xml ready for upload into Sage http://mc2xml.110mb.com/ |
#2
|
|||
|
|||
Looks intresting, but I have no idea how to get this into Sage maybe someone else will take a look and see if its better than Digiguide.
Nice find though
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#3
|
||||
|
||||
In theory I should just be able to point Stephane's Importer at the XML file that it produces & have the data imported. Unfortunately that doesn't work as when try to add a new XMLTV source & browse to the XML file it gets highlighted in a red box & I cannot proceed any further. I assume that there is something about the syntax of the file that Stephane's program doesn't like even though to my untrained eye it looks like a perfectly valid XMLTV file. I will contact Stephane & see what he says. In case anyone else would like to take a look I will append an XMLTV file with just a few channels to this posting.
Last edited by MCE-Refugee; 09-09-2008 at 11:17 AM. |
#4
|
|||
|
|||
Same thing happens for me. I guess the data isnt compatible with the importer.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#5
|
||||
|
||||
Quote:
Regards, Stéphane. |
#6
|
||||
|
||||
Stephane,
Thank you for that link. I downloaded that file into the directory & now it all works beautifully. I am not sure that the programme data is any better than Digiguide but perhaps it has more information about broadcast dates & series link info? It seems that your program does not ship with this xmltv.dtd file which is the standard data defintion file for what an XMLTV file contains. The xml files that I imported previously did not have this file defined in the header & were imported without problems. If I remove the reference to xml.dtd from the input file then it is imported OK. I am sure that there is a good technical reason why you have chosen to do it this way but wouldn it be better to either ship the xmltv.dtd file with your application or if a file contains a reference to this descriptor file then to ignore it if the file is missing? |
#7
|
||||
|
||||
Quote:
Regards, Stéphane. |
#8
|
||||
|
||||
This appears to work very well! At last, what appears to be a complete channel listing and EPG for SKy! Has anyone worked out how to get the channel number to channel ID mapping? I know that WMC gets this info. If we can get this info that Sky's annoying daily channel number re-mapping PITBS will be a thing of the past!
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running. Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC. Stable but can use DVB-S on second HVR400. |
#9
|
|||
|
|||
It would also be good to get this working with less fuss and hassle for people like me that dont really understand how to use command lines etc and would prefer a simple UI, not only for the UK but other countries around the world (I think I'm right in assuming it works around the world).
Wink Wink StephaneM or some other clever person.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 09-11-2008 at 07:19 AM. |
#10
|
||||
|
||||
It certainly doesn't look bad does it.
I'm still using the Radio Times EPG, and the only channel I'm missing from what I want it Movies4Men2. When I download the EPG for UK satellites, it lists Movies4Men2 as a channel, but there are no programs for it. There aren't for Movies4Men either. I haven't done a comprehensive channel comparison, but I think to get complete listings for all channels, you may well still need to use either Radio Times or Digiguide aswell as this data. |
#11
|
||||
|
||||
Has anyone worked out which number to choose for Sky FreeSat complete with channel numbers?
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running. Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC. Stable but can use DVB-S on second HVR400. |
#12
|
||||
|
||||
Stephane's Import tool will do this already. You need to put this mc2xml in a folder where you want to call it from, open a command window, go to the folder and type:
mc2xml -c gb -g "SW1X 7LA" (your postcode) Then pick your lineup from the list. This saves the preferences, so in the Importer you just need to put <folder>\mc2xml.exe as your importer, nothing else, no batch file needed.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#13
|
||||
|
||||
Unfortunetaly, the Sky FreeSat linueup offered is marked as 'Unmapped'. I pulled this down and found that 'Unmapped' means that there are no channel numbers.
If you, like me, only get the Sky FreeSat Free to view channel lineup then you will need to select the full sky lineup (19, in my case in Swindon) and use the mc2xml.chl mechanism to just download the free to view channels. When I have written this file, I'll post it.
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running. Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC. Stable but can use DVB-S on second HVR400. |
#14
|
||||
|
||||
Because I have Freeview and Freesat, I created 2 folders and put a copy of mc2xml.exe in each folder.
Then I ran it from one folder with the postcode options and chose the lineup for freeview, and it creates the dat file. I then ran it from the other folder and it created another dat file in that folder. I then used Stephanes importer and you can specify different XML files for each of your lineups. Like motobarsteward said earlier, the Freesat lineup doesn't have numbering, and it has loads of channels that you would never use. I created a chl file in the folder with the Freesat dat file and specified just the channels I wanted, this reduced the XML file to something more manageable. If you tell Stephanes importer to run the grabber, you have to create a batch file that will run mc2xml from each folder in turn. I haven't changed my live system as I have all the channels I need at present from Radio Times, except for that Movies4Men2 which has no programs listed from this grabber. (Its probably because theres nothing worth watching on it!) If I were setting up from scratch and just using Freeview, I may well give this a go. I think it could also be very useful for people in other countries who don't have a reasonable XML grabber. I'd like to know if its any good for my friend in NZ. |
#15
|
|||
|
|||
Quote:
Quote:
I've made a Freeveiw lineup and so far the results look very good for first run shows not perfect but better than Digiguide & RT. An example would be Neighbours which shows as first runs for every show and Home & Away is always shown as a repeat. However is does seem better at picking up first runs for primetime shows. One other thing it does better is currently off air channels showing when the channel starts broadcasting again, much better than the "NO Data" message. Edit: I've figured out that I can use Scheduled tasks to run each of the mc2xml.exe grabbers (Freeveiw & Freesat) then have the importer start at a slightly later time to import the data. My next problem is Freesat and the use of mc2xml.chl mechanism as said by motobarsteward and the mc2xml website. How do you create the .chl file? I've created a txt file and renamed it .chl but that didnt work and the programme still grabbed all 75mb worth of data which to say the least is a bit excesive.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 09-12-2008 at 09:12 AM. |
#16
|
||||
|
||||
Quote:
So you can very well put mc2xml in two different folders and create two XMLTV sources in the Importer, one for each produced XMLTV file (the Importer will then merge the data during the import) |
#17
|
|||
|
|||
Quote:
I've just setup two scheduled tasks to do this but I'll take a look at the importer again and try to use your way of doing things. Cheers StephaneM On a diffrent note I've been playing around with the catagories and once I have these setup and start the import process the importer seems to hang at "Cleaning Lookup Table". It doesnt seem to cause any problems as far as I can see, however I do have to press the OK button to finish the import. Is this a bug or something I'm doing wrong? (Its not a time issue as I've left it overnight and the progress bar doesnt move)
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 09-12-2008 at 09:45 AM. |
#18
|
||||
|
||||
Quote:
Regards, Stéphane. |
#19
|
|||
|
|||
[QUOTE=jaminben;303867]
I've figured out that I can use Scheduled tasks to run each of the mc2xml.exe grabbers (Freeveiw & Freesat) then have the importer start at a slightly later time to import the data. QUOTE] You don't even need to do that with Stephane's importer, add the path to the grabber and then go to scheduled update and enter a time. The impoter does a grab before converting to sage. All done in the one tool. |
#20
|
|||
|
|||
Quote:
Quote:
Edit: Its done it again, its proberly something I'm doing and not related to the importer. Code:
20080912 00:11:15.510 - Error - Unexpected error :Column 'epgid' is constrained to be unique. Value 'EP0000080001' is already present. at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action) at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent) at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException) at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos, Boolean fireEvent) at System.Data.DataRowCollection.Add(DataRow row) at LMGestion.XMLTVImporter.XMLTVImporter.LoadProgramsDocument(String lineupId) at LMGestion.XMLTVImporter.XMLTVImporter.DoImport()
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 09-12-2008 at 02:19 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD Media Extender does not find Server | HiDefDon | SageTV Media Extender | 25 | 11-10-2008 08:55 AM |
Can I use Sage EPG data and XMLTV data on two diff. sources? | CanadianEh | SageTV EPG Service | 1 | 08-12-2008 09:21 AM |
TV Shows showing in Media Center Videos | gordo | SageTV Software | 1 | 04-27-2008 11:33 AM |
building my second media center machine | ripplingj | Hardware Support | 18 | 10-05-2006 01:43 PM |
SageTv Media Center and Client on the same PC | jesse_breaker | SageTV Media Extender | 1 | 07-04-2006 01:38 PM |