Jump to content

DVBViewer Media Service on Kodi


tarotray

Recommended Posts

After switching to anew machine for running DMS and purchasing the pro version of DMS, I can use it perfectly well with DVBViewer but, on my Kodi installations (including the local installation), it continually disconnects and, eventually, reconnects again, continuously.

 

From the Kodi log, this shows the actual error occurring:

Spoiler

2020-06-01 13:07:44.252 T:10144  NOTICE: PVR Manager: Starting
2020-06-01 13:07:45.179 T:15932 WARNING: Unable to determine channel type. Defaulting to TV.
2020-06-01 13:07:45.317 T:15932 WARNING: Previous line repeats 12 times.
2020-06-01 13:07:45.317 T:15932  NOTICE: PVR Manager: Started
2020-06-01 13:07:45.563 T:8472  NOTICE: EPG thread started
2020-06-01 13:07:45.760 T:15932 WARNING: Unable to determine channel type. Defaulting to TV.
2020-06-01 13:10:13.368 T:6648 WARNING: Previous line repeats 25 times.
2020-06-01 13:10:13.368 T:6648   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2020-06-01 13:10:13.368 T:6648   ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8089/api/searchlist.html:
2020-06-01 13:10:13.368 T:6648   ERROR: AddOnLog: DVBViewer Client: Unable to open url: http://127.0.0.1:8089/api/searchlist.html
2020-06-01 13:10:13.372 T:15932   ERROR: PVR::CPVRClient::GetRecordings: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-01 13:10:13.372 T:15932   ERROR: PVR::CPVRClients::GetRecordings: PVR client 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-01 13:10:14.679 T:6648  NOTICE: AddOnLog: DVBViewer Client: Checking backend version...
2020-06-01 13:10:14.679 T:6648  NOTICE: AddOnLog: DVBViewer Client: Version: 33621505 / 2.1.6.1
2020-06-01 13:10:14.931 T:15932   ERROR: PVR::CPVRClient::GetChannels: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-01 13:10:14.931 T:15932   ERROR: PVR::CPVRClients::GetChannels: PVR client 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-01 13:10:14.998 T:13232  NOTICE: PVR Manager: Stopping
2020-06-01 13:10:15.588 T:15932 WARNING: Unable to determine channel type. Defaulting to TV.
2020-06-01 13:10:30.275 T:13232 WARNING: Previous line repeats 12 times.
2020-06-01 13:10:30.275 T:13232  NOTICE: PVR Manager: Stopped
2020-06-01 13:10:30.388 T:13232  NOTICE: PVR Manager: Starting
2020-06-01 13:10:31.516 T:8944 WARNING: Unable to determine channel type. Defaulting to TV.
2020-06-01 13:10:31.673 T:8944 WARNING: Previous line repeats 12 times.
2020-06-01 13:10:31.673 T:8944  NOTICE: PVR Manager: Started

Obviously, this is an error with DMS, itself, as you can see the CCurl failure and the inability to connect to the media server, to get channels and to get recordings.

 

The above information is from the local installation of Kodi but it occurs in all installations of Kodi, on another Windows machine and different Raspberry Pi machines.

 

Please advise. I shall supply any further information that you require.

 

support.zip 

 

P.s. What is the meaning of "WARNING: Unable to determine channel type. Defaulting to TV."?

Edited by Griga
spoiler tags added
Link to comment

You included a link to the support.zip instructions but not appended a support.zip file itself.

 

A very common problem on new installations or after a router exchange is windows firewall setting to "public" instead of "private" profile in the home network.

 

Link to comment

Sorry. My error. I enclose the file, here.

 

No. I have spent a lot of time with my firewall and I certainly have all Windows machines set to private and not public.

 

In any case, as the Kodi example is local to the DMS, it wouldn't apply.

support.zip

Link to comment

