NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Other Clients v
« Previous 1 2 3 4 Next »
Kodi not playing channel on first attempt

 
  • 0 Vote(s) - 0 Average
Kodi not playing channel on first attempt
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#41
2020-05-10, 05:17 PM
Just about to stop NextPVR and try the Index.
Will post another log once I've restarted it carried out another curl
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#42
2020-05-10, 05:18 PM
For curl we just need the time of the request and the http ok response.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#43
2020-05-10, 05:24 PM
(2020-05-10, 05:16 PM)sub Wrote:
(2020-05-10, 05:05 PM)Tunes0710 Wrote: This is the log file from doing a curl on BBC 1 (Terrestrial) with the reversepriority set to false
Did this one take a long time too? ie, there is a 20 second delay in there I wouldn't expect to see:

Quote:2020-05-10 18:02:06.009 [DEBUG][4] HDHomeRunRecorder.StartStream()
2020-05-10 18:02:26.602 [DEBUG][4] source@1
Here is an updated NShared.dll, which gives us more logging between those two points:


Attached Files
.zip   NShared.zip (Size: 301.94 KB / Downloads: 1)
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#44
2020-05-10, 05:24 PM (This post was last modified: 2020-05-10, 05:27 PM by Tunes0710.)
After running the index command and restarting NextPVR, the reply on the curl was instantaneous.. not even a second had passed before it started returning data.
Logs and curl output attached

EDIT: Curl didn't attach first time.. have readded.


Attached Files
.zip   logs-20200510-1820.zip (Size: 6.38 KB / Downloads: 1)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#45
2020-05-10, 05:25 PM
You'd normally expect a few milliseconds between those two messages. I've added some more log messages, so we get more info on where the delay is:

Quote:2020-05-11 05:21:19.472 [DEBUG][17] HDHomeRunRecorder.StartStream()
2020-05-11 05:21:19.473 [DEBUG][17] ipaddress is 192.168.1.82
2020-05-11 05:21:19.474 [DEBUG][17] building graph
2020-05-11 05:21:19.475 [DEBUG][17] About to load channel from tuning
2020-05-11 05:21:19.476 [DEBUG][17] source@1
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#46
2020-05-10, 05:27 PM
(2020-05-10, 05:24 PM)Tunes0710 Wrote: After running the index command and restarting NextPVR, the reply on the curl was instantaneous.. not even a second had passed before it started returning data.
Logs and curl output attached

EDIT: Curl didn't attach first time.. have readded.
Yep, that looked more normal:

Quote:2020-05-10 18:20:10.334 [DEBUG][4] HDHomeRunRecorder.StartStream()
2020-05-10 18:20:10.361 [DEBUG][4] source@1
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#47
2020-05-10, 05:29 PM
For some reason the Curl archive doesn't appear to be adding.
Would you still like me to run it again using your updated dll?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#48
2020-05-10, 05:34 PM
(2020-05-10, 05:29 PM)Tunes0710 Wrote: For some reason the Curl archive doesn't appear to be adding.
Probably need to post the logs again.

Quote:Would you still like me to run it again using your updated dll?
I suspect the index has fixed this 20 second delay we saw, but maybe install it anyway, because it'll still be useful if we're looking at any delays.
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#49
2020-05-10, 05:36 PM
This is the latest one, after running the index command
Code:
18:21:11.140000 == Info:   Trying <ip>...
18:21:11.140000 == Info: TCP_NODELAY set
18:21:11.171000 == Info: Connected to <ip> (<ip>) port <port> (#0)
18:21:11.171000 => Send header, 103 bytes (0x67)
0000: 47 45 54 20 2f 6c 69 76 65 3f 63 68 61 6e 6e 65 GET /live?channe
0010: 6c 5f 69 64 3d 37 35 35 32 20 48 54 54 50 2f 31 l_id=7552 HTTP/1
0020: 2e 31 0d 0a 48 6f 73 74 3a 20 31 39 32 2e 31 36 .1..Host: <ip>
0030: 38 2e 31 30 2e 35 35 3a 32 32 30 38 39 0d 0a 55 :<port>..U
0040: 73 65 72 2d 41 67 65 6e 74 3a 20 63 75 72 6c 2f ser-Agent: curl/
0050: 37 2e 35 35 2e 31 0d 0a 41 63 63 65 70 74 3a 20 7.55.1..Accept:
0060: 2a 2f 2a 0d 0a 0d 0a                            */*....
18:21:11.781000 <= Recv header, 17 bytes (0x11)
0000: 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1 200 OK.
0010: 0a                                              .
18:21:11.781000 <= Recv header, 37 bytes (0x25)
0000: 44 61 74 65 3a 20 53 75 6e 2c 20 31 30 20 4d 61 Date: Sun, 10 Ma
0010: 79 20 32 30 32 30 20 31 37 3a 32 31 3a 31 31 20 y 2020 17:21:11
0020: 47 4d 54 0d 0a                                  GMT..

The other half is just watching something, but as soon as she is done, I'll swap over the DLL and run it again and attach the logs to this thread

Thank you for your suggestion Martin, that index command seems to have done it!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#50
2020-05-10, 05:41 PM
I'll either add the index for the next build, or remove the need for it. This type of lookup only happens with HDHR devices, but It'd never seen it take more than a few milliseconds.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible to run new Kodi addon on Kodi 17 fla 2 1,447 2023-01-12, 04:55 PM
Last Post: fla
  Kodi client enable direct streams markosjal 1 1,831 2022-05-12, 10:30 AM
Last Post: mvallevand
  Kodi 19 client constantly asking for updates from server PapaJay 2 1,385 2021-03-21, 06:54 PM
Last Post: sub
  Updated Kodi Matrix - NPVR Addon Removed Lao Pan 2 2,178 2020-06-18, 12:52 PM
Last Post: Lao Pan
  Kodi NPVR client refresh interval ceejayemm 14 4,662 2020-06-15, 08:58 PM
Last Post: sub
  Cant watch in-progress recordings in Kodi Red5ive 1 1,792 2020-04-14, 07:30 PM
Last Post: Graham
  Strange Kodi Timeshift Behavior aderlopas 3 1,833 2020-03-16, 05:42 PM
Last Post: mvallevand
  Which Kodi plugin to use KNEWC or pvr.nextpvr ? Red5ive 9 3,876 2020-01-16, 12:16 AM
Last Post: mvallevand
  v5 Kodi Timeshift Lao Pan 5 3,166 2020-01-12, 01:25 AM
Last Post: kratos
  Kodi is crashing after update to version 5.0.0.191201. foltz61 23 6,953 2019-12-08, 02:29 AM
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