MythTV Broken again :(

The earlier posted fix , getting my data from mythportal seemed to be a temporary solution.

It also seems the solution that was mentioned at Kristof Vanhertum's blog , the agent fix doesn't work anymore either.

Somewhere in the comments of that post however people start referring to mc2xml a tool to get your info (even 14 days worth of it) from a really untrustworthy source and import it amongst other tools into MythTV

No source code to be found, just a binary .. something that always scares me .. But running the thing (first time as a dummy empty user, one never knows) actually seems to give me an XML file with relevant data , to be used by mythfilldatabase.

  1. ./mc2xml -c be -g 2610
  2. Loading ..... : mc2xml <mc2xml@gmail.com> (2008-09-15)
  3. Connecting .. : microsoft.com
  4.  
  5. Select lineup:
  6.  
  7. 0: TER Unmapped Analogue Terrestrial
  8. 1: TER Unmapped Digital Terrestrial
  9. 2: CAB Unmapped Analogue Cable
  10. 3: CAB Unmapped Digital Cable
  11. 4: SAT Unmapped Analogue Satellite
  12. 5: SAT Unmapped Digital Satellite
  13. 6: SAT TV Vlaanderen Digital Satellite
  14. 7: TER TV Vlaanderen Digital terrestrial
  15. 8: CAB Telenet Analog Kabel (132)
  16.  
  17. (0-8): 8
  18.  
  19. Downloading . : microsoft.com
  20. Downloaded .. : 353944 bytes
  21. Source ...... : BDS
  22. Headend ..... : 7200116
  23. Version ..... : 2693590756
  24. Start time .. : 2008-10-23T00:00:00 UTC
  25. End time .... : 2008-11-06T23:55:00 UTC
  26. Parsing ..... : Telenet Analog Kabel (132)
  27. Writing ..... : xmltv.xml
  28. Writing ..... : mc2xml.dat
  29. Completed ... : 5384193 bytes in 26s, 27 channels, 9409 programs scheduled.

Yes that's my actual postcode. Different postcode values will give you other alternatives such as Coditel/Integan .. so you better use the right one.

I`m not really satisfied however, it fails to recognize my already defined channels. So I seem to have something that at first sight looks like relevant data . Only my channel numbers are way way way off ..

I need to fix that asap. The only problem being that tomorrow it's Geekdinner and I`ll be spending the rest of the weekend at T-Dose hence I have no time to fix this anymore ...

Anyone got a quick fix for that ? Or will I just have to live with a weekend of non-recordings ? :)

Well.. maybe next week will be a productive one then :)

Comments

bram's picture

#1 bram : I tried using mc2xml too, but

I tried using mc2xml too, but as I'm not that much of a scripter/programmer, I gave up rather quick, because I didn't get any decent workable input into my mythtv database. (instead it messed up my mythtv database quite a lot...)

I found out that the EPG is being transmitted again over the cable, for now...

As an extra input, I worked on a remote mythbuntu install over at my girlfriend's parents appartment, only 4km away from my home location. I'm in Borgerhout, and they are in Deurne. After having fought with the cable scan (using both the dvb-utils scan tool and the w_scan tool), giving me no sensible channel list but a 'there is signal on 9 transponder freqs but I cannot seem to give you any other info about what's in it', I installed a copy on my working cable connection, which led to 107 channels found at my place... So Telenet is definitely doing something on the cable network in Antwerp. This used to work and give sensible data over little 3 months ago.

Well... for now, it works again for me... Doesn't it for you?
Let me know...


Kris Buytaert's picture

#2 Kris Buytaert : EPG on the Cable

You might want to blog about that EPG on the cable and how to get it to work :)

And "now what works for you again" ?

Let me know :)


Jeroen's picture

#3 Jeroen : I'm currently also using

I'm currently also using mc2xml as a (hopefully intermediate) solution. I postprocess the resulting xmltv.xml to correct the channel_ids according to my mythtv's channel table. It's quick-'n-dirty, but hey, what do you do when you're panicking ;-) :

