NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 8 9 10 11 12 56 Next »
Auto restart recording service utility

 
  • 0 Vote(s) - 0 Average
Auto restart recording service utility
DanielP
Offline

Member

Posts: 173
Threads: 26
Joined: Jan 2007
#41
2008-02-06, 05:43 PM
Hi,

I have been trying to get IR.exe to work after hibernate.
If I use direct command through GBPVR, the remote is fine with hibernate, but play / pause buttons etc do not work.
If I use IR.exe, I get sweet nothing from the remote after hibernate. Unfortunately, because IR.exe was running before hibernation and when it returns from hibernation, the script does not restart it. As a result, I stay with sweet nothing!!!

As the script will start ir.exe if it finds it isn't running, I found a way of killing it before hibernation. Apols if this is common knowledge and I am just daft, but I did the following:

Installed hibernate trigger from:
http://www.rpi.edu/~desimn/suspendtrigger/index.html

Hacked a "kill process" script from an example that stops IR.exe before hibernation.

RESULT! If you kill it before hibernation, it is restarted afterwards!

I've attached the uncompiled script- it's very simple.

As hibernate trigger can also run a similar wakeup ir command after hibernate if this is the only problem you have.

Daniel
Athlon XP 2800 > Asus A7N8X > Win7/64 > NPVR > Pinnacle DVB-T PCI > NovaHD-S2 for 28.2E > NovaS+ for 13E 19.2E > HD3450AGP: EVR/SAF

Pent Dx2 2.8GHZ > Intel D945GNT > Win7/64 > NPVR > 2x Nova HD-S2+ for 28E / 13E / 19E > Nova S+ for 1W 5W > BGT3620 > HD3450 PCIe: EVR/SAF

Metronic analogue for 19.2E

Grumpy wife
Kids eating cables
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#42
2008-02-06, 08:29 PM
My script does (at least try to) kill ir.exe when it wakes from standby assuming you have
$Manage_IR_process = 1


from func standby()
If $Manage_IR_process Then
; we have to wait for tuner to wake up fully before restarting ir.exe
sleep ($Delay_b4_restartingIR)

$PID = ProcessExists("Ir.exe")
If $PID Then
ProcessClose($PID)
RunWait (@ComSpec & ' /c echo %date% %time% Ir.exe killed >> ' & $Log_file , "" , @SW_HIDE)
EndIf
Check_IR ()
Endif

this works every time for me so I'm unsure why it is not working for you. I'm glad you got worked out a solution though!
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
DanielP
Offline

Member

Posts: 173
Threads: 26
Joined: Jan 2007
#43
2008-02-06, 09:54 PM
Hi...thanks for that. I'm not really a scripting bunny, so it takes me a while to them out- sorry if I am inventing the wheel. I also needed to sort it out quickly before my better half got home and found things not working ;-).

That bit doesn't seem to be in my file- is this the file at the beginning of the thread or is there another download I missed in my haste??

Daniel
Athlon XP 2800 > Asus A7N8X > Win7/64 > NPVR > Pinnacle DVB-T PCI > NovaHD-S2 for 28.2E > NovaS+ for 13E 19.2E > HD3450AGP: EVR/SAF

Pent Dx2 2.8GHZ > Intel D945GNT > Win7/64 > NPVR > 2x Nova HD-S2+ for 28E / 13E / 19E > Nova S+ for 1W 5W > BGT3620 > HD3450 PCIe: EVR/SAF

Metronic analogue for 19.2E

Grumpy wife
Kids eating cables
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#44
2008-02-06, 10:58 PM (This post was last modified: 2008-02-06, 11:08 PM by gEd.)
sorting it out the PVR for the misses is the most important thing... you can;t keep going "oh hang on, I just need to click on this and this and this..."

perhaps you have an older version of the script. The one on thread #1 is the most recent one from which I posted the above extract.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
DanielP
Offline

Member

Posts: 173
Threads: 26
Joined: Jan 2007
#45
2008-02-07, 08:28 PM
Odd.....I will look again when I get a chance.I have a lot of work to do with the better half- she happened to be off ill recently- my downstairs PVR developed Hauppauge driver weirdness and the freeview signal went!!

