NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 265 266 267 268 269 … 433 Next »
Updateepg.bat not running automatically

Updateepg.bat not running automatically
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#11
2013-03-08, 02:16 PM (This post was last modified: 2013-03-10, 06:06 AM by Lao Pan.)
First off Do Not Use DVBGuide096Beta it uses xml 1.1 which is not compatible with NPVR use 0.95 instead

Next put all the dvbguide files in C:\DVBGuide.

Your updateepg.bat should then contain:

Code:
@echo off
rem
rem     Batch file to capture the UK Freesat EPG as an XMLTV format file
rem
rem    Change to working directory
rem

C:
CD \DVBGuide
rem
rem    Get rid of old .xml files
rem
del /Q *.xml
rem
rem    Now collect all epg from Freesat EPG
rem    
DVBGuide -as -c11427830 -ph -mQPSK -s27500000 -y3002 -z3003 -t -o freesat.xml

Then point your xmltv mapping in settings to:

C:\DVBGuide/freesat.xml

and it should all work - - maybe :confused:
It's not an overly complicated system - it's more - overly simple operatives  Huh
Graham_Shepherd
Offline

Member

Posts: 63
Threads: 16
Joined: Jul 2008
#12
2013-03-08, 09:23 PM
I've tweaked the privileges and tried different accounts for running the recording service, without success.

I've also granted full permissions on all accounts for running DVBGuide.exe, and combined both updateepg.bat & freesatepg.bat.

So far no luck..

I'm fitting this in around work commitments so my efforts are a bit fragmented!

Hopefully I can find a result soon.

As always, it all works perfectly when I double click the updateepg.bat file from the scripts folder.

Will report back on attempts over the weekend.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#13
2013-03-08, 09:35 PM
I suggest you leave NRecord running as local system; other accounts can be problematic.

please post your updateepg.bat again, now that you've added in the commands from freesatepg.bat
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#14
2013-03-08, 09:55 PM
johnsonx42 Wrote:I suggest you leave NRecord running as local system; other accounts can be problematic.

please post your updateepg.bat again, now that you've added in the commands from freesatepg.bat
There is no problem running the recording service as an administrative account, it will automatically be granted the rights to run a service.

"I'd rather have a bottle in front of me than a frontal lobotomy"
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#15
2013-03-08, 10:46 PM
Graham_Shepherd Wrote:As always, it all works perfectly when I double click the updateepg.bat file from the scripts folder.
That suggests that it is likely to be a permissions thing. I would expect that it also works okay when you click Update EPG in Settings --> Channels http://www.nextpvr.com/nwiki/pmwiki.php?...n.Channels. I minimised the problems by creating a C:\EPG folder that contains all of the programs that I use during updateEPG.bat and stores all of the data files used and created during updateEPG.bat.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#16
2013-03-08, 11:29 PM
Reddwarf Wrote:There is no problem running the recording service as an administrative account, it will automatically be granted the rights to run a service.
hence why I said "CAN BE". It's been awhile since I tried it, but I found various odd behavior when running the recording service as a regular admin user, and I've seen other people report similar issues. At the same time, I know others (including you I gather) have had no problems running that way.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#17
2013-03-08, 11:34 PM
johnsonx42 Wrote:hence why I said "CAN BE". It's been awhile since I tried it, but I found various odd behavior when running the recording service as a regular admin user, and I've seen other people report similar issues. At the same time, I know others (including you I gather) have had no problems running that way.
I'm pretty sure that all who had problems had tried to run it using an account without admin. priv. A user with admin. priv. is in fact allowed to do more than the local system account.

"I'd rather have a bottle in front of me than a frontal lobotomy"
Graham_Shepherd
Offline

Member

Posts: 63
Threads: 16
Joined: Jul 2008
#18
2013-03-09, 06:11 PM
I reverted back to running the recording service as 'local system', as changing this made no difference.

In answer to Graham, no it doesn't work when I click Update EPG in Settings --> Channels http://www.gbpvr.com/nwiki/pmwiki.ph...ation.Channels!

Here is my combined batch file;

@echo on
rem
cd c:\users\public\npvr\dvbguide\
DVBGuide -as -c11427830 -ph -mQPSK -s27500000 -y3002 -z3003 -o c:\users\public\npvr\dvbguide\freesat_epg.xml
rem cmd

It does the job, but just not via nPVR either manually or automatically.

For the moment I have cheated and achieved a work around by running the batch file daily using Windows Task Scheduler just prior to nPVR running its EPG update.

Work keeps getting in the way of fiddling too much at the moment...
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#19
2013-03-09, 08:35 PM
you could try putting in some logging, like:
Code:
echo Now running UpdateEPG.bat >> c:\epg.log
I assume Windows is installed on the C: drive?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#20
2013-03-10, 06:29 AM
Is anyone running DVBGuide from the users\public\npvr folder successfully?
I have mine in C:\DVBGuide for a reason, but it is so long since I started using it that I can't remember the reason for putting it there - possibly character limit?

Also in my own batch file that has the full path to the output file there is no space between the -o and the c:

Also which version of DVBGuide are you using - the latest will not work with NPVR
It's not an overly complicated system - it's more - overly simple operatives  Huh
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto Update EPG not running as scheduled? BairStrokes 2 1,753 2021-03-26, 12:02 PM
Last Post: NumberFive
  Recording service stopped or not running at scheduled time MattInetroit 3 1,906 2021-01-08, 12:03 AM
Last Post: mvallevand
  Auto Update EPG not running as scheduled Bobbybear 10 3,672 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recording service not running at recording time Ricknextpvr 18 6,419 2020-03-26, 03:56 PM
Last Post: sub
  UpdateEPG.bat works manually but not daily automatically. (script included) acegolfer 11 4,602 2019-08-11, 02:34 PM
Last Post: mvallevand
  IR Blasting from Kodi running NextPVR addon three6zerocool 11 2,933 2019-07-31, 04:51 PM
Last Post: sub
  UpdateEPG.bat not running jrockow 1 1,014 2019-06-26, 04:08 PM
Last Post: sub
  Error "Recording service not running" -- but really no tuners available? daneo 6 2,145 2019-01-30, 02:11 PM
Last Post: daneo
  Running into issues with the EPG bdken 7 1,965 2019-01-12, 04:44 PM
Last Post: sub
  Recording service not running at recording time johnm 7 2,792 2018-11-26, 02:36 AM
Last Post: johnm

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

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

Linear Mode
Threaded Mode