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 … 312 313 314 315 316 … 433 Next »
New user new install and a few "issues"

New user new install and a few "issues"
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#151
2011-09-01, 07:14 PM
Quote:I'm not getting a reply to my Post #149
I didnt see that post.

Quote:I start NextPVR.exe when I start the computer by using a Shortcut in the Startup directory. When I add the -UpdateEPG option to pass this argument to NextPVR.exe, Windows chokes and won't accept it. It appears to be confusing the argument I am passing with the name of the program and saying that it does not exist. I'm a Linux user and don't know that much about Windows XP. Could you tell me how to run the command "NextPVR.exe -UpdateEPG" in Windows automatically when I start the computer?
It's probably to do with how you created your shortcut. You could do something like create a startnpvr.bat, with something like the following, and put a shortcut to it in your startup folder.

Code:
c:
cd "\program files\npvr"
nextpvr.exe -UpdateEPG

Quote:BTW, is there a Linux version of NPVR in the future?
No, not an official one from me. There a linux client app that another user has posted though.
rkircher
Offline

Member

Posts: 79
Threads: 3
Joined: Nov 2010
#152
2011-09-05, 04:08 AM (This post was last modified: 2011-09-05, 04:14 AM by rkircher.)
sub Wrote:I didnt see that post.

It's probably to do with how you created your shortcut. You could do something like create a startnpvr.bat, with something like the following, and put a shortcut to it in your startup folder.

Code:
c:
cd "\program files\npvr"
nextpvr.exe -UpdateEPG
.

It does not work! Here is what I did. Everything without the "-UpdateEPG" works and shows that I have properly implemented the Windows XP Shortcuts and Batch Files.. Adding the argument "-UpdateEPG" does not work and fails in various ways as explained for each case.

WORKS: I have a Shortcut to start NPVR and it works with this Target line: "C:\Program Files\NPVR\NextPVR.exe" (it runs but does not update EPG)

DOES NOT WORK: Changing the shortcut target line to: "C:\Program Files\NPVR\NextPVR.exe -UpdateEPG" causes an error window to pop up titled "Problem with Shortcut" The error text is: "The name C:\Program Files\NPVR\NextPVR.exe -UpdateEPG specified in the target box is not valid. Make sure the path and file name are correct"

WORKS: Next I changed the Shortcut target line to run a batch file as follows: "C:\Program Files\NPVR\startnpvr.bat"
The code in startnpvr.bat is:
cd "C:\Program Files\NPVR"
NextPVR.exe
REM This works proving the shortcut and batch file are ok, but does not update EPG.

DOES NOT WORK: Changing the code as follows causes various problems:
cd "C:\Program Files\NPVR"
NextPVR.exe -UpdateEPG
REM After a 45-second delay, NPVR comes up running behind a DOS window in the foreground
REM NPVR can be clicked to the foreground, BUT the tvxml.xml file does not get updated.

I am not sure that a command line argument can be sent to a Windows XP program. The 45-sec delay is very long compared to the usual 1/2 second for NPVR to come up running and I do not see any activity to explain the delay. I also tried removing the "-" prefix so the command argument is just "UpdateEPG", but that did not work either and gave a different result. I'm out of ideas. Could you test your method and then tell me exactly what does work to have the EPG update automatically when NPVR is started?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,075
Threads: 967
Joined: May 2006
#153
2011-09-05, 04:17 AM
You don't want to use "C:\Program Files\NPVR\NextPVR.exe -UpdateEPG" you want to use
"C:\Program Files\NPVR\NextPVR.exe" -UpdateEPG

Martin
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#154
2011-09-05, 02:11 PM
I could strangle Microsoft for including a space in the default program directory name without plastering warnings everywhere about the consequences.
rkircher
Offline

Member

Posts: 79
Threads: 3
Joined: Nov 2010
#155
2011-09-06, 05:34 AM
Thank you Martin, we are getting closer but the EPG is still not updating and the date and time stamp on the tvxml.xml remain the same. Your suggestion was already incorporated in the startnpvr.bat file that I tried and provided code in my message #152. Here it is again:
DOES NOT WORK: Changing the code as follows causes various problems:
cd "C:\Program Files\NPVR"
NextPVR.exe -UpdateEPG
REM After a 45-second delay, NPVR comes up running behind a DOS window in the foreground
REM NPVR can be clicked to the foreground, BUT the tvxml.xml file does not get updated.