I think we had a similar log here months ago. Did you search for programs with DVBViewer before using the Kodi client? If not, please do. If this doesn't help, try adding some programs to the favorites list.

Link to comment

 

15 hours ago, Ratchet said:

I think we had a similar log here months ago. Did you search for programs with DVBViewer before using the Kodi client? If not, please do. If this doesn't help, try adding some programs to the favorites list.

Thank you for your reply. It's not been any help, unfortunately.

 

I followed your instructions and it has changed things - but not necessarily for the better.

 

This is the new Kodi log and, after the last event mentioned, Kodi froze and I had to crash it out.

 

Bear in mind that this is when I run Kodi on the same machine as the DMS, although I get similar sorts of results from all other instances of Kodi - on another Windows machine and on different Raspberry Pi installations.

Spoiler

2020-06-03 12:30:24.840 T:7188  NOTICE: PVR Manager: Starting
2020-06-03 12:30:26.040 T:7188  NOTICE: EPG thread started
2020-06-03 12:32:51.047 T:11848  NOTICE: Previous line repeats 1 times.
2020-06-03 12:32:51.047 T:11848   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2020-06-03 12:32:51.047 T:11848   ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:8089/api/recordings.html?utf8=1&images=1:
2020-06-03 12:32:51.047 T:11848   ERROR: AddOnLog: DVBViewer Client: Unable to open url: http://127.0.0.1:8089/api/recordings.html?utf8=1&images=1
2020-06-03 12:32:51.048 T:11848   ERROR: PVR::CPVRClient::GetRecordings: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.050 T:11848   ERROR: PVR::CPVRClients::GetRecordings: PVR client 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.050 T:11848  NOTICE: PVR Manager: Started
2020-06-03 12:32:51.053 T:11848   ERROR: PVR::CPVRClient::GetTimers: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.054 T:11848   ERROR: PVR::CPVRClients::GetTimers: PVR client 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.081 T:14592   ERROR: PVR::CPVRClient::GetDriveSpace: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.284 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.284 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R1'
2020-06-03 12:32:51.299 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.299 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R2'
2020-06-03 12:32:51.557 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.557 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R3'
2020-06-03 12:32:51.589 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.589 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R4 Ex'
2020-06-03 12:32:51.642 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.642 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R4 FM'
2020-06-03 12:32:51.683 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.684 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R4 LW'
2020-06-03 12:32:51.700 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.700 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R5L'
2020-06-03 12:32:51.732 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.732 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC R5SX'
2020-06-03 12:32:51.812 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.815 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC RLondon'
2020-06-03 12:32:51.842 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.842 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC WS'
2020-06-03 12:32:51.853 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.853 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '4seven (eng)'
2020-06-03 12:32:51.865 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.867 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '5 USA (eng)'
2020-06-03 12:32:51.873 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.873 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '5SELECT (eng)'
2020-06-03 12:32:51.878 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.878 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '5STAR (eng)'
2020-06-03 12:32:51.893 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.893 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '5STAR+1 (eng)'
2020-06-03 12:32:51.904 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.904 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table '5USA+1 (eng)'
2020-06-03 12:32:51.911 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.912 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'Al Jazeera Eng'
2020-06-03 12:32:51.921 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.922 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'Al Jazeera HD (AC3,eng)'
2020-06-03 12:32:51.933 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.934 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC Four (eng)'
2020-06-03 12:32:51.942 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.942 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC Four HD (AC3,eng)'
2020-06-03 12:32:51.976 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.980 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC NEWS'
2020-06-03 12:32:51.989 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:51.989 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC NEWS HD'
2020-06-03 12:32:51.999 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.000 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC One HD (AC3,eng)'
2020-06-03 12:32:52.084 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.084 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC One Lon (eng)'
2020-06-03 12:32:52.120 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.120 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC One NI HD'
2020-06-03 12:32:52.135 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.135 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC One ScotHD'
2020-06-03 12:32:52.144 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.144 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC One Wal HD'
2020-06-03 12:32:52.172 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.172 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC Parliament'
2020-06-03 12:32:52.183 T:12304   ERROR: PVR::CPVRClient::GetEPGForChannel: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.183 T:12304   ERROR: PVR::CPVREpg::Update: Failed to update table 'BBC Two (eng)'
2020-06-03 12:32:52.599 T:11808  NOTICE: AddOnLog: DVBViewer Client: Checking backend version...
2020-06-03 12:32:52.599 T:11808  NOTICE: AddOnLog: DVBViewer Client: Version: 33621505 / 2.1.6.1
2020-06-03 12:32:52.803 T:11848   ERROR: PVR::CPVRClient::GetChannels: Add-on 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:52.803 T:11848   ERROR: PVR::CPVRClients::GetChannels: PVR client 'DVBViewer Media Server 2.1.6.1 (SHANKAR):127.0.0.1:8089' returned an error: server error
2020-06-03 12:32:54.730 T:11848 WARNING: Unable to determine channel type. Defaulting to TV.
2020-06-03 12:33:01.477 T:3508 WARNING: Previous line repeats 16 times.
2020-06-03 12:33:01.477 T:3508  NOTICE: PVR Manager: Stopping
2020-06-03 12:33:11.703 T:14780  NOTICE: EPG thread started

 

