Kodi Community Forum
PVR IPTV Simple Client Add-on - Takes too long to change channel - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215)
+---- Thread: PVR IPTV Simple Client Add-on - Takes too long to change channel (/showthread.php?tid=223673)

Pages: 1 2 3 4 5 6 7


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - navy1978_1 - 2015-05-31

Hi hman,
No I was talking about the situation of my system without apply the patch, But I have just tried to follow your suggestion and rebuild Kodi, but I have this problem: After downloading Kodi and the patch, if I execute: "./bootstrap", I have the following error:

pi@raspberrypi ~/kodi $ ./bootstrap
autoreconf -vif .
make: autoreconf: Command not found
bootstrap.mk:34: recipe for target 'configure' failed
make: *** [configure] Error 127

And if I proceed with the next step: "git apply ../kodi-http-stream.patch", I have this other error:


pi@raspberrypi ~/kodi $ git apply ../kodi-http-stream.patch
../kodi-http-stream.patch:48: trailing whitespace.
/*!
../kodi-http-stream.patch:49: trailing whitespace.
\brief Some sources do not support HTTP HEAD request to determine i.e. mime type
../kodi-http-stream.patch:50: trailing whitespace.
\return false if HEAD requests have to be avoided
../kodi-http-stream.patch:51: trailing whitespace.
*/
../kodi-http-stream.patch:52: trailing whitespace.
bool ContentLookup() { return true; };
fatal: corrupt patch at line 633


Have you any idea of what could be the problem?
An help will be much appreciated...
Thanks!


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - navy1978_1 - 2015-06-01

OK I reply to myself:
First error: I needed to install: sudo apt-get install dh-autoreconf

Second error: the patch files contains strange chars I needed to clean it up...
After a lots to tries and after Installing a tons of libraries:

1) apt-get install swig
2) apt-get install libtag1-dev libtag1-vanilla libtag1c2a
3) sudo apt-get install autotools-dev comerr-dev dpkg-dev libalsaplayer-dev libapt-pkg-dev:armhf libasound2-dev:armhf libass-dev:armhf libatk1.0-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev libavutil-dev libbison-dev:armhf libbluray-dev:armhf libboost1.49-dev libbz2-dev:armhf libc-dev-bin libc6-dev:armhf libcaca-dev libcairo2-dev libcdio-dev libclalsadrv-dev libcrypto++-dev libcups2-dev libcurl3-gnutls-dev libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdrm-dev libegl1-mesa-dev libelf-dev libenca-dev libept-dev libevent-dev libexpat1-dev libflac-dev:armhf libfontconfig1-dev libfreetype6-dev libfribidi-dev libgconf2-dev

4)sudo apt-get install libgcrypt11-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libgles2-mesa-dev libglew-dev:armhf libglewmx-dev:armhf libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgnutls-dev libgpg-error-dev libgtk2.0-dev libhal-dev libhunspell-dev:armhf libice-dev:armhf libicu-dev libidn11-dev libiso9660-dev libjasper-dev libjbig-dev:armhf libjconv-dev libjpeg8-dev:armhf libkrb5-dev libldap2-dev:armhf libltdl-dev:armhf liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev:armhf libmpeg2-4-dev libmysqlclient-dev
5)sudo apt-get install libncurses5-dev libnspr4-dev libnss3-dev libogg-dev:armhf libopenal-dev:armhf libp11-kit-dev libpam0g-dev:armhf libpango1.0-dev libpcre++-dev libpcre3-dev libpixman-1-dev libpng12-dev libprotobuf-dev libpthread-stubs0-dev:armhf libpulse-dev:armhf librtmp-dev libsamplerate0-dev:armhf libsdl-image1.2-dev:armhf libsdl1.2-dev libslang2-dev:armhf libsm-dev:armhf libsmbclient-dev:armhf libspeex-dev:armhf libsqlite3-dev libssh-dev libssh2-1-dev libssl-dev libstdc++6-4.6-dev libtagcoll2-dev libtasn1-3-dev libtiff4-dev libtinfo-dev:armhf libtinyxml-dev libts-dev:armhf libudev-dev libv8-dev libva-dev:armhf libvdpau-dev:armhf libvorbis-dev:armhf libvpx-dev:armhf libwebp-dev:armhf libwibble-dev libx11-dev:armhf libx11-xcb-dev libxapian-dev libxau-dev:armhf libxcb-glx0-dev:armhf libxcb-render0-dev:armhf libxcb-shm0-dev:armhf libxcb1-dev:armhf libxcomposite-dev libxcursor-dev:armhf libxdamage-dev libxdmcp-dev:armhf libxext-dev:armhf libxfixes-dev libxft-dev libxi-dev libxinerama-dev:armhf libxml2-dev:armhf libxmu-dev:armhf libxrandr-dev libxrender-dev:armhf libxslt1-dev libxss-dev:armhf libxt-dev:armhf
6)sudo apt-get install libxtst-dev:armhf libxxf86vm-dev libyajl-dev libzip-dev linux-libc-dev:armhf lzma-dev mesa-common-dev python-dev python2.7-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev libnfs-dev libplist-dev libshairport-dev avahi-daemonzlib1g-dev:armhf


Now launching this command: "./configure --with-platform=raspberry-pi"


I have the following error:


