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 … 172 173 174 175 176 … 433 Next »
Stay on Top

Stay on Top
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#11
2011-02-09, 09:46 PM
that's good news , I wasn;t looking forward to debugging it! ( The original code is by Liteswap, I have just modified it for NPVR). If it all seems to work ok, I may have to put it up on the wiki along with the source code for those that want to tweak it.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
garymeds
Offline

Senior Member

Posts: 361
Threads: 82
Joined: Apr 2007
#12
2011-03-20, 08:24 PM
excellenbt - thanks gEd. worth putting this on the wiki? took me awhile to find if someone had updated the script and that's knowing what to look for and guessing what it would be called!
bcchgeneral
Offline

Junior Member

Posts: 13
Threads: 4
Joined: Jan 2010
#13
2013-05-08, 02:25 AM
I've tried the utility that gEd kindly put up, and it does restart NPVR for me, but the 'Stay on top' function remains unchecked (on the context menu in NPVR) and I have to recheck it again every time I launch NPVR. Does this happen to anyone else?

I tried searching config.xml for a setting, but couldn't find it.

Any thoughts?

I'm running NPVR 2.6.2 on Windows 7.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,905
Threads: 955
Joined: May 2006
#14
2013-05-08, 03:19 AM
There is a command line switch -ontop you can add to your shortcut that toggles the default to on.

Martin
bcchgeneral
Offline

Junior Member

Posts: 13
Threads: 4
Joined: Jan 2010
#15
2013-05-08, 06:00 AM
Thanks @mvallevand! That's done the trick.

My apologies gEd - after more testing, your wonderful utility does do the trick as well! Although I'm not actually wanting for it to launch NPVR after I've manually exited NPVR.

Thank you for your help!
turbofeet
Offline

Junior Member

Posts: 6
Threads: 1
Joined: Aug 2015
#16
2015-08-21, 09:01 AM (This post was last modified: 2015-08-21, 09:18 AM by turbofeet.)
I am a new user but had this same issue when Launching NextPVR from another application. In my case J-River Media Center.

It would launch fine but J-River also stays in focus so keystrokes would go to that instead of NextPVR.

J-River would normally minimize itself when launching an application but for some reason not with NextPVR.

Anyway - here is my Autohotkey (AHK) for launching NextPVR and it works pretty well. Previously I just minimized J-River however sometimes when you play a channel NextPVR tends to lose focus again. It was easier to get J-River hidden completely:

DetectHiddenWindows, On
WinWait, JRiver Media Center 21
WinMinimize, JRiver Media Center 21
WinHide, JRiver Media Center 21
Run, "C:\Program Files (x86)\NPVR\NextPVR.exe " -ontop,C:\ max
IfWinNotActive, NextPVR, , WinActivate, NextPVR,
WinWaitActive, NextPVR,
CoordMode, Mouse, Screen
MouseMove, (A_ScreenWidth // 4), (A_ScreenHeight // 4)
MouseClick, left
WinWaitNotActive, NextPVR
WinRestore, JRiver Media Center 21
WinShow, JRiver Media Center 21

You can compile the script into an EXE file using Autohotkey downloaded from here:

http://www.autohotkey.com/

Just save the above script as a <name>.ahk file.

If you are launching NextPVR from another application (other than J-River) then just change every reference to "JRiver Media Center 21" to the Window title of the application you are launching from.

Hope this helps some people.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Nextpvr to stay on top of popups Brucek2839 6 2,018 2018-10-12, 07:36 PM
Last Post: acemib
  Server doesn't stay on/wake up for recordings hansolo77 3 1,635 2016-09-04, 12:44 AM
Last Post: sub
  Stay on top jd1940 2 1,337 2015-02-14, 08:05 PM
Last Post: jd1940
  Machine does not stay awake during playback feilh 0 1,028 2012-05-02, 11:07 PM
Last Post: feilh
  Very buggy when "stay on top" enabled TV_Tiger 7 2,497 2012-03-09, 07:23 PM
Last Post: TV_Tiger
  Scheduled Recordings do not complete, and stay recording past end time. also crash.md morser 9 2,876 2011-01-12, 02:42 PM
Last Post: morser

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

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

Linear Mode
Threaded Mode