NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 15 16 17 18 19 … 93 Next »
zap2xml - a free zap2it scraper

 
  • 0 Vote(s) - 0 Average
zap2xml - a free zap2it scraper
dalokgawd
Offline

Junior Member

Posts: 18
Threads: 3
Joined: Mar 2006
#31
2007-09-16, 04:22 PM
reboot Wrote:I messed with scheduler to run a .bat file, so it deletes the cache, runs the scraper, get's the info, then updates the EPG. So far it's working as good as zap2it ever did, with no manual input from me. Another WAF success.
The info I'm getting in TV Guide is slightly less informative, but I'm going to get the plugin going later today to fix that (the one with ratings, etc.).
I don't know how to create a batch file from scratch... can you possible post what you did with yours to get it to run the scraper and update the EPG? Thanks!
bigC
Offline

Member

Posts: 63
Threads: 10
Joined: Feb 2007
#32
2007-09-16, 08:15 PM
dalokgawd Wrote:I don't know how to create a batch file from scratch... can you possible post what you did with yours to get it to run the scraper and update the EPG? Thanks!

I just got my working with this code,
Code:
"c:\Program Files\devnz\gbpvr\Third Party\zap2xml\zap2xml.exe" -u xxx@yyy.com -p password update
This works but for some reason the xml file is created in the main gbpvr folder & not the zap2xml folder I created. Anyone know how to change that?
TomH
Offline

Member

Posts: 177
Threads: 10
Joined: Aug 2006
#33
2007-09-16, 09:32 PM
bigC Wrote:...for some reason the xml file is created in the main gbpvr folder & not the zap2xml folder I created. Anyone know how to change that?

Try the -o option to specify the output file, something like

Code:
"c:\Program Files\devnz\gbpvr\Third Party\zap2xml\zap2xml.exe" -u xxx@yyy.com -p password -o "c:\Program Files\devnz\gbpvr\Third Party\zap2xml\zap2xml.xml"  update

NOT tested Wink

HTH,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]
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#34
2007-09-16, 10:08 PM
You can add this line in your batch file before the line you already have.
Code:
cd "c:\Program Files\devnz\gbpvr\Third Party\zap2xml"
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#35
2007-09-16, 11:03 PM (This post was last modified: 2007-09-16, 11:08 PM by pvruser.)
ok here are 2 versions of UpdateEPG.bat:

cd "C:\Program Files\devnz\gbpvr\"
zap2xml\zap2xml.exe -u xxx@xxx.com -p xxx -d 12 -o zap2xml\epgfile.xml -c zap2xml\cache

this assumes that you set up a directory called zap2xml inside the gbpvr directory (thats why we CD and then use relative paths).


second version of UpdateEPG.bat:

cd "C:\Program Files\devnz\gbpvr\"
zap2xml\zap2xml.exe -C zap2xml\zap2xmlrc

and then create the config file zap2xmlrc inside the directory zap2xml:

start=0
days=12
user=xxx@xxx.com
pass=xxx
cache=zap2xml\cache
icon=media\ChannelLogos
outfile=zap2xml\epgfile.xml


either way works and will pull 12 days of programming.


then of course you need to set up the XMLTV plugin to load the XML file C:\Program Files\devnz\gbpvr\zap2xml\epgfile.xml (i used the full path not the relative one)

also see my instructions on the previous page of this post http://forums.gbpvr.com/showpost.php?p=2...stcount=30
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
dalokgawd
Offline

Junior Member

Posts: 18
Threads: 3
Joined: Mar 2006
#36
2007-09-17, 12:31 AM
Cool I think I got this thing set with the updateEPG.bat file set to run every mightnight through Windows Task Scheduler and then the config set to update the EPG automatically at 1:00 AM every night.

I wish stupid Zap2it hadn't sold out and made me go through this though. :p
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#37
2007-09-17, 01:54 AM
dalokgawd Wrote:Cool I think I got this thing set with the updateEPG.bat file set to run every mightnight through Windows Task Scheduler and then the config set to update the EPG automatically at 1:00 AM every night.

I wish stupid Zap2it hadn't sold out and made me go through this though. :p

UpdateEPG.bat will be executed by GBPVR in place of the normal program guide update if it's found in the main directory. so i dont think you need to schedule any tasks...
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#38
2007-09-17, 04:08 AM
I've got the zap2xml program running thanks to all the helpful info in this thread (especially to pvruser). Unfortunately, I am unable to feed the resulting xml file into i-xmltv without getting an error 62

Code:
Enhancing EPG: TEMP-EPG.XML >> I-xmltv.XML
Error= 62  Error codes are located in ReadMe-NOW.txt

According to the documentation, "62 Input past end of file".

I suspect it must have something to do with the generated xml, but I have checked the file, it is valid.

Any ideas?
gangaskan
Offline

Member

Posts: 59
Threads: 16
Joined: Jul 2007
#39
2007-09-17, 02:32 PM
is this better than the Y! scrapper? (do i get listing information ie episode descriptions?)
TomH
Offline

Member

Posts: 177
Threads: 10
Joined: Aug 2006
#40
2007-09-17, 02:44 PM
JavaWiz Wrote:I've got the zap2xml program running thanks to all the helpful info in this thread (especially to pvruser). Unfortunately, I am unable to feed the resulting xml file into i-xmltv without getting an error 62

Code:
Enhancing EPG: TEMP-EPG.XML >> I-xmltv.XML
Error= 62  Error codes are located in ReadMe-NOW.txt

According to the documentation, "62 Input past end of file".

I suspect it must have something to do with the generated xml, but I have checked the file, it is valid.

Any ideas?

I'm also running zap2xml and pushing it through I-xmltv -- and have experienced no errors or problems.
I would try killing (or renaming) all the old .xml's then running UpdateEPG.bat directly from it's subdir -- just to insure that I-xmltv.exe is processing the file that you expect.
[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]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Free XMLTV EPG scraper dneprrider 214 101,389 2010-03-29, 04:54 AM
Last Post: dljones8053
  xmltv zap2it & msn scraper merge tvshowman 2 1,940 2007-12-12, 03:48 AM
Last Post: tvshowman
  Thanks to all the Scraper Developers obiwan 1 1,513 2007-09-18, 01:43 AM
Last Post: whurlston
  Quick plug for the FREE Gimp Digital712 2 2,184 2006-08-05, 04:49 AM
Last Post: reven
  Free code librarys? McBainUK 7 3,405 2006-05-19, 04:52 PM
Last Post: acheyne
  Free eBook on how SharpDevelop was written gruskada 0 1,251 2006-02-04, 02:07 PM
Last Post: gruskada
  Extra Zap2It Meta Data jorm 18 6,838 2005-03-15, 03:45 PM
Last Post: sub
  free icons for skins. reven 0 1,899 2004-12-31, 05:32 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode