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 … 157 158 159 160 161 … 1231 Next »
a batch script to fix some of my problems

 
  • 0 Vote(s) - 0 Average
a batch script to fix some of my problems
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#1
2009-03-12, 09:53 PM
Hey all,

I am writing a batch script to fix some of my problems (hopefully). Does anyone know how I can call GBPVR to update my EPG from a batch file?

So far this is what I have:

REM delete xml file
"del C:\Program Files\multimedia\gbpvr\listings\xmltv.xml"
REM update XML tv listings | update EPG
"C:\Program Files\multimedia\gbpvr\listings\mc2xml.exe" -c us -g 16801
REM TODO: update EPG
REM restart recording service
net stop gb-pvr recording service
net start gb-pvr recording service
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2009-03-12, 10:02 PM
Might be of use: http://gbpvr.com/pmwiki/pmwiki.php/Manua...ineOptions
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#3
2009-03-12, 10:07 PM
hmm.. so something like this?

net start gb-pvr recording service -UpdateEPGOnly


would that work?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2009-03-13, 07:18 AM
nope, that would start the recording service...
you need to run pvrx2.exe with -updateepgonly...but i digress...

are the epg updates not being started by gbpvr?

to run the whole process, [including updateepg.bat,postupdateepg.bat], run "pvrx2.exe -updateepgonly "
but your mc2xml commands should be in updateepg.bat and running pvrx2 with -updateepgonly will create a loop,running itself over and over..

so put just your xml creation cmds[mc2xml] inside updateepg.bat, then start the whole process off by just running "pvrx2.exe -updatepgonly" and it will run your updateepg.bat, then import the resultant file after batch file is done, then exit...

is that a bit clearer?Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#5
2009-03-13, 10:46 AM
very confusing lol. Can you shwo me a sample batch file to do all of this?
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#6
2009-03-13, 11:04 AM
curt1s Wrote:I am writing a batch script to fix some of my problems (hopefully). Does anyone know how I can call GBPVR to update my EPG from a batch file?

So far this is what I have:

REM delete xml file
"del C:\Program Files\multimedia\gbpvr\listings\xmltv.xml"
REM update XML tv listings | update EPG
"C:\Program Files\multimedia\gbpvr\listings\mc2xml.exe" -c us -g 16801
REM TODO: update EPG
REM restart recording service
net stop gb-pvr recording service
net start gb-pvr recording service
If all that you need is to run the mc2xml exe BEFORE GB-PVR auto updates it's EPG then just put the line " "C:\Program Files\multimedia\gbpvr\listings\mc2xml.exe" -c us -g 16801" in a file called UpdateEPG.bat in the GB-PVR directory. More info on the wiki:

http://gbpvr.com/pmwiki/pmwiki.php/Manual/BatchFiles
http://gbpvr.com/pmwiki/pmwiki.php/Manual/EPG#toc11
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  USA Cable Discovery Channel problems with Schedules Direct ram4x4nut 0 3,965 2013-02-21, 05:08 AM
Last Post: ram4x4nut
  New Machine (probably old problems), Video Render Options jvcleave 12 5,360 2011-02-01, 08:37 AM
Last Post: stustunz
  Problems after installing new capture card mikeh49 1 1,832 2010-11-02, 05:19 PM
Last Post: mikeh49
  Filter Problems imilne 2 2,319 2010-10-29, 12:48 PM
Last Post: imilne
  Weird GBPVR problems jfm 12 4,222 2010-10-01, 03:17 AM
Last Post: jfm
  MCE2XML or General EPG Problems ToughRowToHoe 8 3,355 2010-06-22, 01:16 AM
Last Post: ToughRowToHoe
  Djkxml problems? jezz2020 11 4,540 2010-06-14, 10:43 AM
Last Post: time_lord
  1.4.7 Configuration Problems - Can´t get any TV-channel immigrant 9 3,102 2010-06-08, 07:39 PM
Last Post: immigrant
  Mapping Digital cable problems jh61408 6 3,011 2010-06-07, 03:49 AM
Last Post: sub
  EPG Updating Problems Caseyjones 2 1,565 2010-05-30, 04:47 PM
Last Post: Caseyjones

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

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

Linear Mode
Threaded Mode