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,953
Threads: 956
Joined: May 2006
#31
2021-01-23, 11:15 PM
Ok I hooked up an IR receiver to my PC and using the attached powershell script it does work as expected.   My last one from the autoit example was bad.  zip and upload the config file you are using and I can test it if you can't figure it out.

I am assuming when you run winlirc you can hit the "Send" button and it sends the numbers ok.

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#32
2021-01-25, 11:06 AM
Sorry, stupid question, when you say the attached powershell script, do you mean the "drake.ps1" file you kindly posted a couple of days ago?

thanks
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#33
2021-01-25, 11:20 AM
oh, and yes, in winLIRC, i can blast the numbers by selecting a digit from the dropdown and clicking the "send code" button and therefore i can  "manually" change the stb channel with the mouse.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#34
2021-01-25, 12:07 PM
No sorry I meant this one I forgot to attach.

Martin


Attached Files
.zip   Drake.zip (Size: 728 bytes / Downloads: 11)
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#35
2021-01-25, 06:10 PM
thanks,
just d/l'ed that version now. W where your drake.ps1 has a line that says says:
"SEND_ONCE mceusb_hauppauge KEY_"
i should change mine to read:
"SEND_ONCE Starsat KEY_" ? (based on my WinLIRC config file being called Starsat.cf. I'm presuming that "mceusb_hauppauge" is the name of your remote config file in WinLIRC?).
assuming that's correct, can i change that line in Notepad+ and save it without messing up the formatting of the .ps file?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#36
2021-01-25, 06:12 PM (This post was last modified: 2021-01-25, 06:13 PM by mvallevand.)
If Starsat is what you see in the one WinLIRC drop down and KEY_1 etc is what you see in the other yes.

Notepad+ or any editor should be fine.

The other optional choice is the 1000 ms wait, that may be too much or too little.

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#37
2021-01-25, 06:32 PM
Ok, so. next dumb question, back in NextPVR's channel config, i presume i should use the argument you already posted:
"powershell -File FullPath\Drake.ps1 {channel_d1} {channel_d2} {channel_d3} {channel_d4}"

(without the quotation marks, and with "FullPath" being filled in as C:\WinLIRC which is where my winLIRC and drake.ps files live),  but, ...here comes the next dumb question,  in the line above that, what should the channel changer executable be? (I dont know wether to put C:\winLIRC\winlirc.exe  OR  C:\winLIRC\transmit.exe)

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#38
2021-01-25, 06:44 PM (This post was last modified: 2021-01-25, 06:44 PM by mvallevand.)
I don't remember how v4 or v5 works but the executable

"powershell -File FullPath\Drake.ps1"

plus any option that you added to test it.

and the args are

{channel_d1} {channel_d2} {channel_d3} {channel_d4}

Before configure NextPVR make sure it runs on the comman line

Martin
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#39
2021-01-25, 06:51 PM (This post was last modified: 2021-01-25, 06:52 PM by chef Paula.)
Ahh. for the "channel changer executable" NextPVR seems to onyl allow me to select an ".exe" file (I'm using NextPVR4 tho, is ths different in v5?)
There's a second line below that for arguments, (which on my previous stb setup using IR Server Sute, was where i had put "-channel {channel} -delay 500 -host localhost" as the argument) but the initial changer executable selection doesn't allow me to select a file that isn't a .exe file.
TBH i also can't get a single blast to happen from command line, which is really frustrating considering that i can blast directly from winLIRC, and can also cause winLIRC to blast from Eventghost "send events".
I wish i hadn't bought this stb now Sad
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#40
2021-01-25, 07:00 PM
If you can't blast from the command line I asked to see post your zipped config file.

You can always use powershell.exe as the executable and move all the arguments down

-File FullPath\Drake.ps1 {channel_d1} {channel_d2} {channel_d3} {channel_d4}

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,258 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,698 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 7,831 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,719 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,750 2021-02-17, 02:59 PM
Last Post: Graham
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,939 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 8,059 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,094 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,856 2020-07-28, 06:03 PM
Last Post: NumberFive
  NextPVR hangs when tuning to offline channel madbrain 2 1,756 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