Solved Issue - 2 problems with a TV server not running 24/7

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Bug  2 problems with a TV server not running 24/7
Post: #1
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.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
lokum Offline
Junior Member
Posts: 28
Joined: Mar 2016
Reputation: 0
Post: #2
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
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #3
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.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #4
Yeah, implementation is missing. Will take a closer look next week. Hope I can fix it before Krypton release.
(This post was last modified: 2016-12-10 01:07 by manül.)
find quote
candrian Offline
Junior Member
Posts: 17
Joined: Jun 2015
Reputation: 0
Tongue  RE: 2 problems with a TV server not running 24/7
Post: #5
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
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #6
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.
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #7
@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.
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #8
I am primarily running Kodi on Android TV.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
nickr Online
Team-Kodi Member
Posts: 18,186
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #9
Don't turn the server off.

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #10
https://github.com/kodi-pvr/pvr.dvbviewer/pull/46

@CiNcH Will try to build you an android version for testing.
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #11
@CiNcH please try https://manuel.mausz.at/coding/kodi/2.4....id-arm.zip
Hope it will load.
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #12
I am afraid I have to be root in order to be able to install that...

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #13
Yeah android permissions I guess. Anyone know if loading a PVR shared object from /sdcard is possible ?
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #14
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.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
manül Offline
Moderator
Posts: 387
Joined: Mar 2013
Reputation: 24
Post: #15
https://manuel.mausz.at/coding/kodi/2.4....-win32.zip
find quote
Post Reply