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??
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#11
2021-01-16, 05:49 PM (This post was last modified: 2021-01-16, 05:50 PM by Graham.)
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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#12
2021-01-16, 06:16 PM
Sorry I forgot telnet isn't installed by default anymore. It seems look just a typical tcp connection, I don't know why autoit is needed I wonder why there are no powershell script for this?

Martin
pkscout
Online

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#13
2021-01-16, 06:51 PM
Just FYI, many years ago I tried to write a blaster program using WinLIRC as the conduit. It was a bust. WinLIRC seems to use the clipboard to pass commands around, and that didn't work with NextPVR running as the SYSTEM user. I didn't see anyone mention in the thread, but you might try having NextPVR run as the logged in user (I think it has to be an admin user for WinLIRC to work).
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#14
2021-01-16, 09:29 PM
OK..........so, I eventually found that i wasnt going crazy, there just is no telnet. (aparently it's not windows since win7). However i managed to get it installed, and am able to put the IP address (in this case 127.00.1 as its on the lcal machine) and the port 8675 but get no onscreen feedback in the command prompt window, so i dont honestly know if i've successfully "telneted" into winLIRC.
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#15
2021-01-16, 09:31 PM
(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)
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#16
2021-01-16, 09:33 PM
(2021-01-16, 06:51 PM)pkscout Wrote: Just FYI, many years ago I tried to write a blaster program using WinLIRC as the conduit. It was a bust. WinLIRC seems to use the clipboard to pass commands around, and that didn't work with NextPVR running as the SYSTEM user.  I didn't see anyone mention in the thread, but you might try having NextPVR run as the logged in user (I think it has to be an admin user for WinLIRC to work).

Tried to change NextPVR so that service is run as my account (which is an admin account).  this still doesnt cause WinLIRC,exe nor transit .exe to blast anything when either of them is configured as the blaster executable.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#17
2021-01-16, 09:41 PM
(2021-01-16, 09:33 PM)chef Paula Wrote: Tried to change NextPVR so that service is run as my account (which is an admin account).  this still doesnt cause WinLIRC,exe nor transit .exe to blast anything when either of them is configured as the blaster executable.
Have you got these working outside of NextPVR? It sounds like you might need to use the is DrakeBlast, so that it doesn't rely on the clipboard.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#18
2021-01-16, 10:24 PM
Based on what I saw on in autoit I rewrote that script in PowerShell (which may be the worst program language ever)

Note you will need to change zte2 to whatever profile you created.

To test it run  

powershell -File Drake.ps1 1 2 3

and see if changes your channels.

After you get that working try this as the command line for NextPVR.

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

If you want any additional support use v5 and I will look at the logs.

Martin


Attached Files
.zip   Drake.zip (Size: 656 bytes / Downloads: 9)
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#19
2021-01-17, 11:33 AM (This post was last modified: 2021-01-17, 11:34 AM by Graham.)
(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" ...
chef Paula
Offline

Junior Member

uk
Posts: 35
Threads: 1
Joined: Jan 2021
#20
2021-01-18, 06:43 PM
(2021-01-16, 10:24 PM)Hi, where do i run "powershell -File Drake.ps1 1 2 3"  to test?  (In command prompt or in a powershell window? thanks mvallevand Wrote: Based on what I saw on in autoit I rewrote that script in PowerShell (which may be the worst program language ever)

Note you will need to change zte2 to whatever profile you created.

To test it run  

powershell -File Drake.ps1 1 2 3

and see if changes your channels.

After you get that working try this as the command line for NextPVR.

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

If you want any additional support use v5 and I will look at the logs.

Martin
« 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,151 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,669 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 7,760 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,706 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,738 2021-02-17, 02:59 PM
Last Post: Graham
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,924 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,998 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,062 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,848 2020-07-28, 06:03 PM
Last Post: NumberFive
  NextPVR hangs when tuning to offline channel madbrain 2 1,744 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