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 … 8 9 10 11 12 … 81 Next »
Iptv executable

 
  • 0 Vote(s) - 0 Average
Iptv executable
maxim31cote
Offline

Junior Member

Canada
Posts: 6
Threads: 1
Joined: Mar 2023
#1
2023-03-11, 06:44 AM
Hi,
In the version v.4.x.x I execute a program before change channel iptv but in version 6.x.x I dont find the option is it possible to do again or I return to v.4.x.x or the last version he support this feature

Thank you
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 103,905
Threads: 752
Joined: Nov 2003
#2
2023-03-11, 05:06 PM
Behind the scenes it still supports this, but unfortunately there is no way to configure it in the user interface. The only way to enable it is by editing the database for each IPTV channel you want to use this.

You're the first person to ask about it in v5 or v6, so not a very in demand feature.
maxim31cote
Offline

Junior Member

Canada
Posts: 6
Threads: 1
Joined: Mar 2023
#3
2023-03-11, 07:11 PM
(2023-03-11, 05:06 PM)sub Wrote: Behind the scenes it still supports this, but unfortunately there is no way to configure it in the user interface. The only way to enable it is by editing the database for each IPTV channel you want to use this.

You're the first person to ask about it in v5 or v6, so not a very in demand feature.
Ok I understand.
In my case it is that I use a video encoder that convert the hdmi signal of my decoder into stream udp and to change channel I use a code that I execute before

If I want modify the database where is it 

Thank you
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 47,298
Threads: 889
Joined: May 2006
#4
2023-03-11, 07:25 PM
That could also be done quite easily with an extra if your grabber generates an m3u8 stream. These are integrated well with the guide channel numbers too
maxim31cote
Offline

Junior Member

Canada
Posts: 6
Threads: 1
Joined: Mar 2023
#5
2023-03-11, 07:34 PM
(2023-03-11, 07:25 PM)mvallevand Wrote: That could also be done quite easily with an extra if your grabber generates an m3u8 stream.  These are integrated well with the guide channel numbers too

My encoder create only one stream I change my channel with ir 
 In my m3u8 list all channel have the same udp adress
pkscout
Offline

Senior Member

USA
Posts: 447
Threads: 49
Joined: May 2014
#6
2023-03-11, 07:45 PM
(2023-03-11, 07:34 PM)maxim31cote Wrote:
(2023-03-11, 07:25 PM)mvallevand Wrote: That could also be done quite easily with an extra if your grabber generates an m3u8 stream.  These are integrated well with the guide channel numbers too

My encoder create only one stream I change my channel with ir 
 In my m3u8 list all channel have the same udp adress

It's still a very good use case for an extra.  I used to use a URay encoder that also generated only one stream and an IR blaster to change the channel on my cable box.  I had an extra the took the channel number from NextPVR, ran an external script to trigger the IR Blaster, and then tune the stream.

I don't seem to have the extra anymore, but it probably looked a little bit like this:
PHP Code:
<?xml version='1.0' encoding='utf-8'?>
<extras title="URay">
  <channel number="{channel}" name="{channel-name}">
    <command>bash</command>
    <args>-c "/config/scripts/uray.sh {channel}"</args>
  </channel>
</extras> 

And here's the shell script that the extra executed:
PHP Code:
# change the channel
python3 /config/scripts/iguana-blaster/execute.py -c $1

# open the stream
curl  http://172.16.1.4/0.ts
wait
exit $? 
maxim31cote
Offline

Junior Member

Canada
Posts: 6
Threads: 1
Joined: Mar 2023
#7
2023-03-11, 07:56 PM
(2023-03-11, 07:45 PM)pkscout Wrote:
(2023-03-11, 07:34 PM)maxim31cote Wrote:
(2023-03-11, 07:25 PM)mvallevand Wrote: That could also be done quite easily with an extra if your grabber generates an m3u8 stream.  These are integrated well with the guide channel numbers too

My encoder create only one stream I change my channel with ir 
 In my m3u8 list all channel have the same udp adress

It's still a very good use case for an extra.  I used to use a URay encoder that also generated only one stream and an IR blaster to change the channel on my cable box.  I had an extra the took the channel number from NextPVR, ran an external script to trigger the IR Blaster, and then tune the stream.

I don't seem to have the extra anymore, but it probably looked a little bit like this:
PHP Code:
<?xml version='1.0' encoding='utf-8'?>
<extras title="URay">
  <channel number="{channel}" name="{channel-name}">
    <command>bash</command>
    <args>-c "/config/scripts/uray.sh {channel}"</args>
  </channel>
</extras> 

And here's the shell script that the extra executed:
PHP Code:
# change the channel
python3 /config/scripts/iguana-blaster/execute.py -c $1

# open the stream
curl  http://172.16.1.4/0.ts
wait
exit $? 

ok im not sure to understand where you put this code in the m3u8 file sorry im not very good in english
pkscout
Offline

Senior Member

USA
Posts: 447
Threads: 49
Joined: May 2014
#8
2023-03-12, 11:43 AM
(2023-03-11, 07:56 PM)maxim31cote Wrote: ok im not sure to understand where you put this code in the m3u8 file sorry im not very good in english

You don't put it in the m3u8 file.  You aren't using IPTV at all any more.  You're creating a special kind of tuner called an Extra.  This is a new feature in NextPVR 5/6.

https://github.com/sub3/NextPVR/wiki/Extras
maxim31cote
Offline

Junior Member

Canada
Posts: 6
Threads: 1
Joined: Mar 2023
#9
2023-03-12, 12:48 PM
(2023-03-12, 11:43 AM)pkscout Wrote:
(2023-03-11, 07:56 PM)maxim31cote Wrote: ok im not sure to understand where you put this code in the m3u8 file sorry im not very good in english

You don't put it in the m3u8 file.  You aren't using IPTV at all any more.  You're creating a special kind of tuner called an Extra.  This is a new feature in NextPVR 5/6.

https://github.com/sub3/NextPVR/wiki/Extras
Ok thank you version 5 and 6 is news for me :p
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 47,298
Threads: 889
Joined: May 2006
#10
2023-03-12, 02:37 PM
That wiki definition is pretty sparce and several features aren documented and ther is no documentation for passing the url to Next PVR. Do you have to stream by UDP?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Few IPTV streams failed to play but works on VLAN (0x150001 - Likely end of VOD) benoithamet 5 123 2023-08-24, 10:44 PM
Last Post: mvallevand
  Sub Titles on PBS via IPTV elifino 3 101 2023-07-10, 09:06 PM
Last Post: elifino
  Adding Device (IPTV xtream codes) FAILS naffhouse 1 234 2023-04-09, 05:50 AM
Last Post: sub
  EPG Apollo IPTV cookrd1 2 262 2022-11-29, 12:21 AM
Last Post: sub
  How to change IPTV Server URL R.C. 8 429 2022-10-17, 03:08 AM
Last Post: sub
  Australian IPTV channels (10 network) will not play sepa 5 733 2022-09-28, 12:17 PM
Last Post: spin35
  Recording fail on iptv channel 3grg 7 507 2022-08-10, 06:48 PM
Last Post: mvallevand
  IPTV M3U Not Loading hootie318 10 742 2022-07-01, 03:00 AM
Last Post: hootie318
  IPTV device pouzolais 3 451 2022-06-21, 02:16 PM
Last Post: pouzolais
  Restore deleted IPTV channels maisak 24 3,236 2022-02-17, 05:29 PM
Last Post: dljones8053

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

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

Linear Mode
Threaded Mode