NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 91 92 93 94 95 … 102 Next »
Using executable blaster with extras channels

 
  • 0 Vote(s) - 0 Average
Using executable blaster with extras channels
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#11
2020-02-14, 05:33 PM (This post was last modified: 2020-02-14, 05:34 PM by gdogg371.)
(2020-02-14, 05:09 PM)mvallevand Wrote: If you  notice my last example  the parameter to the batch file is %1 for the xml file I gave you.  I may have confused you when I posted in linux format ($1) in a few posts.

Martin

I have to be honest, I really don't follow what you are saying here:


Code:
[color=#d6d3cd][size=small][font=Roboto]Yes you could pass %1 to another app but that is not you asked. If you followed that links you would see several solution but I suggest this if your STB is faster with zero padding (add the padding number of zeroes you need[/font][/size][/color]

[color=#d6d3cd][size=small][font=Roboto]SET CHANNEL=00%1[/font][/size][/color]
[color=#d6d3cd][size=small][font=Roboto]SET CHANNEL=%CHANNEL:~-3%[/font][/size][/color]
[color=#d6d3cd][size=small][font=Roboto]SET D1=%CHANNEL:~0,1%[/font][/size][/color]
[color=#d6d3cd][size=small][font=Roboto]SET D2=%CHANNEL:~1,1%[/font][/size][/color]
[color=#d6d3cd][size=small][font=Roboto]SET D3=%CHANNEL:~2,1%[/font][/size][/color]

[color=#d6d3cd][size=small][font=Roboto]Martin[/font][/size][/color]


I now have a script accepting '401' for example as an input argument. How do I map what you are saying above to '401'?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
Joined: May 2006
#12
2020-02-14, 05:39 PM
You are running a batch file correct? Parameters come to the batch file as %1 %2.... the {channel} substitutation is down by NextPVR.

Best way to debug your batch file is

filename.bat 401 | ffplay -i pipe:

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#13
2020-02-14, 06:58 PM
(2020-02-14, 05:39 PM)mvallevand Wrote: You are running a batch file correct?  Parameters come to the batch file as %1 %2....  the {channel} substitutation is down by NextPVR.

Best way to debug your batch file is

filename.bat  401 | ffplay -i pipe:

Martin


Same result as when running via NPVR - VLC session opens a stream, but the blaster bit doesnt work. Are you saying I need to change my .bat script as so:


'G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release>SkyQChannelChanger.exe %1 %2 %3'
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
Joined: May 2006
#14
2020-02-14, 07:01 PM
No I am not %1 should contain 401

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#15
2020-02-14, 07:13 PM
(2020-02-14, 07:01 PM)mvallevand Wrote: No I am not %1 should contain 401

Martin

Ok, so to be clear I am following this correctly then:

1) The batch file invocation as '/c C:\Users\Public\NPVR-data\scripts\ProCapture.bat {channel}' remains unchanged.
2) Inside my batch file, my blaster command should now be ''G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release>SkyQChannelChanger.exe %1'

All look in order?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
Joined: May 2006
#16
2020-02-14, 07:24 PM (This post was last modified: 2020-02-14, 07:24 PM by mvallevand.)
Note really. You seem to have a double and single quote issue in #2 with an odd redirect as well.

Change

Code:
''G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release>SkyQChannelChanger.exe %1'

to this might work.

Code:
"G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release\SkyQChannelChanger.exe" %1

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#17
2020-02-14, 08:32 PM
(2020-02-14, 07:24 PM)mvallevand Wrote: Note really.  You seem to have a double and single quote issue in #2 with an odd redirect as well.

Change

Code:
''G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release>SkyQChannelChanger.exe %1'

to this might work.

Code:
"G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release\SkyQChannelChanger.exe" %1

Martin

All kinds of typos there...apologies, brain is not cooperating today. Ok, the blaster now works. However the next problem is NPVR is not using the correct channel numbers assigned to each channel on my STB for the blaster to actually select the correct channel. Is there an option I need to configure somewhere to change this. So you can see the syntax my XMLTV file is using to define channel number, here is an excerpt:

<channel id="CBBC">
<display-name lang="en">CBBC</display-name>
<display-name>s646</display-name>
<icon src="https://my.tvguide.co.uk/channel_logos/60x35/118.png" />
<url>http://www.tv.sky.com</url>
</channel>
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,164
Threads: 958
Joined: May 2006
#18
2020-02-14, 08:41 PM
You need to provide an xmltv file with valid channel numbers and s646 is certainly not one, and it has to be a xmltv generator that sub trusts to give correct channel numbers. You can change to generator-info-name="mc2xml" if you want to test it.

Using Schedules Direct is much easier.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#19
2020-02-14, 08:58 PM
(2020-02-14, 08:41 PM)mvallevand Wrote: You need to provide an xmltv file with valid channel numbers and s646 is certainly not one, and it has to be a xmltv generator that sub trusts to give  correct channel numbers.  You can change to generator-info-name="mc2xml" if you want to test it.

Using Schedules Direct is much easier.

Martin

The 's' prefix was an experiment for something Kodi related that I forgot to take out. I'm re running the grabber now and will re import everything and see what happens. I'm trying to recall, but I think the channel numbers were ok before said experiement, so I will report back shortly with an outcome...
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#20
2020-02-14, 11:02 PM
Ok, working now. Before I start a new thread for it asking for more details, can NPVR accept inputs from Stalker and Enigma boxes? I have a couple of those too...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Scan finds few channels GiuseppeKK 1 85 2025-07-05, 10:10 PM
Last Post: mvallevand
  EPG not found for some channels - DVB/ATSC (NextPVR version 7) Nimoder 36 2,435 2025-06-27, 10:53 PM
Last Post: mvallevand
  Since v7: EPG mostly "no listings", and channels change during recordings :'( rightbryce 40 4,455 2025-06-23, 01:15 AM
Last Post: sub
  IR Blaster for HD PVR 2 -- HaupBlast.exe and hcwirblast.dll issue MPG 27 1,978 2025-06-22, 03:36 PM
Last Post: jcole998
  EPG not found for some channels via DVB-T2 (version 7) Kotoka 84 6,524 2025-06-21, 05:10 PM
Last Post: sub
  Channel 7 TV channels do not load into my list cmacd 1 366 2025-05-26, 07:37 AM
Last Post: Renryant
  No Audio Stream on most IPTV Channels pascholnahui 15 1,194 2025-05-24, 09:35 PM
Last Post: mvallevand
  Problem with encrypted channels achim_m 0 194 2025-05-03, 03:34 PM
Last Post: achim_m
  Channels not displaying in client(s) Druhl 1 308 2025-02-17, 05:08 PM
Last Post: sub
  Guide information not displaying on some channels three6zerocool 50 4,056 2025-01-19, 10:33 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode