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 … 113 114 115 116 117 … 1231 Next »
No channel change on scheduled recording

 
  • 0 Vote(s) - 0 Average
No channel change on scheduled recording
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#21
2008-02-05, 07:50 PM
i have a similar problem, sometimes the blaster won't work on scheduled recordings...never had a problem until i changed to a user account for rec. service...
using system account, no problem...using a 'user' account it doesn't work, but only from scheduler..tv guide and live changes fine..

so i setup a 'intermediary' program to see if the cmds were actually getting to haupblast.exe....just echoed a log to a file, and then sent the cmds on to the real haupblast.exe......and the logs were correct...but it STILL didn't change channels! so apparently haupblast doesn't like something about being run from user account...

so gbpvr is doing it's job correctly....seems a user rights issue or something with Haupblast.exe when used under a non machine account...

not sure who wrote haupblast.exe so where to look for answers?
are there any special rights the rec service has that haupblast might need?
maybe needs a 'runas' when called?
will try that and see if it helps...cuz i get no ch. change every time when setup this way..otherwise worked flawlessly for years...
and just changing account back makes everything work fine again...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#22
2008-02-05, 08:16 PM
i think i may have come upon the answer..
it needs to be the same person as is Currently logged in....
so if you're logged in as Admin to play gbpvr, the service also needs to be setup for same user...not just any account that has rights...
i think it's cuz haupblast gets run in current user account[desktop] by the rec. service...so if users don't match, runas would be needed...
this seems to effect client usage also...

just tried one and it worked...will confirm by trying one under diff account..

yep, tried one under a different rec service account than i'm currently logged into and it doesn't change from schedule...service account works fine...

So basically, you must setup recording service to login with either system account and interact with desktop, or the same user you're logged in as, or channel changes on shows scheduled with Haupblast.exe won't happen...

[incidentally, i just got my win screensaver to come up over pvrx2 in FSE mode.Big Grin] looks weird to have it only blank out the parts it runs over tho..hehe
[image of pvrx2 underneath till overwritten]
turns off whenever anything on screen changes tho..eg: minute changes on clock,etc...so i think it reacts to d3d screen changes as if they were keystrokes..just fyi..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#23
2008-02-05, 08:24 PM
Quote:not sure who wrote haupblast.exe so where to look for answers?
I wrote HaupBlast.exe, but it doesnt really do anything other than call a Hauppauge API in a DLL. Any problem is most likely occurring in that Hauppauge API, but I'd have no idea what that does behind the scenes.

Quote:So basically, you must setup recording service to login with either system account and interact with desktop, or the same user you're logged in as, or channel changes on shows scheduled with Haupblast.exe won't happen...
Ok, glad you found a combination that works. Its unlikely I would have been able to affect this behaviour.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#24
2008-02-05, 08:26 PM
whoooa, win screensaver is weird [Beziers]...they should be glad it DOesn't come up, i can't get it to go away! lol i'm on main menu and going up n down it shows screensaver while i do it! one hit up and it comes on, another hit it goes off...
almost like the menu fades are letting it show thru....weird..Big Grin
it shows everytime when a fade is happening...
sometimes it stays onscreen when i stop...sometimes not...
i usually just 'poweroff' my screen so i don't have these problems...
[even made a menu item to do it]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#25
2008-02-05, 09:21 PM
yea, i think it's a windows issue...or rather the way it handles permissions...
only way to remedy is to have the haupblast.exe run from a user mode app, not the scheduler service...and we both know that's not gonna happen..