checking for ogg/ogg.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking libmodplug/modplug.h usability... yes
checking libmodplug/modplug.h presence... yes
checking for libmodplug/modplug.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for libcurl soname... libcurl-gnutls.so.4
checking for CRYPTO_set_locking_callback(0) in libcurl-gnutls.so.4... no
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for main in -lgpg-error... no
configure: error: Could not find a required library. Please see the README for your platform.

Any Ideas of how to exit from this hell? :S


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - hman - 2015-06-03

sorry navy1978_1,
i added patches on gist
https://gist.github.com/armando-basile

you only need to add a newline at the end of files and apply.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - danyus - 2015-06-03

Hi , i didn't understand if the problem is solved at all...
i'm asking this because the ticket is open without solution, and author of addon asked for someone who knows pvr part better than he do, as you can see here:
http://trac.kodi.tv/ticket/15918#comment:49

So if you have solved this, you should suggest afedchin how to implement this in his addon to share this to community.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - afedchin - 2015-06-03

afedchin know about it already. this is hack and not solves issue.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - navy1978_1 - 2015-06-04

Hi Hman,
I have already fixed the problem with the patch (problem was related with CTRL-M (^M) in file I think you are using Windows to develop), but my problem is that the compilation on RaspBerry doesn't work, also if I have added tons of libraires, and I cannot understand wich is the library missed.

Just a stupid question, do you know if can I compile kodi on another linux machine adn after put it in Raspberry, maybe the missed libraries on Raspberry are present on different distribution like Ubuntu.


Please let me know.
Thanks!
Have a nice day


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - tomov - 2015-06-16

(2015-05-20, 23:20)FernetMenta Wrote:
(2015-05-20, 19:25)negge Wrote: Ideally the servers you use need fixing.

That's right, but as I mentioned on the ticket that is not always possible. Streaming services like Grooveshark issue a kind of pre-authorised URL to a service which can't be used for http HEAD requests. Every access of the url other than read would invalidate the service. For this reason we need some mechanism to explicitly avoid HEAD requests.
But this mechanism should not be abused by services being too lazy to implement proper http protocols.

Have you decided on fixing this or we're stuck on 13.2 ? Thanks.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - Sajk - 2015-06-27

Has anybody built a version from source with the "hack" that they talk about in the open ticket? Would anyone be kind to upload a version in that case? I would love to do it myself but my skills in this department are pretty much useless.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - navy1978_1 - 2015-06-27

Hi Sajk,
Nope...
I'm still blocked with the error:

checking for main in -lgpg-error... no
configure: error: Could not find a required library. Please see the README for your platform.

And the library is istalled but there is somtething else wrong... that I don't understand...


Unfortunately nodody answer to my question, so I'm thinking to buy a iptv receiver it costs 50 euros and works out of the box...

Sorry...

In any case there is a ticket opened about the problem of the topic: http://trac.kodi.tv/ticket/15918 but it seems that will be not included in the future version (15), so it seems we have to wait too long...

It is really a shame that compile kodi on raspberry is so hard and aparently doesn't work anymore, as you can see in another post I have found on this forum:

http://forum.kodi.tv/showthread.php?tid=149417


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - tomov - 2015-08-01

Looks Kodi 16 might bring us a solution https://github.com/xbmc/xbmc/pull/7407


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - MetalicMan - 2015-08-27

Hi!!

I just logged in because I´m on the same boat (tried my m3u list on kodi windows with PVR IPTV Simple Client and channel switching was taking 15 seconds), and looked everywhere for a simple solution before I decided to throw my money on a RPi2...

And the answer appears to be here:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=113424


Quote:by tommyv » Fri Jul 10, 2015 6:26 am
Here's patched version for RPi2, including 15.0 RC1, haven't tried it yet as my Rpi2 still hasn't arrived, but the developer claims the patch fixes delay in channel switching

http://www.alexelec.ru/sborka-alexelec-rpi2-1-5-20150709-raspderry-pi-2-mysql/

using google translate:

In «Kodi» added patch «add a method to avoid requeting HTTP Header», which eliminates the delay of 10 seconds when you open the stream with an empty «HTTP Header». It is for viewing IPTV via plug «IPTV Simple Client».

EDIT: my Rpi2 arrived and can confirm this release works as advertised (kodi 15 final) http://www.alexelec.ru/sborka-alexelec- ... erry-pi-2/




I´ll buy and build my 1st Pi tomorrow and will post results here.


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - MetalicMan - 2015-08-27

Ok, build and configured it. With Alexelec Build I can confirm that the timeout is gone. It´s not as quick as VLC player, but I found it reasonable. 3-5 seconds changing channel in kodi it´s way better than 15 seconds...


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - misa - 2015-08-27

(2015-08-27, 20:09)MetalicMan Wrote: Ok, build and configured it. With Alexelec Build I can confirm that the timeout is gone. It´s not as quick as VLC player, but I found it reasonable. 3-5 seconds changing channel in kodi it´s way better than 15 seconds...

But that was a paid build yes. Do you want to upload the correct non paid build then?


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - MetalicMan - 2015-08-27

Image


If you put it on translator, it says free, and if you want you can donate something. You just got to follow the links:


Image


RE: PVR IPTV Simple Client Add-on - Takes too long to change channel - misa - 2015-08-27

Yes nice........BUT that's only for 5 day's, correct me if I am wrong but that's what I have seen last week, maybe they changed it now.