NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 27 28 29 30 31 … 93 Next »
mc2xml

 
  • 0 Vote(s) - 0 Average
mc2xml
TomH
Offline

Member

Posts: 177
Threads: 10
Joined: Aug 2006
#31
2008-08-04, 11:53 AM (This post was last modified: 2008-08-04, 11:57 AM by TomH.)
whurlston Wrote:The only benefit of mine would be the option to create "lineups" with only the channels you want.

From memory (I can't get onto the mc2xml website at the moment) there's an optional file (mc2xml.chl?) in which you can list the channels you want.

! When I ran mc2xml the first time -- it appeared that it was scraping something like microsoft.zap2it.com !

Great to see that the UltraXML Enhancer is recognizing the mc2xml work.

Thanks,
TomH
[SIZE="1"]/TomH/ Win7 running nPVR 3.1.1 (via NMTInstall2) on HP p6624y AMD AthlonII 635, 8Gb, 1Tb, HVR-2250 (ATSC) + WebRadio, Universe (broken), BlueRetroVE+, TV Listings. SearchLite Network: Cable Modem - Belkin 54g router - box#1 Win7 Next-PVR 3.1.1, box#2 Win7 wireless laptop, and 2x wired eGreat M34A NMT clients[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#32
2008-08-04, 12:39 PM
TomH Wrote:From memory (I can't get onto the mc2xml website at the moment) there's an optional file (mc2xml.chl?) in which you can list the channels you want.
I missed that. Good catch.
TomH Wrote:! When I ran mc2xml the first time -- it appeared that it was scraping something like microsoft.zap2it.com !
It's not a "scraper". It downloads the same xml file that Media Center does and then processes it into XmlTV format.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#33
2008-08-04, 02:28 PM
TomH Wrote:From memory (I can't get onto the mc2xml website at the moment) ...

Yeah. After I got it working using that web page and this thread, writing a batch file with some switches, I noticed that bug I was talking about. The author wrote back a couple of times quite timely.

He uploaded the new file, I downloaded it, it's working great, and then the page came down. I uploaded a copy of the working file to the wiki, but unfortunately I was unable to grab all the switch syntax from that page, thinking it would always be there...

Does anyone know what's going on with that page?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
jdg
Offline

Member

Posts: 57
Threads: 4
Joined: Aug 2007
#34
2008-08-04, 02:47 PM (This post was last modified: 2008-08-04, 03:01 PM by jdg.)
zehd Wrote:Does anyone know what's going on with that page?

[Nevermind, it seems to be up again]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#35
2008-08-04, 03:27 PM
jdg Wrote:[Nevermind, it seems to be up again]

Yup. and I snagged a copy of the html (storing it) and updated the wiki page

We should be good to go
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
ww4397
Offline

Senior Member

Posts: 382
Threads: 47
Joined: Oct 2005
#36
2008-08-05, 10:17 AM (This post was last modified: 2008-08-05, 10:29 AM by ww4397.)
I must not be setup correctly. I have mc2xml.exe and mc2xml.dat both in this directory:

[INDENT]C:\Program Files\devnz\gbpvr\Third Party\mc2xml[/INDENT]

Then I have this line in my UpdateEPG.bat file (including the quotes):

[INDENT]"C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.exe"[/INDENT]

But, my xml listings file isn't being updated each day.

Any suggestions?

Thanks.

PS I should add that my xml listing file is located in:

[INDENT]C:\Program Files\devnz\gbpvr[/INDENT]

and I used the -o switch, including the path, for the output file when I first ran mc2xml.exe from the command line to made the .dat file. Also, if I run mc2xml.exe from the command line, without any switches, in it present location (path shown above), it generates a xml listing file in its directory - not in the GBPVR directory.
lucille84
Offline

Junior Member

Posts: 21
Threads: 6
Joined: Jul 2005
#37
2008-08-05, 01:38 PM
ww4397 Wrote:PS I should add that my xml listing file is located in:
[INDENT]C:\Program Files\devnz\gbpvr[/INDENT]
and I used the -o switch, including the path, for the output file when I first ran mc2xml.exe from the command line to made the .dat file. Also, if I run mc2xml.exe from the command line, without any switches, in it present location (path shown above), it generates a xml listing file in its directory - not in the GBPVR directory.
Since nobody has answered yet...

First guess is that when running from the UpdateEPG.bat file mc2xml will look for the .dat file in the same dir as the .bat file. Which it might not find Wink
If not there then (without the parameters to create a .dat file) it may just abort.
Try copying the .dat file to your /???/gbpvr/ directory

Second guess... the "Automatic EPG update" is not set in the "Capture Sources" tab of the config.exe program
jdg
Offline

Member

Posts: 57
Threads: 4
Joined: Aug 2007
#38
2008-08-05, 04:20 PM (This post was last modified: 2008-08-05, 04:30 PM by jdg.)
ww4397 Wrote:I must not be setup correctly. I have mc2xml.exe and mc2xml.dat both in this directory:

[INDENT]C:\Program Files\devnz\gbpvr\Third Party\mc2xml[/INDENT]

Then I have this line in my UpdateEPG.bat file (including the quotes):

[INDENT]"C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.exe"[/INDENT]

But, my xml listings file isn't being updated each day.

Any suggestions?

Thanks.

PS I should add that my xml listing file is located in:

[INDENT]C:\Program Files\devnz\gbpvr[/INDENT]

and I used the -o switch, including the path, for the output file when I first ran mc2xml.exe from the command line to made the .dat file. Also, if I run mc2xml.exe from the command line, without any switches, in it present location (path shown above), it generates a xml listing file in its directory - not in the GBPVR directory.

Check the wiki:
http://gbpvr.com/pmwiki/pmwiki.php/Utility/MC2XML

Your bat file should change to the mc2xml drive and path first:
Code:
c:
cd "C:\Program Files\devnz\gbpvr\Third Party\mc2xml"
mc2xml -o "x:\wherever\xmltv.xml"

OR you can point it directly to the .dat file from the command line:

Code:
"C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.exe" -D "C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.dat" -o "X:\wherever\xmltv.xml"


When a bat file starts, the "Working directory" remains wherever it was started from.

So if it was started in "C:\Program Files\devnz\gbpvr", and you then call "X:\directory\mc2xml" from the bat file without changing drives or directories, mc2xml will still think it is in "C:\Program Files\devnz\gbpvr" and look for the dat file there.

(Also remember that it won't bother downloading the listings if they have already previously been downloaded and have not changed since then, unless using "-f' to force the redownload, but that might be a waste of time and bandwidth)
ww4397
Offline

Senior Member

Posts: 382
Threads: 47
Joined: Oct 2005
#39
2008-08-05, 05:00 PM
jdg Wrote:Check the wiki:
http://gbpvr.com/pmwiki/pmwiki.php/Utility/MC2XML

Your bat file should change to the mc2xml drive and path first:
Code:
c:
cd "C:\Program Files\devnz\gbpvr\Third Party\mc2xml"
mc2xml -o "x:\wherever\xmltv.xml"

OR you can point it directly to the .dat file from the command line:

Code:
"C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.exe" -D "C:\Program Files\devnz\gbpvr\Third Party\mc2xml\mc2xml.dat" -o "X:\wherever\xmltv.xml"


When a bat file starts, the "Working directory" remains wherever it was started from.

So if it was started in "C:\Program Files\devnz\gbpvr", and you then call "X:\directory\mc2xml" from the bat file without changing drives or directories, mc2xml will still think it is in "C:\Program Files\devnz\gbpvr" and look for the dat file there.

(Also remember that it won't bother downloading the listings if they have already previously been downloaded and have not changed since then, unless using "-f' to force the redownload, but that might be a waste of time and bandwidth)


Thanks, guys.

I didn't think that any switches were needed once a .dat file was created, as per this bullet point from the Usage portion of the author's website:

Quote:Run "mc2xml" whenever you want to output a new xml file. No command line parameters are required once the "mc2xml.dat" file has been created

That is why I used the full path in the -o switch on my initial run of mc2xml.

I'll try your suggestions when I can get the chance.

Thanks.
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#40
2008-08-05, 05:55 PM
Once you set it up the first time and once the dat file is created you do not need the switch.

Mine works if you execute the updateEPG file manually, but I can't get gbpvr to do it. I really have not messed with it much though.
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (13): « Previous 1 2 3 4 5 6 … 13 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode