NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
API channel.stream.start

 
  • 0 Vote(s) - 0 Average
API channel.stream.start
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#1
2023-05-07, 07:31 PM
Sub after channel.stream.start either fails or has a client based-timeout should the client be issuing a channel.stream.stop in either or both cases?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2023-05-07, 08:50 PM
No, I don't think you need to make any stop call if you get a failure from channel.stream.start
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#3
2023-05-07, 09:40 PM
Ok thanks. What about the scenario, that fla experienced where NextPVR can't return failure because the client closes the socket on a timeout after a tuning delay. https://forums.nextpvr.com/showthread.ph...#pid581364 This snippet https://pastebin.com/NvGWL1j3 shows the gist removing a lot of spam from 3 clients connecting.

- Kodi is issuing a channel.stream.stop thread 48 on timeout before channel.stream.start thread 59 is finished. Kodi is unware of this.
- fla tried to open Live TV again so we get a second channel.stream.start on thread 58 also before the channel.stream.start on thread 59 is finished.
- I would expect that the ok return on thread 59 at 08:48:16.256 would fail because Kodi had disconnected and NextPVR should not continue one to started live tv.

The purpose behind this is I am trying to figure out the best way to implement WOL on live TV for Kodi reminders and don't want to introduce problems.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,313 2022-11-20, 04:28 PM
Last Post: mvallevand
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,320 2021-03-11, 03:59 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 68,063 2020-11-26, 10:02 PM
Last Post: mandai
  What is being sent when using /live?channel=3.1 scJohn 2 1,860 2020-01-30, 04:51 PM
Last Post: sub
  Get recording length from stream skogl 46 13,425 2019-08-15, 09:34 PM
Last Post: sub
  Web command to create recurring any channel mvallevand 2 2,546 2019-02-04, 03:09 PM
Last Post: mvallevand
  XMLTV Channel Number Option gdogg371 12 6,598 2018-07-18, 04:32 PM
Last Post: sub
  Channels List by Channel Group Name scJohn 1 2,729 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,021 2017-06-19, 09:14 AM
Last Post: psycik
  Getting all channel listings - decimal channel numbers psycik 11 8,100 2015-12-13, 02:17 AM
Last Post: seejaydee

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

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

Linear Mode
Threaded Mode