seems like this gives best of both worlds, network access *and* interact with desktop [in a way] so wondering if this could be set as default?
[not holding my breath,win security issue]
or just keeping the existing ones would be great...saves hassle at upgrade time..
[and lots of support ??'s that turn out to be upgrade service reset]

just a thought...glad to know this is the case and will see if i can add to the wiki somewhere...makes it a pain for multi-user setups tho...

maybe running it as a service would help? [haupblast.exe]
or scratch that, that's the problem...
it would have to be run as a resident user mode app, then called kinda like the tray app...
that way it wouldn't be 'run' from service, just controlled by it..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#26
2008-02-05, 10:15 PM (This post was last modified: 2008-02-05, 11:52 PM by pBS.)
i found that runas.exe works fine in alleviating the situation...Smile
and also proves my theory correct..haupblast needs to be run by same user that is logged in on service...
windows won't let users run things as another user unless told to specifically...

write this to a file and call it blast.cmd:
Code:
if "%~2"=="" (set usern=%username%) else (set usern=%2)
runas.exe  /savecred /env /noprofile /user:%usern% "C:\Program Files\devnz\gbpvr\HaupBlast.exe %1"
use this line with username of account Recording service is using...
put %comspec% as blaster executable, [it will change automatically] and as params:
Quote: /c blast.cmd {channel}"
You must run it at least once from cmd line to save password[only works on xp PRO +]
from then on it will insert pw itself...
to run from cmdline: blast 123 "user"

for multiple users run once for each user who will be logged in and use gbpvr..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#27
2008-02-05, 10:35 PM (This post was last modified: 2008-02-05, 10:51 PM by pBS.)
so while this is a windows architecture problem, the problem comes from how the programs are run...

which is why i suggested making haupblast.exe a tray app [or invisible] and have service tell it when to blast a channel...eliminates any of these problems once and for all...no need to deal with users/pwds...

and the runas makes it a tad bit slower, so while it works, it's not ideal...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
agerdin
Offline

Senior Member

Posts: 692
Threads: 96
Joined: Sep 2004
#28
2009-07-22, 12:07 PM
pBS,

I am having a similar problem as you had some time ago. However, I am not using Haupblast but HIP as channel changer so I am not really sure how to apply your suggested fix.

For access reasons in the PCH environment (http://forums.nextpvr.com/showthread.php?p=342544) I had to use another user for the recording service, so I changed it to Administrator. While doing this change the channel changer stopped working for recordings and through the PCH. However, it still works fine running GBPVR on the Computer. Martin (mvallevand) pointed me in this direction for a possible remedy.

Appreciate any help you may provide.

\\Agerdin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#29
2009-07-23, 01:27 AM
yea, this is an old thread...just use the net2hipsend i made [link in my sig] and it doesn't matter who the service is logged in as...Big Grin
plus it's faster and thus more reliable...
fairly easy to setup to, as it skips the funky steps needed for hipsend..
[with net2hipsend, just learn ir-commands and you're ready to blast, no teaching it hipsend 1 etc.etc....Smile]

it takes from 1-4 digits so no padding needed..

let me know if any problems...
i made it cuz of my mvp and pch too...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
agerdin
Offline

Senior Member

Posts: 692
Threads: 96
Joined: Sep 2004
#30
2009-07-24, 05:47 PM
pBS,

Dont know if you are scanning the net2hipsend thread (http://forums.nextpvr.com/showthread.php?t=41043&page=2) in the developers forum, but if you can I would like you to look at a problem I am having.

Thanks,

\\Agerdin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  STV HD change to S2 Pob 1 5,295 2013-06-10, 10:07 AM
Last Post: martint123
  USA Cable Discovery Channel problems with Schedules Direct ram4x4nut 0 3,951 2013-02-21, 05:08 AM
Last Post: ram4x4nut
  Audio buzzing second time recording launched. dennit 2 4,533 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 30,110 2012-04-03, 11:40 AM
Last Post: pBS
  Channel 4 HD new tuning string Pob 0 2,607 2012-03-29, 08:59 PM
Last Post: Pob
  Composite Channel not being tuned properly seymoria 14 6,836 2012-01-24, 01:56 PM
Last Post: seymoria
  Need help remapping Channel guide and actual channels divinehammer 3 3,769 2012-01-20, 10:43 AM
Last Post: kayleigh
  Composite channel configuration problem. seymoria 6 4,571 2012-01-15, 10:15 PM
Last Post: seymoria
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,949 2011-12-17, 02:52 PM
Last Post: Sykor
  Live TV Locks Onto Different Channel persim 1 2,308 2011-10-24, 06:33 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