To be double sure and cover Microsoft's quirks, I changed the line
From: NextPVR.exe -UpdateEPG
To: "C:\Program Files\NPVR\NextPVR.exe" -UpdateEPG

I also tried starting NPVR directly from the Shortcut to skip using the batch file by changing the Shortcut Target line
From: "C:\Program Files\NPVR\NextPVR.exe -UpdateEPG"
To: "C:\Program Files\NPVR\NextPVR.exe" -UpdateEPG

This ran exactly like the batch file method with a 45-second delay before NPVR started with its blue screen and Main Menu being displayed. This method is better in the sense that I don't end up with a DOS shell window in the foreground covering up the Main Menu. Something is going on during the 45-second delay, and it is probably trying to update the EPG, but not writing a fresh tvxml.xml file. I can see NPVR running in the Windows Task Manager so I know it starts right away and is causing the delay. I did not mention that I am running version 2.1.5 of NPVR. I don't think that is the latest version. Perhaps the -UpdateEPG command argument is a new a new feature.?

As a suggestion for a future improvement to NPVR, I suggest that the NPVR software check the date/time stamp on the tvxml.xml file when it starts up. Then if the Update Hour has been missed for the current date, then that should be a trigger for it to update the EPG automatically in case the User had the computer power shut down for a few days.

This would also solve another problem that I have encountered, but not reported. This problem seems to happen when the computer is shut down for a couple of weeks (gone on vacation for example) so that all EPG data is stale, A couple of times I have found that it lost its mapping of some channels. The mapping is a blank, and it just has to be re-mapped to fix it. It's not that hard to remap, but it is very confusing when it does happen. Again, it has only happened a couple of times, so I have not reported it because I am not sure it is repeatable and want to be sure it's a real problem that I can see repeatedly. By having NPVR software check the date/time of the tvxml.xml file and update it as needed, no problems like that can occur because the program is always working with fresh EPG data.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#156
2011-09-06, 06:20 AM
rkircher Wrote:This ran exactly like the batch file method with a 45-second delay before NPVR started with its blue screen and Main Menu being displayed. This method is better in the sense that I don't end up with a DOS shell window in the foreground covering up the Main Menu. Something is going on during the 45-second delay, and it is probably trying to update the EPG, but not writing a fresh tvxml.xml file. I can see NPVR running in the Windows Task Manager so I know it starts right away and is causing the delay. I did not mention that I am running version 2.1.5 of NPVR. I don't think that is the latest version.
Given it's taking 45 seconds, then it probably is updating the EPG, or at least trying to. If you dont think it's working, post the npvr.log after these 45 seconds and I'll check for errors.

Quote:Perhaps the -UpdateEPG command argument is a new a new feature.?
No, its not a new feature. Given the delay, I'm sure it's trying to do it.

Quote:As a suggestion for a future improvement to NPVR, I suggest that the NPVR software check the date/time stamp on the tvxml.xml file when it starts up. Then if the Update Hour has been missed for the current date, then that should be a trigger for it to update the EPG automatically in case the User had the computer power shut down for a few days.
Sorry - no chance. I dont want the application automatically updating the EPG when the user starts the application. This is a lengthy operation, and can take several minutes for some EPG configurations, and the user would have to wait for this to complete before they could see and use the application. I would rather the application starts instantly.

, which is an automated over night update at a time of the users choosing, or they have the option of manually updating using the 'Update EPG' button.

I provide the "-UpdateEPG" and "-UpdateEPGOnly" for those that want to roll their own solutions, for updates at other times.
rkircher
Offline

Member

