NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 2 3 4 5 … 40 Next »
Kodi sometimes cannot play channels

 
  • 0 Vote(s) - 0 Average
Kodi sometimes cannot play channels
aderlopas
Offline

Senior Member

Posts: 293
Threads: 38
Joined: Dec 2013
#1
2021-10-31, 05:42 PM
Hi, 

Sometimes Kodi cannot play the channels, for no apparent reason...

I see in kodi.log the below:
------------------------------------------------
2021-10-31 19:26:55.591 T:18134    INFO <general>: Loading skin file: DialogPVRInfo.xml, load type: LOAD_EVERY_TIME
2021-10-31 19:26:56.894 T:18134    INFO <general>: VideoPlayer::OpenFile: pvr://channels/tv/All%20channels/pvr.nextpvr_7160.pvr
2021-10-31 19:26:56.899 T:18255    INFO <general>: Creating InputStream
2021-10-31 19:26:56.900 T:18255  ERROR <general>: AddOnLog: pvr.nextpvr: Unknown live streaming state 0 0 1
2021-10-31 19:26:56.901 T:18255    INFO <general>: AddOnLog: pvr.nextpvr: Calling Open(http://192.168.178.77:8866/live?channelo...4e966cf328) on tsb!
2021-10-31 19:27:04.073 T:18255  ERROR <general>: Open - Unhandled exception
2021-10-31 19:27:04.074 T:18255  ERROR <general>: Open - Error opening http://192.168.178.77:8866/live?channelo...timeout=10
2021-10-31 19:27:04.074 T:18255  ERROR <general>: AddOnLog: pvr.nextpvr: Could not open streaming file
2021-10-31 19:27:04.445 T:18255  ERROR <general>: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/All%20channels/pvr.nextpvr_7160.pvr]
2021-10-31 19:27:04.445 T:18255    INFO <general>: CVideoPlayer::OnExit()
2021-10-31 19:27:04.553 T:18134    INFO <general>: CVideoPlayer::CloseFile()
2021-10-31 19:27:04.563 T:18134    INFO <general>: VideoPlayer: waiting for threads to exit
2021-10-31 19:27:04.564 T:18134    INFO <general>: VideoPlayer: finished waiting
2021-10-31 19:27:04.598 T:18186  ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                  Error Type: <class 'NameError'>
                                                  Error Contents: name 'false' is not defined
                                                  Traceback (most recent call last):
                                                    File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.metadata.editor/service.py", line 22, in onNotification
                                                      data = eval(data.replace(':true', ': True').replace(':false', ': False'))
                                                    File "<string>", line 2, in <module>
                                                  NameError: name 'false' is not defined
                                                  -->End of Python script error report<--

--------------------------------------------------

any ideas?
Attaching npvr logs...


