blu ring when selecting channel
#1
Hello,

I have just installed Kodi 17 beta 5 with latest Mediaportal addon.
If I select a channel in kodi to switch to I will only see the blue "working ring" and nothing will happen.
Then I have to kill kodi.

If it´s working once then it will work everytime in the current kodi session.
So the first channel selection is the important one.
This problem only occurs on my ubuntu-system.
Running Kodi 17 beta 5 on Windows and MAC I don´t have this problem.
Does anyone of you have similar issue?

regards steo86
Reply
#2
Hi,

I've been having the same problem. I'm pretty sure it relates to Windows shares not being accessible. I think there was a change in this beta.

If you have files in Windows shares, can you access them from Kodi? For example a video share?

I'm not convinced it relates to MediaPortal specifically.

Best

Mark
Reply
#3
for me it seems that the Plugin has a problem accessing the timeshift-share over smb.
I will post my log files later. There I could see that the last entry was accessing the timeshift smb share.

In generel the plugin is accessing the share with the host-name (I could see this in logfile I will post later) and not with the IP-Adress (even I configured the plugin with the IP-adress). Maybe this can be the problem?
I have already added a DNS entry in /etc/hosts on the client for my TVServer to make sure that there is no dns issue. But the problem still exists.
What is also very strange, if I add the timeshift-share as video-source over the hostname kodi hangs up. If I add this via IP I have no problem.
So for me it seems to be a DNS issue. But as I wrote I have already added a entry in /etc/hosts. But kodi doesn´t seem to use this!
This problem only occurs on my linux machine. I have a MAC and a Windows machine running with "Kodi 17 Beta 5" and both clients connecting without problems to the TV-Server.
So it´s a linux specific problem.

If found out if activate the option "RTSP" in the plugin options the connection is working. But then the system hangs up when pausing the livetv (timeshift).
Maybe the the same problem (then the client needs to access the timeshift share) occurs.
Reply
#4
Here is the log output I get.
The last entry is:

Code:
16:26:02 T:139924876031744    INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://steffen:password@TVSERVER/timeshift/live3-0.ts.tsbuffer.

then the blue ring is running and running and nothing happens. No error message.
Code:
16:26:00 T:139924876031744   DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'RTL Television'
16:26:00 T:139924876031744   DEBUG: opening live stream for channel 'RTL Television'
16:26:00 T:139924876031744  NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=881
16:26:01 T:139926099941696   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:26:02 T:139924876031744  NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: D:\Media\Timeshift\live3-0.ts.tsbuffer
16:26:02 T:139924876031744  NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
16:26:02 T:139924876031744   DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()
16:26:02 T:139924876031744  NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'D:\Media\Timeshift\live3-0.ts.tsbuffer'
16:26:02 T:139924876031744   DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate 'D:\Media\Timeshift\live3-0.ts.tsbuffer' to UNC filename.
16:26:02 T:139924876031744  NOTICE: AddOnLog: MediaPortal PVR Client: Translate path D:\Media\Timeshift\live3-0.ts.tsbuffer -> smb://steffen:password@TVSERVER/timeshift/live3-0.ts.tsbuffer
16:26:02 T:139924876031744    INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://steffen:password@TVSERVER/timeshift/live3-0.ts.tsbuffer.
16:26:23 T:139925617551104   DEBUG: Thread JobWorker 139925617551104 terminating (autodelete)
16:26:23 T:139924522133248   DEBUG: Thread JobWorker 139924522133248 terminating (autodelete)
16:26:23 T:139924530525952   DEBUG: Thread JobWorker 139924530525952 terminating (autodelete)
Reply
#5
Edit your hosts.conf in /storage/.kodi/configfiles (can be done from Windows if you have SMB sharing on). Apparently you should not edit /etc/hosts directly.

Apart from that, adding the DNS entry for the server in hosts.conf fixed the problem for me.

It makes sense that rtsp streaming would not be affected by this issue, but it doesn't help.

Apart from that, the advice seems to be to switch off everything on your network, and then restart it all, beginning with modem/router, then TV server, etc.

Hope this help.

Mark
Reply
#6
Editing the hosts didn´t solve the issue.
I worked around this problem now by redirecting all direct smb-traffic to the timeshift share to the already mounted (I will mount it via /etc/rc.local during startup) folder location:

Code:
<advancedsettings>
    <pathsubstitution>
        <substitute>
            <from>smb://steffen:password@TVSERVER/timeshift</from>
            <to>/media/data/Media/Timeshift</to>
        </substitute>
    </pathsubstitution>
</advancedsettings>
Reply
#7
You should probably report this in the OS-specific sections of the forum as this is certainly a network SMB share issue rather than a MediaPortal issue. Do you have problems accessing other network shares, for example in Videos or Music?

I'm guessing you are using LibreElec on Raspberry Pi or X64, but you don't say.
Reply
#8
no I am using "Ubuntu Server 16.10" and installed Kodi over the untable-ppa repository.

Yes as already mentioned kodi hangs up when I try to add smb-based video-source (for example the timehshift-share from my TVServer) over the hostname.
If I use the IP instead it´s working fine. So for me it seems to be more a general smb/dns issue instead of being a mediaportal-addon-issue.
I have already added a entry for my tvserver in "/etc/hosts" and also added a host entry in the advancedsettings.xml.
Both didn´t solve the problem properly. Sometimes it´s working and sometimes not. As mentioned in my earlier post important is the first channel selection in the current kodi session.
If the first channel selection is working it will always work in this session. But as already said the host-entries did´t not make it work every time on a new session.
I would say it´s working about 50% at the first channel selection. What is also very strange that the kodi.log will not show any error or timeout.
The last entry is:

Code:
16:26:02 T:139924876031744    INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://steffen:password@TVSERVER/timeshift/live3-0.ts.tsbuffer.

And then noting happens. Also the logfile will not show a warning or an error. The blue ring is then running and running and running...
The only 100%percent solution for me was adding the "substitute" to the advancedsettings.xml.
Reply

Logout Mark Read Team Forum Stats Members Help
blu ring when selecting channel0