NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 4 5 6 7 8 … 193 Next »
USTV support

 
  • 0 Vote(s) - 0 Average
USTV support
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#51
2021-12-12, 08:43 PM
I just tried importing a usatvgo.tv url into nextpvr. In particular I tried ABC. It seemed to work fine. I'm guessing the tokens will expire soon if I tried restarting the stream, but at this stage I've been successfully watching for a few minutes now.


Attached Files Thumbnail(s)
   
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#52
2021-12-12, 08:47 PM
(2021-12-12, 08:39 PM)buntay20 Wrote: here are the most recent logs
It looks like you copied my extra xml. Again - it was just an example. You don't actually have a d:\test.bat that it is trying to run.

If you'd had a batch file that had just echod the url, it probably would have worked.

ie d:\test.bat
Code:
@echo https://h4.ustvgo.la/ABC/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTIvMTIvMjAyMSA0OjIzOjM1IFBNJmhhc2hfdmFsdWU9MGdFYVJCVEFxRXJ3R1cwVEdKVjllUT09JnZhbGlkbWludXRlcz0yNDA=
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#53
2021-12-12, 08:49 PM
Do you have a file d:\test.bat and does it echo the URL to stdout?

Martin
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#54
2021-12-12, 09:21 PM
yes I did a copy and paste and forgot to remove that command

I apologize I am not really understanding just what and how the extra is doing or capable of.


Quote:<extras>  ........."header"

  <channel name="Aljazeera" number="188">    ........"channel name and nnumber" ......"channel header"
    <command> </command> .....external command to run
    <args>- </args>    ......."http address"
  </channel>    ......."channel footer"

</extras>  ....... "footer"


when you imported the stream did you use the "command" option??
where do the executables go??
can that line be omitted completely???
is this the syntax that is required??
is this html????  xml???  python???? 
how do you know what options go where???  

could you post the code you used and explain line by line why it works???
I am not looking for the answer but more of an explanation
This really is an amazing software but the documentation is sparse and lacking. Thank god there is a forum....LOL

Francis
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#55
2021-12-12, 09:32 PM
In this example:
Code:
<extras>
    <channel name="Showtime" number="100" output="m3u8">                            
        <command>d:\test.bat</command>                                                        
        <args>some arguments</args>
    </channel>
</extras>
When NextPVR wants "Showtime", it'll run whatever <command> (with <args>) that you've told it to run. In this example, because it has output="m3u8", then it is expecting a m3u8 stream as the output.

ie, it's going to run d:\test.bat, and expect that to output an m3u8 url, which NextPVR will then use. If that batch file had just output your example url, then it would have started streaming from that url
Code:
@echo https://h4.ustvgo.la/ABC/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTIvMTIvMjAyMSA0OjIzOjM1IFBNJmhhc2hfdmFsdWU9MGdFYVJCVEFxRXJ3R1cwVEdKVjllUT09JnZhbGlkbWludXRlcz0yNDA=
In a real world scenario, you wouldn't have that batch file return a hard coded url (since that the authentication stuff on that url is going to eventually expire). Instead you'd have to do some smart stuff to work out what the url should be and return that. That "smart stuff" is probably something like connecting to the ustvgo website, and extracting the urls from the page.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#56
2021-12-12, 09:35 PM
Like I posted earlier, a working URL can be used in IPTV no need for an Extra.

Code:
#EXTM3U

#EXTINF:0 tvg-id="" tvg-chno="###",Channel Name
http://

For documentation the wiki is very good for most users, very few bother to look at it, or I'd probably do a bit more (although I am trying to do something right now for rescaning tuners because of all the issues I reply to)

Most people don't write extras when they can simply pirate IPTV.

Martin
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#57
2021-12-12, 10:45 PM
now it makes a little more sense,, thank you so much. Smile 
 Im looking forward to seeing what else I can do with this software.

Sub:
so, lets say I have a video file that I am streaming from vlc,..... with extras I could pull that stream into npvr and just would have to point npvr to that stream? 
With extras being so versatile why have I read that they were somewhat abandoned in V3 it sounds like they are capable of pretty much anything?

Martin:
dont get me wrong, the wiki really is quite good and helped me out quite a bit so far. I have written software aslo and the documentation really is as time consuming as the code its self and with the capabilities of NVPR it would be a never ending sea of information.
you probably dont hear it much but thank you for all the help you give. if you have paypal PM me the information there is a donation coming your way also.

Francis
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#58
2021-12-12, 10:51 PM
I know you didn't ask me but if you are simply streaming from VLC you would use IPTV unless you wanted to to have the extra launch a VLC server instance.

Extras didn't exist before V5 you may be thinking of plugins (including tuning plugins) that were dropped in V5 because of lack of interest.

Martin
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#59
2021-12-12, 11:13 PM
interesting, I can see more tinkering ahead, but first I need to get this other thing working.
I now understand how to get a working stream playing, but now I need to figure out from the snippit I found
how to get the token updating working. Smile
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#60
2021-12-23, 06:38 AM
Quote:Do you have a file d:\test.bat and does it echo the URL to stdout?
I have everything I need to accomplish what I want to do to get the links and have the batch files set up, but
how do I echo it to stdout?
And how would I wrap the python and batch commands to accomplish the flow below??

design flow:

channel is called via an extra
command in extra runs python program that gets updated link and writes a batch file
second command runs batch file after it is written
stream plays.


why am I doing it this way you ask??

well, I dont see the need of updating all channels keys and running an iptv setup if I am only gonna watch one channel and odds are I wont be watching it for 4 hours straight and if I do I'm fine with backing out of the channel and going back in to get updated keys
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  tvg-id support groenator 12 6,662 2023-08-20, 08:55 PM
Last Post: mvallevand
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,642 2022-09-12, 12:58 AM
Last Post: mvallevand
  HbbTV Standard Support aderlopas 8 4,356 2020-11-08, 08:55 AM
Last Post: aderlopas
  TV Everywhere Support (Maybe via Extra) pkscout 2 1,726 2020-11-06, 07:15 PM
Last Post: pkscout
  Set a Future Notification & TVVI Support Pfmk2 1 1,113 2020-08-16, 11:15 AM
Last Post: mvallevand
  Multi-User support boringgit 0 1,271 2020-06-28, 05:49 PM
Last Post: boringgit
  Please support 4 color dot indicators for recordings on ALL NextPVR clients BrettB 2 1,940 2020-04-26, 05:31 PM
Last Post: BrettB
  Thumbnail support for .wtv and .avi files in version 5 Jimixter 2 1,901 2019-12-18, 04:29 PM
Last Post: sub
  tvg-shift support ldnphf 4 3,808 2019-11-12, 10:40 PM
Last Post: ldnphf
  Return to current time support on EPG Page artmetz 2 2,025 2019-05-03, 09:28 PM
Last Post: artmetz

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

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

Linear Mode
Threaded Mode