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 2 3 4 5 6 … 433 Next »
send channel chanes via winLIRC??

send channel chanes via winLIRC??
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#21
2021-01-18, 06:44 PM
For testing, you should be able to run that at a command or powershell prompt.

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#22
2021-01-18, 07:45 PM
Hi,

not sure what im doing wrong.  Firstly, my WinLIRC files, and the drakeblast.exe and this drake.ps powershell script are all in the folder C:\WinLIRC

So,
I open a command prompt, and proceed to cd.. out of the user folders back to the root of c:\ and then i cd/ into the WinLIRC folder (which is C:\WinLIRC), so command prompt shows:

C:\WinLIRC> 

at this i type
"powershell -File Drake.ps1 1 2 3" (without the quotations tho)

and in reply i get the following error text (although in red, which i've never seen red text in a windows command prompt before!).  Also, i get this same error text,  iregardless of wether i opened the command prompt as an administrator, or not.).  The error text reads:

File C:\WinLIRC\Drake.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about signing" for more details.




Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#23
2021-01-18, 08:11 PM
Did I say PowerShell sucks. If you add this parameter -ep Bypass does it help?

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#24
2021-01-21, 10:41 PM
Ok, so, I can't get past the error when attempting to run this sript at command prompt. when i run it in a powershell window i dont get the error, but i get no apparent reply so im thinking nothing's happening.

thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#25
2021-01-21, 10:49 PM
You wouldn't get a reply if it works, just lots of errors if it fails to connect, so that to me would seem that WinLIRC is receiving commands. Does WinLIRC log anything?

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#26
2021-01-22, 04:08 AM
as far as i can tell, no. no log files getting generated anywhere
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#27
2021-01-22, 07:22 AM
OK so, after a lot of coffee and a very late night, i've stumbled across EventGhost, and after installing a WinLIRC plugin for it, and creating 10 "LIRC SendEvents" (one for each digit - My WinLIRC config only requires the 0 thru 9 keys) I am sucesfully able to trigger winLIRC to blast individual digits. This is the only way i've been able to trigger WinLIRC, but at least i can now trigger WinLIRC to blast from outside of it's own config gui.

So now i have to jump down a new rabbit hole (maybe) Big Grin

......So, Can EventGhost's "send events" be used by NextPVR instead of a channel changer executable? IS that even do-able?
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#28
2021-01-22, 12:33 PM
(2021-01-17, 11:33 AM)Graham Wrote:
(2021-01-16, 09:31 PM)chef Paul Wrote:
(2021-01-16, 05:49 PM)Graham Wrote: There should be a program called ... haupblast.exe ... in ... c:\Program Files\NextPVR ... try this at the Command Prompt ... "c:\Program Files\NextPVR\haupblast.exe" 47 ... (or whatever channel number) including the quote marks
copying that and pasting into command prompt just gvies me an "system cannot find teh path specified" (normal command prompt, and same result when CMD ran as administrator)

Apologies ... I got my V5 mixed up with my V4 ... Should be ... "C:\Program Files (x86)\NPVR\haupblast.exe" ...

Did you get a chance to try ... haupblast.exe ... after I corrected my error with the folder name?
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#29
2021-01-22, 04:01 PM
Hi Graham, sorry, i didn't mean to ignore your post about this, unfortunately, i cannot use Haupblasst (i think), due to not having any Hauppague blasting hardware. (i have a "gaming Edition" model of the HDPVR2 that has no built in IR blaster, and i have no other hauppague hardware in the machine to blast from. I'm currently using a "Ehome transceiver" (the microsoft USB reiever/blaster combo that came with OEM Media Center PCs) as my IR blasting hardware. I suppose i could throw an old analogue haupague card in the rig to blast from (i may still have a PVR150 gathering dust somewhere), but is this gonna improve my likelihood of succesfully learning the IR codes for a "diffcult" remote? (the reason i'm stuck with winlIRC is it seems to be the only IR blasting software that was capable of recognising/learning my new sat box's remote control)

Thanks
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#30
2021-01-22, 04:42 PM
(2021-01-22, 07:22 AM)chef Paula Wrote: OK so, after a lot of coffee and a very late night, i've stumbled across EventGhost, and after installing a WinLIRC plugin for it, and creating 10 "LIRC SendEvents" (one for each digit - My WinLIRC config only requires the 0 thru 9 keys) I am sucesfully able to trigger winLIRC to blast individual digits. This is the only way i've been able to trigger WinLIRC, but at least i can now trigger WinLIRC to blast from outside of it's own config gui.

So now i have to jump down a new rabbit hole (maybe)    Big Grin 

......So,  Can EventGhost's "send events" be used by NextPVR instead of a channel changer executable?  IS that even do-able?

Here's a page I found with all the command line options for EventGhost.

http://www.eventghost.net/docs/commandline.html

If you can't send all the digits at once to EventGhost that way, you'd have to write a shell script that takes the digits and then passes them to EventGhost. I have no idea if it'll work though.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,147 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,666 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 7,745 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,702 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,736 2021-02-17, 02:59 PM
Last Post: Graham
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,922 2021-02-03, 01:29 PM
Last Post: Graham
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 7,982 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,059 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,843 2020-07-28, 06:03 PM
Last Post: NumberFive
  NextPVR hangs when tuning to offline channel madbrain 2 1,740 2020-07-06, 09:09 PM
Last Post: madbrain

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

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

Linear Mode
Threaded Mode