NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 … 93 Next »
Command Line Arguments for Executable

 
  • 0 Vote(s) - 0 Average
Command Line Arguments for Executable
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#21
2018-07-16, 11:47 AM
Hey, Graham. Eventually using '{channel_d2} {channel_d3} {channel_d4}' as arguments was what did the trick. TV channels are mapped to three digits and using the arguments channel 1,2,3 would attempt to input channel 401 as 040, which does not exist. My STB uses four digit codes for radio stations though, so I can add the fourth digit in for those and now know how to assign different arguments to different channels, so thank you for the support both. Is there a list of valid arguments somewhere I can have a look at? I also, have an issue with crashing and buggy running when I use the NPVR client directly, but not when it is used as a Kodi back end. I will start another thread for that though in the correct area. Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#22
2018-07-16, 04:23 PM
gdogg371 Wrote:Is there a list of valid arguments somewhere I can have a look at?
For the blaster? You can use whatever arguments your blaster needs. As mentioned though, NextPVR will replace {channel} with the channel number, or {channel_d1}, {channel_d2}, {channel_d3}, {channel_d4} with the individual digits. Any other arguments are passed through unaltered.
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#23
2018-07-17, 09:41 AM
sub Wrote:For the blaster? You can use whatever arguments your blaster needs. As mentioned though, NextPVR will replace {channel} with the channel number, or {channel_d1}, {channel_d2}, {channel_d3}, {channel_d4} with the individual digits. Any other arguments are passed through unaltered.

im a bit confused by what you mean here im afraid. my blaster can operate pretty much all the commands the STB remote command can, such as on, off, play, pause, box office etc etc...these are mapped to numeric inputs though. so for example 1 is 'play' i think. my understanding with NPVR is that it would accept a 4 digit channel command and that was is it. is this incorrect? if it is incorrect and i wanted to press 'pause' for example, how would NPVR know that the number 2 (let's say that is mapped to 'pause') means pause and not the first digit of a channel input or something?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#24
2018-07-17, 05:03 PM
gdogg371 Wrote:im a bit confused by what you mean here im afraid. my blaster can operate pretty much all the commands the STB remote command can, such as on, off, play, pause, box office etc etc...these are mapped to numeric inputs though. so for example 1 is 'play' i think. my understanding with NPVR is that it would accept a 4 digit channel command and that was is it. is this incorrect? if it is incorrect and i wanted to press 'pause' for example, how would NPVR know that the number 2 (let's say that is mapped to 'pause') means pause and not the first digit of a channel input or something?
Ah right - I see what you're asking. No, NextPVR doesn't attempt to use any of these other feature of your set top box. That's not how any of these PVR apps work.

NextPVR only ever sends the channel number, to make sure the set top box is on the right channel. If you're watching live tv and (for example) press pause, this pausing happens with NextPVR. (even though playback paused in NextPVR, your set top box has continued playing live tv, and the recording service has continued to record the live tv, ready for you to watch when you hit the play button)
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#25
2018-07-18, 12:03 AM
Ok, thanks. for the purposes of what I want in Kodi I can write Python scripts that will handle the rest of the STB functions.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#26
2018-07-18, 07:16 PM
You could run into conflicts if you have a DVR STB if you do pause live tv directly. The STB will delay the start of shows that follow on the same channe and if you try and record these with NextPVR you could miss recording the end. It would be better just use the client controls to pause.

I'm not sure how you could integrate python scripts in Kodi with the PVR functions anyway. If you just want to access VOD, using the STB remote would seem to be a lot less headache. For recording VOD with the HDPVR sub has written better software https://www.capture4me.com/ although I stilll use the software that came with my old HDPVR since it doesn't have the same lag.

Martin
DParsons
Offline

Member

Posts: 85
Threads: 5
Joined: Jan 2016
#27
2018-08-09, 12:02 PM (This post was last modified: 2018-08-09, 01:15 PM by DParsons.)
Hello Sub I'm having a related problem. After using the executable for several years my cable company has upgraded to a fiber cable and has about a dozen new channels and I've just changed the, STB number for similar channels, and they all have the executable setup the same as it has for years with no issues. However any new channels will not 'update to current' settings, even if I manually put in the executable line and the argument it will not save making adding new channels impossible for me at the moment. Any suggestions on why it will not save or update to the current settings?

https://drive.google.com/open?id=1pj68hT...bN2f8I-tHn

https://drive.google.com/open?id=1iGxf5O...SKZXuFMf_Y

NPVR V4.2.2
jcole998
Offline

Posting Freak

New York, USA
Posts: 856
Threads: 186
Joined: Jun 2015
#28
2018-08-09, 01:11 PM
Sounds like you may not be using the update correctly. I just went through this myself.

What I do is 1) left-click the channel whose info is to be changed, 2) change the executable info to what you want, 3) RIGHT-click the channel and select "Update to current settings. That seems to work every time for me.
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
DParsons
Offline

Member

Posts: 85
Threads: 5
Joined: Jan 2016
#29
2018-08-09, 01:28 PM
@JCOLE988 Thanks looks like it just kept switching the argument back to the default channel repeatedly! After doing the steps in a different order following your steps it's all good now.
jcole998
Offline

Posting Freak

New York, USA
Posts: 856
Threads: 186
Joined: Jun 2015
#30
2018-08-09, 01:35 PM
Good to hear!
« 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
  Web command to create recurring any channel mvallevand 2 2,546 2019-02-04, 03:09 PM
Last Post: mvallevand
  Scan for channels programmatically or via command prompt? reven 12 5,163 2013-03-08, 05:01 AM
Last Post: reven
  Plugin problems with started from the command line mvallevand 11 4,930 2012-08-12, 07:56 PM
Last Post: sub
  Skin Help with Line Drawing Northpole 2 1,880 2011-07-19, 05:14 PM
Last Post: Northpole
  command line argument to set video renderer? reven 2 1,598 2008-12-07, 06:22 PM
Last Post: reven

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

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

Linear Mode
Threaded Mode