• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7
PVR IPTV Simple Client Add-on - Takes too long to change channel
#16
i tryed to add
Code:
PVR_STRCPY(xbmcChannel.strInputFormat, "video/x-mpegts");

into PVRIptvData::GetChannels

but seems that this doesn't fix problem Sad
Reply
#17
Hi to all,

When I started this post I thought that I was the only one with this problem and that I did something wrong with the setting, but it turns out that almost everyone is having or being annoyed with the same issue as me. I know that "annoyed" is a strong word for something that is free of charge, but due to a lack of paid version of this software we, as end users, have to express our satisfactions as best as we can just to let the creators of this wonderful peace of software where the bugs are hiding.

One of the solutions, by my opinion, is to downgrade to xbmc 13.2 where changing the channels is between 1 and 5 seconds (depending on the resolution of the channel and buffer). I did it on my PC and life started to get better Smile but on the other hand my Raspberry Pi 2 is still waiting for a solution, because I (at the moment) can't find any lower version of openelec than 4.something compatible with Pi2 and those are the versions that have 10 seconds + buffering between channels.

@ Kodi-Team Keep up the good work and please post if you find any solution.

P.S. I'm not an expert in writing or reading software code and that's why I won't go any deeper on this subject, but I'm looking forward to a newer version where those 10 seconds will be reduced as much as possible.
Reply
#18
@hman can you make a new log with that change?
Reply
#19
And you should use "video/mp2t" as MIME type.
Reply
#20
Hi negge,
thanks for your response.

i checkout opdenkamp repo:
Code:
git clone https://github.com/opdenkamp/xbmc-pvr-addons -b helix

then i update xbmc-pvr-addons/addons/pvr.iptvsimple/src/PVRIptvData.cpp:
Code:
--- PVRIptvData.cpp.old    2015-05-24 17:48:10.058116268 +0200
+++ PVRIptvData.cpp.new    2015-05-24 17:50:04.641520052 +0200
@@ -531,6 +531,9 @@
       strncpy(xbmcChannel.strIconPath, channel.strLogoPath.c_str(), sizeof(xbmcChannel.strIconPath) - 1);
       xbmcChannel.bIsHidden         = false;

+      // WORKAROUND FOR Channel start/change delay
+      PVR_STRCPY(xbmcChannel.strInputFormat, "video/x-mpegts");
+
       PVR->TransferChannelEntry(handle, &xbmcChannel);
     }
   }

but it doesn't work. Now i trying to use video/mp2t
Reply
#21
Just to make sure, you did also rebuild the addon and install it?
Reply
#22
Thanks to FernetMenta and afedchin Smile today i have Kodi Helix without this problem.
I follow this steps

-- BUILD KODI HELIX --
Code:
git clone https://github.com/xbmc/xbmc -b Helix kodi
wget -O kodi-http-stream.patch http://pastebin.com/raw.php?i=RxfqgT2i
cd kodi
./bootstrap
git apply ../kodi-http-stream.patch
./configure --prefix=/usr --libdir=/usr/lib64
make
sudo make install

-- BUILD IPTVSIMPLE ADDON --
Code:
git clone https://github.com/opdenkamp/xbmc-pvr-addons.git -b helix
wget -O PVRIptvData-set-stream-type-header.patch http://pastebin.com/raw.php?i=jRmzxFDH
cd xbmc-pvr-addons
./bootstrap
patch addons/pvr.iptvsimple/src/PVRIptvData.cpp < ../PVRIptvData-set-stream-type-header.patch
./configure --prefix=/usr/lib64/kodi --enable-addons-with-dependencies
make zip

after i added addon to kodi from zip pvr.iptvsimple-linux-x86_64.zip generated in xbmc-pvr-addons/addons folder.
Reply
#23
Hi hman,
maybe it si a stupid question, but I can build koi and iptvsimple addon, also directly from my sd card menwhile openelec is running , just connecting with ssh? is that possible?
Please let me know.
I have the same problem and I didn't find any solution.

Thank you in advance
Reply
#24
I think could be possibile but probably build parameters could be differents. I use x86_64 pc and arm device and i have different configure parameters
Reply
#25
Thanks for your answer... I will give it a try,,, But i'm not sure, cause I'm using OpenElen do I need to recompile OpenElec as well?
Reply
#26
you should rebuild only kodi and iptvsimple but i don't konw openelec so could be a good idea to contact someone on official forum
Reply
#27
Thanks again hman, just last question after you fixed the problem, how long it takes for you to switch between two channels?
Just to know which is the normal time I have to expect to wait... Wink
Reply
#28
3 seconds worst case, normally 1 or 2 seconds. But this could depends by some others factors:
- your lan or wireless network traffic
- your adsl in that specific moment
- server side load in that specific moment

for test you should try to use different sources in different times and compare results
Reply
#29
Ok Thanks, Yes, I know there are many factors to taking into account, but if what you have written (max 3 secs) is related with a fast connection and also a HD channel, is what I'm looking for...
Now in my case it goes from 3/4 sec for a low resolution channel to 15 seconds for an HD channel, (and I have a very fast connection, and the server is fast as well with the browser I can switch between channels in a couple of seconds...) that is too much!
Thanks!
Reply
#30
have you rebuilded also iptvsimple plugin, uninstall old, install new iptvsimple from zip file generated ?
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
PVR IPTV Simple Client Add-on - Takes too long to change channel6