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 … 354 355 356 357 358 … 433 Next »
PostUpdateEPG doesn't run

PostUpdateEPG doesn't run
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#1
2011-07-15, 01:51 AM
I have a comparable problem: PostUpdateEPG.bat just does not fire up. Whether on the planned UpdateEPG time ( 06 am ) nor if i initiate a manual UpdateEPG. My system is Windows 7 64-Bit. The batch file just contains a "xmltvextras.com" which lies within the scripts folder too.
If i remember right, PostUpdateEPG.bat was never started on any npvr version on my system, so that i workarounded it via the taskscheduler.

PostProcessing.bat on the other side is no problem, this one starts without any problem (as i can see in my nrecord.log).
You like nPVR? Then please help pay the bills, and keep the project alive!

My happy NextPVR family

Frei nach Dieter Nuhr: Wenn man keine Ahnung hat, einfach mal die Fresse halten.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2011-07-15, 01:55 AM
Hit the Update EPG, let it complete, then post the npvr.log and I'll take a look.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2011-07-15, 01:59 AM
SD: fixed your hijack by moving it to a new thread.
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
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#4
2011-07-15, 09:01 AM
johnsonx42 Wrote:SD: fixed your hijack by moving it to a new thread.

Mhm, i thought it were nearly the same topic/problem. But you're right: every problem should be discussed in it's own thread to avoid misunderstandings. Big Grin


sub Wrote:Hit the Update EPG, let it complete, then post the npvr.log and I'll take a look.

Ok, it's done. I just looked inside the logfile and could find, that it looks like PostUpdateEPG was called and executed. But i can confirm that it didn't ran the content itself!
Code:
2011-07-15 09:52:12.735    [DEBUG][6]    C:\Users\Public\NPVR\Scripts\PostUpdateEPG.bat has completed
My testing in this case is fairly simple: empty EPG, restart NPVR and Update EPG. If the batchfile would really be executed, that the XmltvExtras.exe would add some entries in the TV Listings database (aspect radio of recordings, screenshots etc.) but this never happens.
If i start XmltvExtras.exe separate, then it is working as it should.

Do you have any ideas on this?
You like nPVR? Then please help pay the bills, and keep the project alive!

My happy NextPVR family

Frei nach Dieter Nuhr: Wenn man keine Ahnung hat, einfach mal die Fresse halten.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#5
2011-07-15, 09:16 AM
Put something a little more obvious into the batch file to confirm it's running, like:
ipconfig > c:\ipconfig.txt

Once you know that's working, then you can start worrying about xmltvextras and paths, etc.

Iain
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#6
2011-07-15, 09:39 AM
And it is a good idea to set the path where it should execute very first in the batchfile.

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

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#7
2011-07-15, 10:08 AM
Just to expand on what imilne and Reddwarf are saying...

As far as I remember, the 'working directory' for batch files executed by NextPVR or NRecord is the actual directory where the program files are, e.g., C:\Program Files\NPVR. If the XmltvExtras.exe is located elsewhere then you need to specify a full path to it in the batch file.

Another gotcha is if a utility needs to reference it's own ini file, for example, located in it's own local folder.

Example

Code:
C:\<path to my utility folder>\myutility.exe

The above will make sure it can find the utility. If, however, it needs its own ini file you should use...

Code:
C:\<path to my utility folder>\myutility.exe -ini C:\<path to my utility folder>\myutility.ini

Alternatively change the working directory...

Code:
C:
cd <path to my utility folder>
myutility.exe

Also the above would work if the ini file is provided by a switch without a full path...

Code:
C:
cd <path to my utility folder>
myutility.exe -ini myutility.ini

In short, I ALWAYS specify full paths to everything and/or change drive/directory in any batch files I write.

Cheers,
Brian
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#8
2011-07-15, 10:37 AM
imilne Wrote:Put something a little more obvious into the batch file (...)

Yeah, that was a very good idea. I've tested as you suggested. The ipconfig.txt was created. So there is absolutely no problem with npvr here. Now i have to test around why xmltvextras don't work from this batchfile.
This topic can be closed. Thank you, imilne. Smile


Reddwarf Wrote:And it is a good idea to set the path where it should execute very first in the batchfile.

Yes, that is true. But Xmltvextras is within the same scriptsfolder as the batch files so there should be no path necessary. =)


bgowland Wrote:As far as I remember, the 'working directory' for batch files executed by NextPVR or NRecord is the actual directory where the program files are, e.g., C:\Program Files\NPVR. If the XmltvExtras.exe is located elsewhere then you need to specify a full path to it in the batch file.

Thank you, Brian. I had XmltvExtras.exe within the npvr path, in it's own path and within the scripts path. Within the batchfile i tried with absolutely pathes, without pathes and even with the set variable. I have the feeling that it could be permission associated or another "typical" x64 problem.
The workaround with the tasksheduler is not really bad at all, because i have to get the epg for my analogchannels from tvmovie transcoded to xml (i am using the same task for this). So this is at least working. I thought it could be a NPVR related problem as i have readed about similar problems with the PostProcessing.bat.

I am glad, that NPVR ist right and does it's job very well.
You like nPVR? Then please help pay the bills, and keep the project alive!

My happy NextPVR family

Frei nach Dieter Nuhr: Wenn man keine Ahnung hat, einfach mal die Fresse halten.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,670
Threads: 170
Joined: Jun 2007
#9
2011-07-15, 03:29 PM
ShiningDragon Wrote:Yes, that is true. But Xmltvextras is within the same scriptsfolder as the batch files so there should be no path necessary. =)

But, as several people have stated, when the script is run, the default directory is NOT the scripts folder. So a path IS necessary. I'm quite sure that if you just put the CD command at beginning of your script file, it will work as you expect. Why don't you give it a try?
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#10
2011-07-15, 04:43 PM
Yes, it turns out your problem is in fact partially the same as what was in the other thread: YOU NEED THE CD COMMAND! Please put it in.
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
« 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
  NextPVR Recording Service doesn't install from Services SamM 4 2,145 2020-08-02, 01:11 AM
Last Post: SamM
  2020 TV Guide Doesn't Show up rmahlberg 14 9,617 2020-01-04, 06:43 PM
Last Post: sub
  Forcing a SXXEXXX when one doesn't exist bigoldboy 13 5,765 2019-12-11, 11:40 PM
Last Post: JavaWiz
  Local News M3U8 link doesn't play audio caseguy 37 13,562 2019-11-26, 05:11 PM
Last Post: caseguy
  Issue with Beast IPTV recording - Skipping + Doesn't record full show abrupt ending russmehta01 3 3,096 2019-02-26, 09:20 PM
Last Post: sub
  NextPVR Kodi plugin doesn't remeber the group setting when it is re-run Beeman 5 1,809 2019-01-11, 11:53 PM
Last Post: Beeman
  4.2.3 install doesn't update version in config.xml sgilani 3 1,730 2018-11-12, 05:17 AM
Last Post: sub
  Mdapi stopped working, Acamd doesn't get any data Sheik Yerbouti 4 2,419 2018-09-17, 06:27 AM
Last Post: Reddwarf
  NextPVR Refuses to Record if signal doesn't lock fast enough ChaosMageX 2 1,823 2018-05-02, 08:26 PM
Last Post: ChaosMageX
  VLC Media Player doesn't play 4.1.0 BrianGGG 2 1,566 2018-03-13, 02:42 PM
Last Post: BrianGGG

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

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

Linear Mode
Threaded Mode