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
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#41
2021-12-12, 01:18 AM
is there a good free python IDE for windows I can download?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,881
Threads: 954
Joined: May 2006
#42
2021-12-12, 01:37 AM
Fwiw I use Visual Studio Code.  There are lots of choices.  Google or DuckDuckGo will give you better answers then I can

Martin
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#43
2021-12-12, 07:50 PM
ok so,
lots of research has paid off and you are right Python is the key but here is my problem,
why does the stream play in VLC and not NPVR? I'm guessing ffmpeg has something to do with transcoding it???
how do i get the stream to play?? I keep getting "failed to start requested stream"
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#44
2021-12-12, 08:00 PM
sorry, forgot to ask.

I was able to get channels imported via a m3u8 file for a iptv device but now I need to update the tokens
can a python application be called as an extra or where and how would I use this file
I would need this file to run every time a new channel is selected
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,881
Threads: 954
Joined: May 2006
#45
2021-12-12, 08:03 PM
Are you playing the m3u8 file in VLC? If so you would use a different type of extra then sub showed you. The output type and the channel line would be output="m3u8" and the channel line in the xml and the python script should be only writing the URL to stdout, ie print ("https://......m3u8")

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#46
2021-12-12, 08:05 PM
(2021-12-12, 08:00 PM)buntay20 Wrote: I was able to get channels imported via a m3u8 file for a iptv device but now I need to update the tokens
can a python application be called as an extra or where and how would I use this file
I would need this file to run every time a new channel is selected
Yes, that's why you'd use a extra. ie, it's not just a simple url that can be imported as an IPTV device - it's got tokens and other crap that needs to change each time. So you'd use extra, and NextPVR would call whatever command you want, and you'd find the tokens and current url etc, and could either return the transport stream, or a m3u8 (with the updated tokens etc).

If you're going to be returning an m3u8 url, your extra would be in this format:

Code:
<extras>
    <channel name="Showtime" number="100" output="m3u8">                            
        <command>d:\test.bat</command>                                                        
        <args>some arguments</args>
    </channel>
</extras>

In this case, test.bat would just write a url to stdout, which NextPVR would read, and it'd take care of the rest
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#47
2021-12-12, 08:33 PM
Quote:Are you playing the m3u8 file in VLC? 



https://h5.ustvgo.la/ABC/myStream/playli...XRlcz0yNDA=

link has no line breaks

this plays fine in VLC  as is but not NVPR.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#48
2021-12-12, 08:35 PM
If you want to post the logs, I'll see if anything stands out
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#49
2021-12-12, 08:37 PM
Quote:"https://h5.ustvgo.la/ABC/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTIvMTIvMjAyMSA4OjIxOjI3IFBNJmhhc2hfdmFsdWU9TDVMdERxNnE1ZGI0Tk40aWRKakZ6Zz09JnZhbGlkbWludXRlcz0yNDA="
minus quotation marks
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#50
2021-12-12, 08:39 PM
here are the most recent logs


Attached Files
.zip   logs-20211212-1237.zip (Size: 1.13 MB / Downloads: 2)
« 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,737 2023-08-20, 08:55 PM
Last Post: mvallevand
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,670 2022-09-12, 12:58 AM
Last Post: mvallevand
  HbbTV Standard Support aderlopas 8 4,371 2020-11-08, 08:55 AM
Last Post: aderlopas
  TV Everywhere Support (Maybe via Extra) pkscout 2 1,743 2020-11-06, 07:15 PM
Last Post: pkscout
  Set a Future Notification & TVVI Support Pfmk2 1 1,121 2020-08-16, 11:15 AM
Last Post: mvallevand
  Multi-User support boringgit 0 1,278 2020-06-28, 05:49 PM
Last Post: boringgit
  Please support 4 color dot indicators for recordings on ALL NextPVR clients BrettB 2 1,948 2020-04-26, 05:31 PM
Last Post: BrettB
  Thumbnail support for .wtv and .avi files in version 5 Jimixter 2 1,917 2019-12-18, 04:29 PM
Last Post: sub
  tvg-shift support ldnphf 4 3,834 2019-11-12, 10:40 PM
Last Post: ldnphf
  Return to current time support on EPG Page artmetz 2 2,037 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