Kodi Community Forum

Full Version: PVR How to signal end of timeshift live tv
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
With NextPVR recordings have priority over live so if I am watching live tv I need to signal back that it is the end when aborted .  I have found that
after data runs out I get
Code:
2019-12-12 15:55:13.252 T:1820 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-12-12 15:55:14.238 T:3344 WARNING: Previous line repeats 1 times.

looping many times with occasional reads until


2019-12-12 15:55:32.245 T:14484   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2019-12-12 15:55:32.245 T:14484 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2019-12-12 15:55:32.258 T:14484   ERROR: CCurlFile::FillBuffer - Failed: Requested range was not delivered by the server(33)
2019-12-12 15:55:32.258 T:14484   DEBUG: CFileCache::Process - Source read returned a fatal error! Will wait for buffer to empty.

then more timeouts followed by many more reads
2019-12-12 15:56:05.320 T:6812   DEBUG: AddOnLog: NextPVR PVR Client: timeshift::ClientTimeShift::Read:89: -1 65536 0 354213620
2019-12-12 15:56:05.403 T:1820 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

until the video player stops one minute later

2019-12-12 15:56:45.877 T:17220  NOTICE: CVideoPlayer::CloseFile()
2019-12-12 15:56:45.877 T:17220   DEBUG: CRenderManager::DeleteRenderer - deleting renderer
2019-12-12 15:56:45.878 T:17220  NOTICE: VideoPlayer: waiting for threads to exit

2019-12-12 15:56:45.895 T:6812   DEBUG: AddOnLog: NextPVR PVR Client: CloseLiveStream

I have tried return 0 and -1 from ReadLiveStream() with no success.  Is there another way to signal a stop? I am testing this on v18.5

Martin