Edited by Griga
spoiler tags added
Link to comment

Your svcdebug.log contains a lot of API_HandleStatus requests, most likely from the Kodi PVR add-on, but with no error. It looks like the server reply doesn't get through for some reason.

 

It is no common issue. On my PC Kodi and the Media Server communicate quite happily. I would check if security software is blocking the connection.

 

Link to comment
2 hours ago, Griga said:

Your svcdebug.log contains a lot of API_HandleStatus requests, most likely from the Kodi PVR add-on, but with no error. It looks like the server reply doesn't get through for some reason.

 

It is no common issue. On my PC Kodi and the Media Server communicate quite happily. I would check if security software is blocking the connection.

 

I have,indeed, checked that & had no success. I tried switching off the virus checker and/or firewall. On all instances of Kodi, I do occasionally, get a successful reading of the channels, recordings and EPG. In fact, I occasionally get a successful connection and can view the channels on the local instance and on the Pi. Unfortunately, this lasts a maximum of 5 minutes and, sometimes, only a few seconds, before it disconnects again and, then may or may not reconnect. Therefore, I don't think it can be anything to do with security software.

Link to comment

Hello. Is there any news on the status of this issue?

 

You have all the log files, now and only you have the full knowledge of the working of the code behind the DMS. If I cannot work out the problem's origins, I do need you to give me some clues, to guide  me, at least. I have quoted the Kodi log file, where the errors occurred.

 

The last response from you suggested that, because the svcdebug.log shows no errors, I should check if security software is blocking the connection. However, I replied that I have, indeed, checked that and had no success with solving the problem.

 

The connection, which sometimes works correctly for a temporary period, is nonetheless totally unstable at best and unusable, at worst.

 

Even though the reason I purchased the DMS was to use a certain particular machine as the server, I switched it to another machine and find no major problems. 

 

BTW: In my first post, I asked the question 'What is the meaning of "WARNING: Unable to determine channel type. Defaulting to TV."' but never received an answer.

Link to comment

It may be better to ask questions like this in the Kodi forum for the DVBViewer add-on:

 

https://forum.kodi.tv/forumdisplay.php?fid=219

 

We don't develop this add-on, we don't know its internals, and we have no experience with interpreting the logs. I can only tell you what I see in the Media Server log, and that isn't much... there are no visible errors.

 

6 minutes ago, tarotray said:

'What is the meaning of "WARNING: Unable to determine channel type. Defaulting to TV.

 

Looks like Kodi or the add-on can't decide if it is a TV or radio channel due to missing data. But that's mere guessing....

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...