Posts: 79
Threads: 3
Joined: Nov 2010
#157
2011-10-11, 03:52 AM
The TV Guide has no entries so I went to Settings -> Channels -> clicked on Update EPG button. It seems to work but is completing more quickly than usual. I checked the xmltv.xml file and it has an old date and is not updating to the current date when I ran Update EPG. My Internet connection is good and works for other functions like IE (Internet Explorer). I have not made any changes of any kind, and NPVR just stopped updating the xmltv.xml file. Attached is the NPVR.log after I ran Update EPG. What's wrong and how can I trouble-shoot further?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,181
Threads: 773
Joined: Nov 2003
#158
2011-10-11, 05:50 AM
rkircher Wrote:The TV Guide has no entries so I went to Settings -> Channels -> clicked on Update EPG button. It seems to work but is completing more quickly than usual. I checked the xmltv.xml file and it has an old date and is not updating to the current date when I ran Update EPG. My Internet connection is good and works for other functions like IE (Internet Explorer). I have not made any changes of any kind, and NPVR just stopped updating the xmltv.xml file. Attached is the NPVR.log after I ran Update EPG. What's wrong and how can I trouble-shoot further?
NPVR doesn't update you xmltv.xml file. Your batch file does.

I can see the application is running your batch file, so it must be something going wrong in what you're trying to run from that batch file.

Quote:2011-10-10 22:29:53.421 [DEBUG][5] About to run C:\Documents and Settings\All Users\Application Data\NPVR\Scripts\UpdateEPG.bat
2011-10-10 22:29:58.421 [DEBUG][5] C:\Documents and Settings\All Users\Application Data\NPVR\Scripts\UpdateEPG.bat has completed
The usual reason for this batch file not doing it's thing is because users have assumed a certain current directory etc, and this causes commands in their batch file to fail when the executables or output directories aren't found. ie, take another closer look at your batch file.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#159
2011-10-11, 06:38 AM
if you are using mc2xml.exe to update your xmltv file, I could swear I read somewhere that the version everyone was using 'expired' somehow and that you need to download a new version.

edit: yep, the mc2xml download page says "Updated! 09/2011 updated old beta expiry date": http://mc2xml.dyndns.org/
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
rkircher
Offline

Member

Posts: 79
Threads: 3
Joined: Nov 2010
#160
2012-03-16, 02:26 PM
I installed 2.3.6 to update and it fixed problems that I had - thanks. But one remaining problem is the Main Menu. I don't have any control of its layout by editing config.xml and every change I make to the Menu Layout section makes an illogical random change that makes it worse. The attached screen shot is where I am now with the config.xml file attached. I prefer to have the default selection be TV Guide with TV Guide at the top of the Menu items list. The order of the 5 main menu items that I am trying to achieve is:
* TV Guide (on top with default selection * marker)
Recordings
SearchLite
Live TV
Exit (on the bottom)

I think the location of the pointer is randomly affecting the layout, but I can't find where to change it. Any ideas on how to achieve my desired Menu layout?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (20): « Previous 1 … 14 15 16 17 18 … 20 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  tsreader4 skipping issues dlindyds 63 17,736 2021-09-05, 03:23 AM
Last Post: rizarefaldi
  Fast-forward and comskip issues manic_biker 11 4,731 2021-07-12, 02:17 AM
Last Post: Robazz
  Issues with Signal? Tularis 6 2,865 2021-05-01, 11:09 AM
Last Post: shspvr
  set up says login required = what user name and password does it want? zorkme2@yahoo.com 7 7,164 2020-08-16, 09:17 PM
Last Post: henrynora
  NextPVR Recording Service doesn't install from Services SamM 4 2,440 2020-08-02, 01:11 AM
Last Post: SamM
  How do I run the recording service as another user scotrich99 1 1,667 2020-07-28, 06:50 PM
Last Post: scotrich99
  Recurring recording major issues djsinfl 31 8,672 2020-04-27, 02:52 AM
Last Post: djsinfl
  Schedules Direct issues artmetz 4 2,384 2020-04-22, 12:13 AM
Last Post: artmetz
  New user, settings for channel scan no Australia pshnfry 3 2,887 2020-03-09, 05:33 AM
Last Post: pshnfry
  Windows 10 Record Issues Captain Jack 11 6,462 2020-02-02, 09:11 PM
Last Post: Captain Jack

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

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

Linear Mode
Threaded Mode