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: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #16
2.4.6 cannot be loaded. I am attaching the log.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
trogggy Online
Posting Freak
Posts: 2,734
Joined: Mar 2011
Reputation: 131
Location: Monthou sur Cher, France
Post: #17
As a temporary solution I use a couple of trivial scripts to disable / enable dvbviewer - mainly because I have kodi installs that are hardly ever used for tv, or are used outside my local network...also handy for looking at a debug log (which seems to be mainly dvbviewer otherwise for me). I map them to the TV submenu.
Disable:
Code:
import xbmc
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":8,"params":{"addonid":"pvr.dvbviewer","enabled":false}}')
and
Enable:
Code:
import xbmc
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":8,"params":{"addonid":"pvr.dvbviewer","enabled":true}}')
Worst case if it doesn't load - click disable, click enable.
(This post was last modified: 2016-12-13 18:47 by trogggy.)
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #18
Quote:17:28:35.166 T:3096 DEBUG: ADDON: Dll Initializing - DVBViewer Client
17:28:35.166 T:3096 DEBUG: SECTION:LoadDLL(C:\Program Files (x86)\Kodi\addons\pvr.dvbviewer\pvr.dvbviewer.dll)
17:28:35.168 T:3096 ERROR: Win32DllLoader::Load: Failed to load "C:\Program Files (x86)\Kodi\addons\pvr.dvbviewer\pvr.dvbviewer.dll" with error 126: "Das angegebene Modul wurde nicht gefunden. "

Can you try to extract the zip file manually? Just extract everything into the folder above. No idea why installing the zip fails.
(This post was last modified: 2016-12-13 19:01 by manül.)
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #19
I actually did extract it manually, that might have been the problem... Let me try the other way...

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2016-12-13 19:12 by CiNcH.)
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #20
I uninstalled the DVBViewer Add-on and tried to install it from zip file within Kodi. Same issue.

The required DLL is actually there...

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2016-12-13 19:12 by CiNcH.)
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #21
No idea for now. I'm developing on linux, so I haven't tested my windows build. But judging from the error message the dll is just missing. Maybe some AV software is interfering?
(This post was last modified: 2016-12-13 19:13 by manül.)
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #22
The DLL is actually there. No AV, no firewall.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #23
I assume you can't use the Kodi Jenkins build system?

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #24
(2016-12-13 19:16)CiNcH Wrote:  I assume you can't use the Kodi Jenkins build system?
Yeah, that's right Sad
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #25
Pushing it and testing the nightlies is not in accordance with Kodi guidelines I assume? I would assume it is a build issue.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2016-12-13 19:27 by CiNcH.)
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #26
(2016-12-13 19:26)CiNcH Wrote:  I would assume it is a build issue.

I probably need to update visual studio.
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #27
@CiNcH Please try the newest build from a minute ago. Loads fine now.
find quote
CiNcH Offline
Fan
Posts: 376
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #28
Looks good now. PVR is starting and Live TV working...

I did a little test already...

When I start Kodi with RS being stopped, I get an error that the server is not reachable, which is perfectly fine. And I get the error once, not every minute or so. Like before, PVR manager is in the following state:

PVR manager is starting up: 0%

I now start the RS. PVR now automatically starts also. Live TV works.

Now I stop Live TV playback and stop the RS again.

I am not getting the parsing timer list error anymore every minute from the DVBViewer add-on (see initial posting), but only one error once that the server is not reachable anymore, which again is perfectly fine.

So that looks great to me. Very cool! The only problem is that I feel guilty for you not getting enough sleep this night...

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2016-12-14 11:39 by CiNcH.)
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #29
Yes, I fixed both issues in one go. The error handling was (and to some fraction still is) horrible anyway.
find quote
manül Offline
Moderator
Posts: 376
Joined: Mar 2013
Reputation: 24
Post: #30
Thread marked solved.
find quote