Attached Files
.zip   logs-20211031-1933.zip (Size: 1.23 MB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,849
Threads: 862
Joined: May 2006
#2
2021-10-31, 06:03 PM
You didn't include enough of the Kodi log to help diagnose and it is not debug anyway, but it looks like network traffic to the server was blocked for about 10 seconds. This is just the connection and not the turn around time. You might need to increase the prebuffer time to give the server a change reduce the server workload after the graph is created.

Martin
aderlopas
Offline

Senior Member

Posts: 293
Threads: 38
Joined: Dec 2013
#3
2021-10-31, 06:28 PM
(2021-10-31, 06:03 PM)mvallevand Wrote: You didn't  include enough of the Kodi log to help diagnose and it is not debug anyway, but it looks like network traffic to the server was blocked for about 10 seconds.  This is just the connection and not the turn around time.  You might need to increase the prebuffer time to give the server a change reduce the server workload after the graph is created.

Martin

Hi Martin,

Thank you for the suggestion, 

I had set prebuffer to 1 so I changed it to 5 and still the same.
Network is fine and fast, but server might respond slow.
Can this be set to higher than 5?

Attaching the kodi.log.


Attached Files
.zip   kodi.zip (Size: 9.56 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,849
Threads: 862
Joined: May 2006
#4
2021-10-31, 07:04 PM
Again, that is not a debug log and it doesn't show what I need to see. The prebuffer is really after data is started flowing so more than a few seconds shouldn't need. The network delay Kodi is seeing doesn't even show up in the NextPVR logs.

These 50ms in NextPVR are 7 seconds in Kodi time

Code:
2021-10-31 19:26:45.687    [DEBUG][176]    Got request [192.168.178.43]: /live
2021-10-31 19:26:45.687    [DEBUG][176]    /live?channeloid=7163&client=f548a3d0e8f3480bb4b7b24e966cf328&sid=f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.687    [DEBUG][176]     - channeloid: 7163
2021-10-31 19:26:45.687    [DEBUG][176]     - client: f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.688    [DEBUG][176]     - sid: f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.688    [DEBUG][176]    range: bytes=0-
2021-10-31 19:26:45.688    [DEBUG][176]    RollingFile.Open(C:\Users\argyr\AppData\Local\Temp\live-OPEN BEYOND HD-9.ts) ..
2021-10-31 19:26:45.701    [DEBUG][176]    File is in live mode
2021-10-31 19:26:45.702    [DEBUG][176]    Range: 0-
2021-10-31 19:26:45.702    [DEBUG][176]    Start location: 0 (file-size: 1006176)
2021-10-31 19:26:45.702    [DEBUG][176]    About to continue streaming until stream stops
2021-10-31 19:26:45.725    [DEBUG][176]    client disconnected

Martin
aderlopas
Offline

Senior Member

Posts: 293
Threads: 38
Joined: Dec 2013
#5
2021-10-31, 07:20 PM
(2021-10-31, 07:04 PM)mvallevand Wrote: Again, that is not a debug log and it doesn't show what I need to see.  The prebuffer is really after data is started flowing so more than a few seconds shouldn't need.  The network delay Kodi is seeing doesn't even show up in the NextPVR logs.

These 50ms in NextPVR are 7 seconds in Kodi time

Code:
2021-10-31 19:26:45.687    [DEBUG][176]    Got request [192.168.178.43]: /live
2021-10-31 19:26:45.687    [DEBUG][176]    /live?channeloid=7163&client=f548a3d0e8f3480bb4b7b24e966cf328&sid=f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.687    [DEBUG][176]     - channeloid: 7163
2021-10-31 19:26:45.687    [DEBUG][176]     - client: f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.688    [DEBUG][176]     - sid: f548a3d0e8f3480bb4b7b24e966cf328
2021-10-31 19:26:45.688    [DEBUG][176]    range: bytes=0-
2021-10-31 19:26:45.688    [DEBUG][176]    RollingFile.Open(C:\Users\argyr\AppData\Local\Temp\live-OPEN BEYOND HD-9.ts) ..
2021-10-31 19:26:45.701    [DEBUG][176]    File is in live mode
2021-10-31 19:26:45.702    [DEBUG][176]    Range: 0-
2021-10-31 19:26:45.702    [DEBUG][176]    Start location: 0 (file-size: 1006176)
2021-10-31 19:26:45.702    [DEBUG][176]    About to continue streaming until stream stops
2021-10-31 19:26:45.725    [DEBUG][176]    client disconnected

Martin

Thanks Martin, 

I'll run it with debug on then and upload logs.

Please note that this happens only with Timeshift, not with Realtime streaming.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,849
Threads: 862
Joined: May 2006
#6
2021-11-01, 12:32 AM
Next time you test sub has asked for you to turn on verbose logging on the server first. Hold control on Settings->General to see this option button.

Martin
aderlopas
Offline

Senior Member

Posts: 293
Threads: 38
Joined: Dec 2013
#7
2021-11-01, 07:59 AM
(2021-11-01, 12:32 AM)mvallevand Wrote: Next time you test sub has asked for you to turn on verbose logging on the server first.  Hold control on Settings->General to see this option button.

Martin

Thanks Martin, 

Control did not do anything for me, so I ensured loglevel is debug and extendedlogs is true in config.xml.

I am attaching both kodi debug and nextpvr logs.

Issue happened at 09:53


Attached Files
.zip   kodi.zip (Size: 43.67 KB / Downloads: 1)
.zip   logs-20211101-0955.zip (Size: 1,004.98 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,849
Threads: 862
Joined: May 2006
#8
2021-11-01, 09:56 AM
Sorry not Settings->General just Settings or Settings->About The level I wanted is verbose

Martin
aderlopas
Offline

Senior Member

Posts: 293
Threads: 38
Joined: Dec 2013
#9
2021-11-01, 11:04 AM
(2021-11-01, 09:56 AM)mvallevand Wrote: Sorry not Settings->General just Settings or Settings->About  The level I wanted is verbose

Martin

Hi Martin, 

Thank you for the clarification.
I enabled it and I am uploading new logs.
Error is around 12:59 timestamp.


Attached Files
.zip   logs-20211101-1301.zip (Size: 1.02 MB / Downloads: 3)
.zip   kodi.zip (Size: 52.27 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,849
Threads: 862
Joined: May 2006
#10
2021-11-01, 01:12 PM
Thanks those logs are indeed extremely verbose NextPVR is logging every packet sent. There is a problem in the verbose log that sub might need to look at since I don't think this sequence should happen.

2021-11-01 12:59:28.759 [VERBOSE][8] RollingFile.Close()

2021-11-01 12:59:28.768 [DEBUG][88] Got request [192.168.178.43]: /service (channel.stream.stop)

Also I think you have EPG channel art turned on and that isn't going to work very well unless Schedules Direct is your source.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kodi Nexus 2.0 mvallevand 7 393 2023-01-23, 12:33 PM
Last Post: bandjaci
  Nexus 20.0-RC2 and NextPVR Channels jguarrasi 2 169 2023-01-16, 08:41 PM
Last Post: jguarrasi
  Kodi-V4 WiFi Problem? jcole998 4 177 2022-11-05, 03:39 PM
Last Post: jcole998
  Kodi Addon Failure 19.0.4 Luke86 4 373 2022-10-22, 03:33 AM
Last Post: Luke86
  Reverse proxy - ssl - kodi client fattony 56 7,304 2022-07-30, 03:41 PM
Last Post: aderlopas
Question Kodi 19.4 not seeing NextPVR v4 Recordings Aussie 3 424 2022-07-28, 02:37 PM
Last Post: mvallevand
  Kodi NextPVR PVR Client Addon solfanboy 11 1,162 2022-07-11, 08:51 PM
Last Post: mvallevand
  Kodi not playing older recordings bobster151 10 678 2022-06-28, 10:18 PM
Last Post: mvallevand
  EPG Channels Icons Broken mjccox 42 3,253 2022-06-07, 10:57 PM
Last Post: raymondjpg
  When running Kodi, new recordings not showing up jorrenb 53 4,848 2022-05-18, 12:52 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