:eek::eek::eek:

My ears were burning!

Daniel
Athlon XP 2800 > Asus A7N8X > Win7/64 > NPVR > Pinnacle DVB-T PCI > NovaHD-S2 for 28.2E > NovaS+ for 13E 19.2E > HD3450AGP: EVR/SAF

Pent Dx2 2.8GHZ > Intel D945GNT > Win7/64 > NPVR > 2x Nova HD-S2+ for 28E / 13E / 19E > Nova S+ for 1W 5W > BGT3620 > HD3450 PCIe: EVR/SAF

Metronic analogue for 19.2E

Grumpy wife
Kids eating cables
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#46
2008-03-12, 12:05 AM
If any of you are experiencing problems with this script not working with 1.2.9, try deleting this line from config.xml (make a backup first)

<PVRX2FriendlyName>PVRX2</PVRX2FriendlyName>


let me know your results.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#47
2008-03-28, 05:00 PM
I noticed the dreaded "renderer not supported" error reappeared last night for the time in a while. Wonder if this was related?
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#48
2008-03-28, 08:55 PM
I don't think that it will be related to PVRX2FriendlyName being defined if that is what you mean.

I have uploaded a new version that deals with VMR9 not supported problems. Feel free to give it a go and let me know how you get on (backup your old copy of the source first).

I still sometimes have problems with the script not restarting ir.exe correctly, I think it's just a timing issue. I would be interested in how it works for you.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#49
2008-04-08, 08:15 AM
Finally got round to going through my script last night. Had an error on the VMR9 line of code from previously (the 0x000002 instead of 0x000007 line) so made that change and all working so far, although only tested for one night.

On your ir.exe problems, I'm not experiencing these to nearly the same degree you are. In fact my ir.exe very rarely doesn't restart properly now, using an earlier version of your code. I see you've built a lot more checks in than I have so strange you're still having problems.

Only thing I can think of is whether you've updated your ir.exe app recently from the latest hauppauge drivers? Think my version is from around 6 months ago but noticed they released a new v4.2 last month and despite the absence of a change log (!) somewhere on their forums it mentioned that the latest version works better out of standby now. Worth a shot!
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#50
2008-04-08, 09:20 AM
cheers for the feedback.

I have played around with the ir restart timing values in my script and it appears to be working ok atm. I think the last time I tried the latest version of the ir.exe, it didn't work at all so I reverted back. I may check it out again at some point.
“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 (8): « Previous 1 … 3 4 5 6 7 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto loader for DirectVobSub (Blu-ray Forced subtitles) whurlston 63 29,616 2015-05-14, 08:41 AM
Last Post: Lao Pan
  NextPVR UI Web Service bgowland 2 2,842 2012-02-01, 07:12 PM
Last Post: pBS
  Windows Desktop/Sidebar Gadget with Recording Schedule cncb 0 1,837 2011-09-29, 12:49 PM
Last Post: cncb
  MpegImport utility added to wiki sixgun 66 23,195 2010-05-25, 01:48 PM
Last Post: carpeVideo
  Enhanced Web Admin (EWA) Build 81 BETA Web Service Release UncleJohnsBand 0 1,381 2009-05-22, 09:05 PM
Last Post: UncleJohnsBand
  Showname - Rename utility for GBPVR recordings Anthony 0 1,471 2009-03-05, 05:40 PM
Last Post: Anthony
  Utility to help with Channel Scanning timh 8 3,927 2009-02-09, 12:49 PM
Last Post: timh
  HVR 1300 Recording Quality Improvement garymeds 4 2,249 2008-07-02, 11:24 PM
Last Post: bunegg
  I-xmltv: TV Guide customization & Zap2It EPG utility. Jim_ 304 97,403 2007-09-18, 02:20 PM
Last Post: lrf2005
  File Renaming Utility: AddEpisode turkey 11 3,937 2007-04-30, 10:48 PM
Last Post: David

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

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

Linear Mode
Threaded Mode