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 … 529 530 531 532 533 … 1231 Next »
How to make a batch file to update XMLTV

 
  • 0 Vote(s) - 0 Average
How to make a batch file to update XMLTV
petewxm
Offline

Member

Posts: 247
Threads: 47
Joined: Jan 2007
#1
2007-06-08, 09:57 AM
Hi, I know I`ve got to make a batch file to run and update XMLTV, so my listings update automaticly, but I dont know how to create batch files.

Can someone please explain how to do this

Thanks for any advice

PeteBig Grin
Pentium 4 3000, XP, 1.5gig of memory, 460gig harddrive, Nova T Dual, Big Grin, PVRX2Big Grin 3 MVP`s
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#2
2007-06-08, 10:05 AM
Check if you have a file in c:\program files\devnz\gbpvr called "updateEPG.bat". This file, if present, is run by gbpvr before gbpvr updates the program guide. If you don't have it already, then you can create it with notepad. Make sure you save it with the extension .bat, not .txt! By default, windows hides "known" extensions from filenames (among those are .txt), so double check Smile

After that you need to find out the proper command line syntax for your xmltv program. I'm making something up here, but essentially you "just" enter that line into your updateEPG.bat file, like so:
Code:
c:\path\to\xmltv\xmltv.exe -doDownloadData -configFile=c:\path\to\xmltv\config\file\config.file
Hope I make sense Smile

NoteThe line above is *not* what you should use. You need to find out the proper syntax for your program.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
cosmocat
Offline

Member

Posts: 155
Threads: 20
Joined: Feb 2006
#3
2007-06-08, 06:50 PM
I have just posted an XMLTV batch file as part of another thread ...
http://forums.nextpvr.com/showthread.php?t=23130&page=8
This one is quite complicated for reasons noted in the post but you can see what its about. The batch file is just text file containing a list of dos commands that get done in sequence.

Instead of using updateEPG.bat , I use a scheduled task to run the batch file as my GBPVR machine is a server running 24x7. Both methods give the same result
[SIZE="2"]2.5Ghz P4 celeron, 1GB RAM, 80GB system disk, 2x 200GB + 250GB recordings disks, 3x Nova-t 90002 DVB(T) tuners, Nvidia 5200 Graphics + BlueTak and a bent paperclip! . . . . .2 x MVP , 1 x PC Client. . . 1 x Netgear MP101[/SIZE]
[SIZE="2"]98.13b + XDVD, Weather, Checkemail, Solitaire, Sudoku, System Status, Community Skin.[/SIZE]
petewxm
Offline

Member

Posts: 247
Threads: 47
Joined: Jan 2007
#4
2007-06-14, 08:37 AM
Hi Thanks for the replys,

I have managed to make a batch file using updateEPG, but with the recent problems with the RadioTimes website, I would like to use cosmocats batch file.
But now I have come across another problem, When I try to make a scheduled task, It will ask me to enter a user name and password, So I just enter a user name because I haven`t got a password set, This brings up a warning message, saying it might not run, because I haven`t entered a password. When I try to run it, it doesn`t run.

Do I need to set up a password to run scheduled tasks?

Thanks

Pete
Pentium 4 3000, XP, 1.5gig of memory, 460gig harddrive, Nova T Dual, Big Grin, PVRX2Big Grin 3 MVP`s
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#5
2007-06-14, 08:45 AM
yeah i had that problem aswell
i think from memory sign in as admin you may have to add a password then change the way you sign in pain in the ass
another way around it is to download the program " hip" free download great program if you ask me
and use the schedule in there
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#6
2007-06-14, 09:30 AM
Yeah, I think you need a password. You can however setup a password and have Windows do automatic login even with a password for you. I don't remember from the top of my head, but if you google a bit you should find how to do that.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#7
2007-06-14, 09:46 AM
yeah its one of those things you set up then dont do again till you reload windows
Clanky
Offline

Senior Member

Posts: 276
Threads: 57
Joined: Dec 2004
#8
2007-06-14, 11:31 AM
TweakUI will setup automatic login for you (for XP)
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#9
2007-06-14, 11:38 AM
oh yeah doh now i remember hate getting old
cosmocat
Offline

Member

Posts: 155
Threads: 20
Joined: Feb 2006
#10
2007-06-14, 04:56 PM
There is a check box you can tick in the Scheduled Task Properties that says " Run when Logged On" or something. Tick that and you don't need a password.

You don't NEED to run my batch file from a scheduled task, thats just the way I did it ( can't remember why now). If you put all the files into the GBPVR folder and rename the batch file to updateEPG.bat that should work also.
[SIZE="2"]2.5Ghz P4 celeron, 1GB RAM, 80GB system disk, 2x 200GB + 250GB recordings disks, 3x Nova-t 90002 DVB(T) tuners, Nvidia 5200 Graphics + BlueTak and a bent paperclip! . . . . .2 x MVP , 1 x PC Client. . . 1 x Netgear MP101[/SIZE]
[SIZE="2"]98.13b + XDVD, Weather, Checkemail, Solitaire, Sudoku, System Status, Community Skin.[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  file types of recorded TV paul1 3 3,687 2012-09-30, 05:20 PM
Last Post: sub
  XMLTV Updates? phillyjim 1 2,692 2011-12-21, 04:46 PM
Last Post: pcostanza
  XMLTV import with UTF encoding fails (also valid for NPVR) miniGranis 4 2,294 2011-01-29, 08:16 PM
Last Post: miniGranis
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,365 2011-01-23, 06:35 PM
Last Post: DaveA
  EPG won't update nate 3 2,611 2011-01-04, 03:55 PM
Last Post: sub
  Update EPG Issue dean70 1 1,904 2010-11-13, 05:31 PM
Last Post: sub
  Edit channel name when using xmltv as epg source Haggis 10 5,285 2010-10-18, 01:31 PM
Last Post: Haggis
  EPG update problem NZ Fredo 5 2,843 2010-10-13, 10:42 PM
Last Post: Jaggy
  xmltv update timing problem aneez 3 2,134 2010-09-29, 06:34 AM
Last Post: aneez
  EPG update problem Aelanna 5 2,900 2010-09-26, 03:01 PM
Last Post: Aelanna

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

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

Linear Mode
Threaded Mode