NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 825 826 827 828 829 … 1231 Next »
Sceduling XML TV

 
  • 0 Vote(s) - 0 Average
Sceduling XML TV
kevin_c
Offline

Junior Member

Posts: 44
Threads: 14
Joined: Jul 2005
#1
2006-04-01, 04:35 PM
Hi all,

I have XML TV set to run on startup because I don't have my PVR on all the time. However it runs over GBPVR. Is there a way to get the batch file to run in the background, or to force GBPVR to grab the foreground.

Also, downloadin gthe datafile seems to take a long time. 15-20 minutes. Is that normal. I haven't got many channels.

thanks
ricklous
Offline

Senior Member

Posts: 412
Threads: 8
Joined: Nov 2005
#2
2006-04-01, 05:16 PM
Theres a bunch of command line options on the wiki which you can use to control gbpvrs behaviour. " -topmost" is probably the one you're looking for.
[SIZE="1"]Building PVR-Only Machine for non-tech Uncle and Aunt:

Celeron 2.4, 1gig ram. Insight P4-ITX (mini-itx) mobo, 250w Shuttle silent PSU, slmline DVD rewriter, 40gig system HDD, 150gig Media HDD, Dual Riser holding Hauppauge PVR 350 and Nova-T, along with Nova-T USB2. MCE Remote 2005. Antique Art-Deco Radio for use as case when uncle finds one...

Time for a brew first though :p[/SIZE]
kevin_c
Offline

Junior Member

Posts: 44
Threads: 14
Joined: Jul 2005
#3
2006-04-01, 05:33 PM
Ah, brilliant. Thanks a lot.

Don't know how I missed those command-line options before!
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#4
2006-04-02, 12:03 AM
kevin_c Wrote:Hi all,
Also, downloadin gthe datafile seems to take a long time. 15-20 minutes. Is that normal. I haven't got many channels.

thanks
XMLTV tends to take a long time, however you might be able to configure some settings.
I've mine setup to load 7 days (the max), once it has done that, I set it to only load the 7th day and the first (today) everyday to have the latest changes in the schedule.
Then it takes about 20 min for me to download 25 channels with info.
So your 15-20 mins don't look so bad.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
birty
Offline

Junior Member

Posts: 48
Threads: 0
Joined: Sep 2004
#5
2006-04-02, 04:34 PM
what are you using to download your listings? the radio times data should only take a few seconds per channel to download (unless on dialup but even then no more than 30 secs/channel)
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#6
2006-04-03, 06:03 AM
HtV Wrote:XMLTV tends to take a long time, however you might be able to configure some settings.
I've mine setup to load 7 days (the max), once it has done that, I set it to only load the 7th day and the first (today) everyday to have the latest changes in the schedule.
Then it takes about 20 min for me to download 25 channels with info.
So your 15-20 mins don't look so bad.

Hi HtV,
I'd very much like to setup my grabber to do this also, and I’d be very grateful for any tips or directions you could share.
I tried it with an older version but didn’t have any luck, so I ended up configuring my updateEPG.bat to grab 13-days every 4-days.
Could you share the batch file you use, or do you have a link that explains (in non-programmer terms) the steps for grabbing and joining the files? If joining of grabbed xml files is even needed?

Thanks!
Jim
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#7
2006-04-03, 11:19 AM
I re-read the post I'd found at Zap2It talking about incremental updates using xmltv, and realized it didn’t work because the author left out a very necessary command.
It seems that every thread I find on xmltv assumes that the reader already knows everything about how it works! I feel like I’m learning the Klingon language or something every time I want to do a simple task with this utility….
Anyway, it works now, & rant over. Big Grin

This is what I ended up with, and the initial tests indicate that it’s working fine!


Code:
REM UpdateEPG.bat
REM
REM First run configures the grabber with your Zap2It username & password.
REM and downloads 13 days of listings (as set by "DAYS=").
REM
REM Additional runs do incremental downloads (today & tomorrow + Days 12 & 13)
REM
REM Incremental update can be reset (a "next run" complete EPG update) by deleting "XMLTV.xml"
REM Example, if you notice a day is missing in the middle of your guide, delete "XMLTV.xml"
REM and the next automatic epg update will fix the hole.


C:
CD "C:\XMLTV\"

SET GRABBER=tv_grab_na_dd
SET NAME=North-America
SET XMLTVDIR=C:\xmltv\
SET DAYS=13
SET OFFSET=0
SET DESTINATION=.\%NAME%.xml
SET TZ=-0000

SET CMDLINE=%GRABBER% --days %DAYS% --offset %OFFSET% --output "%DESTINATION%"

REM This configures your grabber. It will ask some questions.
IF NOT %GRABBER% == "tv_grab_na" GOTO no_config:
%XMLTVDIR%\xmltv.exe %GRABBER% --configure
GOTO just_grab

:no_config
IF EXIST .\.xmltv\%GRABBER%.conf GOTO JUST_GRAB
%XMLTVDIR%\xmltv.exe %GRABBER% --configure

:just_grab
if exist %XMLTVDIR%\XMLTV.xml goto incremental
%XMLTVDIR%\xmltv.exe %CMDLINE%
CleanXMLTV North-America.xml --output XMLTV.xml
goto end

[COLOR="Red"][B]:incremental
%XMLTVDIR%\xmltv.exe tv_grab_na_dd --offset 0 --days 2 --output 0.xml
%XMLTVDIR%\xmltv.exe tv_grab_na_dd --offset 11 --days 2 --output 1.xml
%XMLTVDIR%\xmltv.exe tv_cat 0.xml 1.xml >incremental.xml [/B][/COLOR]
CleanXMLTV incremental.xml --output XMLTV.xml
goto end


:end
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#8
2006-04-03, 03:19 PM
Jim_ Wrote:Hi HtV,
Could you share the batch file you use, or do you have a link that explains (in non-programmer terms) the steps for grabbing and joining the files? If joining of grabbed xml files is even needed?

Thanks!
Jim
I don't think that would help you very much becaus I'm using a dutch grabber to grab from the dutch internet-tv-guide.

Do you have a ini-file for your grabber, where you can configure settings.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#9
2006-04-03, 04:14 PM
Hi HtV,
I've only found a conf file with the grabber I’m using.
I was just grasping at straws, hoping that they were close to the same.
Everything worked out in the end, it just took a little longer to figure out than I’d expected.

Jim
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#10
2006-04-03, 10:29 PM
Jim_ Wrote:Hi HtV,
Everything worked out in the end, it just took a little longer to figure out than I’d expected.
Jim

Good for youSmile
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode