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
Graham_Shepherd
Offline

Member

Posts: 63
Threads: 16
Joined: Jul 2008
#1
2013-03-06, 09:38 PM (This post was last modified: 2013-03-06, 09:39 PM by Graham_Shepherd.)
Hi

I've just recent set up a new configuration of nPVR on a Windows 7 64 bit pc.

All seems fine so far and I am using DVB-S2 tuners which I have tuned and mapped ok.

I have configured DVBGuide to produce my XMLTV file which works just fine.

I have my "UpdateEPG.bat" file in /scripts and this works when I run this manually (ie double click on the batch file) and my nPVR TV Guide is populated ok.

However, it does not run automatically from within nPVR at the time scheduled in Misc2 settings, nor does it run when I click on "Update EPG" from the "settings>channels" tab.

I do get a popup dialogue box which suggests that it is running "UpdateEPG.bat" & "checking for XMLTV listings" but nothing seems to change and the timestamp on my XMLTV output file does not update.

I guess that I've missed something obvious (I've checked spellings and path names)! Can you offer a pointer please? Is doesn't seem to be a permissions problem and I'm at a bit of a loss as to how to solve this.

Thanks


Graham
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#2
2013-03-06, 09:46 PM
I'm guessing it is actually running it, but you've got something wrong in your batch file. The usual thing people mess up is either not explicitly changing to the directory where you want to run commands from (since it starts with a different working directory when start by the system), or you've got some permissions on files or directories that stops it running correctly (remember it's run from the recording service which runs as a different user account).

If you want to post your nrecord.log, I can check that it is starting it.
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#3
2013-03-06, 09:56 PM
I thought you needed to tick the option "Allow service to interact with desktop" in the NRecord service?
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2013-03-06, 10:08 PM
I suggest you post your UpdateEPG.bat file for our review. The possibility that both NRecord and NextPVR just don't run it are pretty well zero.
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
#5
2013-03-06, 10:17 PM
I had the same problem a while ago, I solved by simply setting the recording service to run as my own 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
#6
2013-03-08, 08:21 AM
Thanks for the suggestions.

I can confirm that I have ticked the option "Allow service to interact with desktop" in the NRecord service.

Here is the content of my UpdateEPG.bat file;

@echo on
rem
rem batch file to automatically run FreesatEPG.bat before EPG update in NPVR
rem
cd c:\users\public\npvr\dvbguide\
FreesatEPG.bat
rem cmd

Attached are my nRecord logs in a zip file.

I tried setting the recording service to run as my account but then had problems starting it, for some reason it failed to logon.

Thanks for your help .
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#7
2013-03-08, 09:10 AM
Was that the same user as you use to run NextPVR? Does it have administrative privileges and did you type the correct password in Services.msc->NPVR Recording Service->Properties?

"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
#8
2013-03-08, 11:44 AM
Graham_Shepherd Wrote:Here is the content of my UpdateEPG.bat file;
What's in freesatepg.bat? (I guess that it's DVBguide) What happens if you have a single updateepg.bat containing the content of the existing updateepg and freesatepg?
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#9
2013-03-08, 12:43 PM
I have my recording service set to run in system account (and interact with desktop) and it runs fine.

I suspect windows is asking for permission to run the .exe specified in freesatepg.bat (under the system account credentials)
maybe give the .exe admin rights (in the file properties)?
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#10
2013-03-08, 12:45 PM
you could also add a line to each bat file to confirm that it is being run

echo "running bat file xxxxx" >> c:\users\public\npvr\logs\epg.log"
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 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,670 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recording service not running at recording time Ricknextpvr 18 6,417 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,932 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,963 2019-01-12, 04:44 PM
Last Post: sub
  Recording service not running at recording time johnm 7 2,791 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