Solved [vu+] Update of recordings list fails on delete and subsequently live-tv fails
#1
Sometimes, when I delete a recording, the recordings list doesn't get updated, although the recording does indeed get deleted on the backend.
Subsequently I cannot access the live-tv channel list anymore, I just get a black screen. Checking the log file reveals that kodi is still running in the background but is unresponsive. I have to force quit and restart when this happens.

Running Kodi Helix 14.1-RC1 Git:2015-01-17-11158c5-dirty, on an AFTV, backend is vu+ duo2.

Anyone else experiencing the same issue?

You can find the corresponding trac ticket and logfiles here .
Reply
#2
Hmm - I can see that the addon deletes the recording in the backend:

Code:
INFO: AddOnLog: VU+ / Enigma2 Client: GetHttpXML Open webAPI with URL: 'http://192.168.1.107:80/web/moviedelete?sRef=1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A%2Fhdd%2Fmovie%2F20150131%201827%20%2D%20Das%20Erste%20HD%20%2D%20Sportschau%2Ets'
21:41:36 T:1561172024   DEBUG: CFileCache::Open - opening <web/moviedelete> using cache
21:41:36 T:1561172024   DEBUG: CurlFile::Open(0x6ffd2728) http://192.168.1.107:80/web/moviedelete?sRef=1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A%2Fhdd%2Fmovie%2F20150131%201827%20%2D%20Das%20Erste%20HD%20%2D%20Sportschau%2Ets

After that, normally a refresh of the recording list is triggered after that operation:

Code:
PVR_ERROR Vu::DeleteRecording(const PVR_RECORDING &recinfo)
{
   CStdString strTmp;
   strTmp.Format("web/moviedelete?sRef=%s", URLEncodeInline(recinfo.strRecordingId));
   CStdString strResult;
   if(!SendSimpleCommand(strTmp, strResult))
      return PVR_ERROR_FAILED;
   PVR->TriggerRecordingUpdate();
   return PVR_ERROR_NO_ERROR;
}

I cannot see that this trigger gets processed - so to me it looks like something is going wrong within the Kodi internals. Also what could the PVR-Addon do to create a "black screen" on the channel list?
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#3
Jörg, thank you for looking into it.

I'm not sure why the trigger doesn't get processed, but I want to point out that this happens only occasionally. Also it doesn't seem to be limited to deleting recordings, it also happens that the list isn't populated with new recordings.

Regarding the black screen: I'm not sure this is directly related, maybe it's just a coincidence. If your assumption is correct, that Kodi stops processing the update trigger at some point, it might well be, that it also stops processing the channel list.
Reply
#4
This fixed in v15, ticket has been closed.
Reply

Logout Mark Read Team Forum Stats Members Help
[vu+] Update of recordings list fails on delete and subsequently live-tv fails0