NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 4 5 6 7 8 … 1231 Next »
custom task overlay issue

 
  • 0 Vote(s) - 0 Average
custom task overlay issue
robert2011
Offline

Junior Member

Posts: 9
Threads: 4
Joined: Mar 2011
#1
2011-04-11, 12:42 AM
I am using a custom task to launch VLC to watch a HD (720p) DVB channel. When I am done, I quit VLC and return to GB-PVR, but I can no longer watch (SD) TV in GB-PVR via the "TV guide" plugin, I just get a purple-ish screen. TV works by using the "Live TV" plugin though. Closing and re-opening GBPVR fixes the problem completely. Running GBPVR in VMR9 mode (instead of overlay) also fixes the problem, but then (strangely) ffdshow doesn't de-interlace properly and I have to switch to Elecard. Unfortunately, Elecard doesn't do subtitles like ffdshow. For some reason EVR mode doesn't work any more.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#2
2011-04-11, 03:30 AM (This post was last modified: 2011-04-11, 03:42 AM by stustunz.)
run batch files to close gbpvr and open vlc
Code:
taskill /F /IM "pvrx2.exe"
cd"\program files\cyberlink\powerdvd8"
start/max powerdvd8.exe

copy to notepad then save as startvlc.bat(or what ever you want to call it)

place in pvrx2 folder then select as your external task
to get back to pvrx2 make another batch file with the opposite
the example is to kill pvrx2(gbpvr) and start power dvd8 full screen
substitute in vlc where powerdvd8 is

Has to be run from the folder where the program.exe is
this kills pverx2 and opens powerdvd8 full screen
change them to whatever you want to run/close

taskkill probably isnt the best way to close a program but it quick and nasty
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#3
2011-04-11, 09:43 AM
Better yet, do it all from a single batch file. Don't use the "start" command in the example above and the script will wait until PDVD is finished. You can then end the batch file with another call to reopen GBPVR that won't happen until PDVD (or VLC in your case) is closed.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#4
2011-04-11, 09:55 AM
yeah but then it hangs around till the end doesnt it (black box)
im extremely limited at using batch files
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#5
2011-04-11, 12:39 PM
You mean while PDVD was running? There are programs (and vbscripts) you can get that will run a batch file without showing the dos window. You'd just call one of them from GBPVR with its argument being the path to the batch file itself.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#6
2011-04-11, 05:25 PM
Ok it's cool thought I may have been missing something
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
Sykor
Offline

Member

Posts: 182
Threads: 3
Joined: Mar 2009
#7
2011-04-11, 10:03 PM
IIRC, creating the custom task like this: start /min startvlc.bat (or whatever name you want to give) will solve that.

That was my solution to the wake.cmd windows being visible during wake up. All that wake.cmd had was a start minimized call to a another batch that restart the IR software, and recalled pvrx2 to give it focus.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2011-04-13, 12:31 AM
also, take out the '/f' in taskkill line to make it close the program 'nicely', exactly same as if you pressed alt-f4...Big Grin
and here's a trick to make it SELF-minimizing Big Grin
http://forums.nextpvr.com/showthread.php...post406972

Code:
@if not "%~1" == "$" start "%~nx0" /min cmd /c "%~f0" $ %* && exit
@shift /1
taskkill  /IM "pvrx2.exe"
start /wait /max "c:\yourpathto\Videolan\vlc.exe"
start "c:\yourpathto\npvr\npvr.exe"

and the thing about making it all in one batch file is correct, makes everything wait and process in order..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#9
2011-04-13, 01:24 AM
Have you tried this batch file
seems to close nexpvr fine but then goes full screen and doesnt continue
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#10
2011-04-13, 02:14 AM
Code:
@if not "%~1" == "$" start "%~nx0" /min cmd /c "%~f0" $ %* && exit
@shift /1
taskkill  /IM "NextPVR.exe"

cd "c:\Program Files\VideoLAN\VLC"
start /wait /max vlc.exe

cd "c:\Program Files\NPVR"
start NextPVR.exe

ok fiddled with it now it works for me thanks PBS
Place in Program Files\NPVR
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
« 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
  VMR9 issue Croftie 27 9,239 2011-02-21, 10:17 PM
Last Post: Croftie
  Update EPG Issue dean70 1 1,938 2010-11-13, 05:31 PM
Last Post: sub
  HVR1600 recording issue David B 8 3,087 2010-11-05, 01:36 AM
Last Post: pBS
  Minor skip issue liteswap 22 7,134 2010-07-19, 04:21 PM
Last Post: ga_mueller
  EPG and Tuner issue jackyl 6 2,563 2010-07-11, 04:58 PM
Last Post: sub
  Standby pvrx2 issue Squid 0 1,316 2010-06-02, 05:08 PM
Last Post: Squid
  EPG issue Fredo 11 4,484 2010-05-17, 08:05 PM
Last Post: mattyb
  VMR9 issue Fokke Nauta 14 4,452 2010-05-05, 02:23 PM
Last Post: Fokke Nauta
  HVR-2250 setup issue collin 3 2,262 2010-04-23, 11:51 PM
Last Post: colinnwn
  analog recordings issue (gets very, very dark) Spark 1 1,215 2010-03-28, 07:06 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode