Kodi Community Forum
Solved 2 problems with a TV server not running 24/7 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: DVBViewer (https://forum.kodi.tv/forumdisplay.php?fid=219)
+---- Thread: Solved 2 problems with a TV server not running 24/7 (/showthread.php?tid=299644)

Pages: 1 2 3


2 problems with a TV server not running 24/7 - CiNcH - 2016-12-08

My setup:
- PC running DVBViewer Recording Service
- Sony KD-55XD (Android TV Lollipop 5.1.1) running Kodi Krypton Beta 6

(1) Stopping TV server after PVR startup results in frequent on-screen errors

Steps to reproduce:
- start TV server
- start Kodi (PVR is initialized)
- stop TV server

-> Kodi displays an error every minute:

Quote:DVBViewer Client
Unable to parse timer list

(2) Starting Kodi with stopped TV server results in bad PVR state

Steps to reproduce:
- stop TV server
- start Kodi

Kodi displays that the PVR client (DVBViewer Client) could not be loaded, which makes sense. But PVR is in a bad state now:

Quote:PVR manager is starting up: 0%

Even when starting the TV server now, PVR does not get out of this state. Kodi has to be restarted.


These cases are not constructed but happen when the TV server is not running 24/7. I don't really know whether these are problems of the PVR or the DVBViewer Client add-on though.


RE: 2 problems with a TV server not running 24/7 - lokum - 2016-12-09

Hi.

I think the second issue is related to changes in the PVR API that most of the PVR addons haven't implemented. I have this issue with my Mediaportal setup too. AFAIK only the tvheadend addon is working properly with the updated API. See here: http://forum.kodi.tv/showthread.php?tid=295684


RE: 2 problems with a TV server not running 24/7 - CiNcH - 2016-12-09

Hi lokum,

thanks for your info.

Can some mod please move this thread to the DVBViewer sub-forum? I will try to ping manül on that.


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-10

Yeah, implementation is missing. Will take a closer look next week. Hope I can fix it before Krypton release.


RE: 2 problems with a TV server not running 24/7 - candrian - 2016-12-11

Same here - my wife is killing me.... Wink
Running the DVBviewer server on a windows homeserver. Takes 15sek to wake up.
Need either:
- restart Kodi
- or deactivate / activate dvbserver addon

Worked fine in Jarvis - not working in any Krypton build.
I tried different network settings in advancedsettings - nothing helped.

kodi.log:
................
08:27:24.950 T:6080 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
08:27:24.950 T:6080 ERROR: CCurlFile::Open failed with code 0 for http://192.168.178.29:8089/api/version.html
08:27:24.950 T:6080 ERROR: AddOnLog: DVBViewer Client: Unable to connect to the backend service. Error: Error document empty.
08:27:24.950 T:6080 ERROR: ADDON: Dll DVBViewer Client - Client returned bad status (1) from Create and is not usable
08:27:29.694 T:6080 ERROR: PVR::CPVRClients::UpdateAddons - failed to create add-on DVBViewer Client, status = 1
.........

Thanks Manül for all your hard work


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-12

Yeah, it's high priority for me. Didn't know the old approach/loop has been removed and never tested RS being offline while working with Krypton (blame on me). Will take a look tomorrow.


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-12

@CiNcH On which platform are you running Kodi? I've a fix almost ready, but there are some changes in important functions so I want at least one more tester.


RE: 2 problems with a TV server not running 24/7 - CiNcH - 2016-12-12

I am primarily running Kodi on Android TV.


RE: 2 problems with a TV server not running 24/7 - nickr - 2016-12-13

Don't turn the server off.


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-13

https://github.com/kodi-pvr/pvr.dvbviewer/pull/46

@CiNcH Will try to build you an android version for testing.


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-13

@CiNcH please try https://manuel.mausz.at/coding/kodi/2.4.6/pvr.dvbviewer-android-arm.zip
Hope it will load.


RE: 2 problems with a TV server not running 24/7 - CiNcH - 2016-12-13

I am afraid I have to be root in order to be able to install that...


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-13

Yeah android permissions I guess. Anyone know if loading a PVR shared object from /sdcard is possible ?


RE: 2 problems with a TV server not running 24/7 - CiNcH - 2016-12-13

I now installed Kodi 17 Beta 6 on my Win10 and could reproduce both problems from the initial posting. So you can also drop me a Windows build to verify the fix.


RE: 2 problems with a TV server not running 24/7 - manül - 2016-12-13

https://manuel.mausz.at/coding/kodi/2.4.6/pvr.dvbviewer-win32.zip