sed 's/\"I51.750821.microsoft.com\"/\"tv1.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I152.751666.microsoft.com\"/\"vtm.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I73.752139.microsoft.com\"/\"la1.rtbf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I70.750822.microsoft.com\"/\"canvas.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I138.751678.microsoft.com\"/\"tvl.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I85.750832.microsoft.com\"/\"ned1.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I86.750833.microsoft.com\"/\"ned2.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I87.750834.microsoft.com\"/\"ned3.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I11.70.microsoft.com\"/\"bbc1.bbc.co.uk\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I12.79.microsoft.com\"/\"bbc2.bbc.co.uk\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I48.750781.microsoft.com\"/\"ard.daserste.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I155.750795.microsoft.com\"/\"zdf.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I151.751668.microsoft.com\"/\"vt4.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I134.754708.microsoft.com\"/\"tmf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I2.751667.microsoft.com\"/\"ka2.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I59.751869.microsoft.com\"/\"france2.fr\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I111.752171.microsoft.com\"/\"rtltvi.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I83.750678.microsoft.com\"/\"ngc.nationalgeographic.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
#nickolodeon is not present :-(
sed 's/\"I47.54932.microsoft.com\"/\"europe.cnn.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I56.750751.microsoft.com\"/\"eurosport.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I8.751041.microsoft.com\"/\"arte.arte-tv.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I13.205561.microsoft.com\"/\"world-tv.bbc.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I72.752159.microsoft.com\"/\"la2.rtbf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I153.751099.microsoft.com\"/\"wdr.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I68.754564.microsoft.com\"/\"kanaalz.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I149.751671.microsoft.com\"/\"vitaya.tv\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I148.753795.microsoft.com\"/\"vijftv.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml


Jeroen's picture

#4 Jeroen : I'm also using mc2xml as a

I'm also using mc2xml as a (hopefully) temporary fix.
Regarding the non-matching channel_ids, I postprocess the xmltv.xml to get the channel_ids matching again (I know, it's quick 'n dirty, but hey what do you do when you're panicking ;-)):

sed 's/\"I51.750821.microsoft.com\"/\"tv1.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I152.751666.microsoft.com\"/\"vtm.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I73.752139.microsoft.com\"/\"la1.rtbf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I70.750822.microsoft.com\"/\"canvas.vrt.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I138.751678.microsoft.com\"/\"tvl.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I85.750832.microsoft.com\"/\"ned1.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I86.750833.microsoft.com\"/\"ned2.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I87.750834.microsoft.com\"/\"ned3.omroep.nl\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I11.70.microsoft.com\"/\"bbc1.bbc.co.uk\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I12.79.microsoft.com\"/\"bbc2.bbc.co.uk\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I48.750781.microsoft.com\"/\"ard.daserste.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I155.750795.microsoft.com\"/\"zdf.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I151.751668.microsoft.com\"/\"vt4.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I134.754708.microsoft.com\"/\"tmf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I2.751667.microsoft.com\"/\"ka2.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I59.751869.microsoft.com\"/\"france2.fr\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I111.752171.microsoft.com\"/\"rtltvi.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I83.750678.microsoft.com\"/\"ngc.nationalgeographic.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
#nickolodeon is not present :-(
sed 's/\"I47.54932.microsoft.com\"/\"europe.cnn.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I56.750751.microsoft.com\"/\"eurosport.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I8.751041.microsoft.com\"/\"arte.arte-tv.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I13.205561.microsoft.com\"/\"world-tv.bbc.com\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I72.752159.microsoft.com\"/\"la2.rtbf.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I153.751099.microsoft.com\"/\"wdr.de\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I68.754564.microsoft.com\"/\"kanaalz.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I149.751671.microsoft.com\"/\"vitaya.tv\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
sed 's/\"I148.753795.microsoft.com\"/\"vijftv.be\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml


chojin's picture

#5 chojin : Different I numbers

I used the sed commands provided but soon found out the I numbers where completely different for me. Using sed commands like this:
sed 's/\"I[0-9]*.750821.microsoft.com\"/\"een\"/' xmltv.xml > tmp_file; cp tmp_file xmltv.xml
made mc2xml also a temporarily solution for me..
However I don't seem to get content for a few channels like MTV, Kanaal Z, TRT, .. I do get the channel definitions in the xmltv.xml output but not any content..
So definitely no final solution..


Jeroen's picture

#6 Jeroen : I suppose the I* numbers

I suppose the I* numbers depend on the postal code you provide to mc2xml?
For my first mc2xml trial I gave a bogus postal code (1000 something) but using my proper postal code now, I remark that although the second part of the channel id is the same, the I* part indeed changed. In that respect, your sed command is better than mine.

Also the listing contents is different: MTV/Nickelodeon (MTV and Nick are mixed on one channel in the Interelectra/Infrax area) wasn't present at first, but using my proper postal code it is (although only MTV shows are listed, no Nickelodeon, the kids will be happy).

For the time being, I'm btw writing my own grabber, based on the entertainment/tv-gids pages of zita.be . If no better solution pops up, I'll start using that one.