Kodi 19 crashes with PVR IPTV Client

Hi everybody!. I installed Kodi 19 with kodi-x11 and the pvr iptv pluggin from AUR, but when I start Kodi it crashes. I tried uninstalling the plugin and then Kodi runs fine. ¿Someone with the same problem?

This says in the crashlog file:

2021-05-03 17:50:20.222 T:47664 WARNING : CAddonMgr: ‘inputstream.ffmpegdirect’ required by ‘pvr.iptvsimple’ is missing. Add-on may not function correctly
2021-05-03 17:50:20.222 T:47664 WARNING : CAddonMgr: ‘inputstream.adaptive’ required by ‘pvr.iptvsimple’ is missing. Add-on may not function correctly
2021-05-03 17:50:20.222 T:47664 WARNING : CAddonMgr: ‘inputstream.rtmp’ required by ‘pvr.iptvsimple’ is missing. Add-on may not function correctly

I fixed this adding in PKGBUILD, between cd and cmake:

CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"

So this theme is solved. Thanks!

Hello costancho,

sorry for my poor English i have no practice here in Germany.
With me Manjaro is up to date and Kodi too.
At my Notebook is kodi-addon-pvr-iptvsimple 7.6.1-1.
Kodi and addon runs fine.
My PC same is up to date. But there is Kodi with kodi-addon-pvr-iptvsimple 7.6.2-1. Kodi crashes at startup every time, except i uninstall kodi-addon-pvr-iptvsimple 7.6.2-1 than it start up with no crash. Says that pvr-iptvsimple is missing.
So how and where you did or do the changes?
Or how can i downgrade to version before? 7.6.1-1?

Oh I am quit good on Windows and hardware.
I started with Opensuse than Tumbleweed and now I am on Manjaro.
I learned a lot in between, but I wouldn’t say i am quit good on Linux jet.

Thanks for your or anyone else help
Greetings

Sorry for my poor English i have no practice here in Germany.

Tony

Hi Daumeier:

I make this changes in the PKGBUILD file.

First:

in console, download the file: git clone https://aur.archlinux.org/kodi-addon-pvr-iptvsimple.git

Then:

Enter to the directory created and edit the PKGBUILD file, between cd and cmake lines, with:

CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"

For example:

build() {
mkdir -p “pvr.iptvsimple-${pkgver}-${_koditarget}/build”
cd “pvr.iptvsimple-${pkgver}-${_koditarget}/build”

    CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
    CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"

    cmake \
            -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
            -DCMAKE_BUILD_TYPE=Release \
            -DBUILD_SHARED_LIBS=1 \
            -DADDONS_TO_BUILD=pvr.iptvsimple \
            -DADDONS_SRC_PREFIX=../.. \
            ../../xbmc-${_kodiver}-${_koditarget}/cmake/addons
    make

Then: save the file and run makepkg -si in the directory of the PKGBUILD

Hello costancho,

thank you.

After I opened PKGBUILD and made the changes.
prepare() {
cd xbmc-${_kodiver}-${_koditarget}
#patch -p1 cmake/scripts/common/HandleDepends.cmake ${srcdir}/8f714dcc7f1a1dfa9b57ef18c3f4accc62cb0652.diff
#sed -i “s|-p1 -i|–binary -p1 -i|” cmake/scripts/common/HandleDepends.cmake
#sed -i ‘s/GIT_SHALLOW 1/GIT_SHALLOW “”/g’ cmake/scripts/common/HandleDepends.cmake
}

build() {
mkdir -p “pvr.iptvsimple-${pkgver}-${_koditarget}/build”
cd “pvr.iptvsimple-${pkgver}-${_koditarget}/build”

    CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
    CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"

    cmake \
            -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
            -DCMAKE_BUILD_TYPE=Release \
            -DBUILD_SHARED_LIBS=1 \
            -DADDONS_TO_BUILD=pvr.iptvsimple \
            -DADDONS_SRC_PREFIX=../.. \
            ../../xbmc-${_kodiver}-${_koditarget}/cmake/addons
    make

}
than run makepkg -si

All run through with no error
Asked for install and I confirmed it.

And startup of Kodi I get asked to activate for the iptv addon which I confirmed
and all is fine now.
Kodi runs with pvr.iptvsimple 7.6.2

Later I will do this on my Notebook too.
Thank you.

Can you or some else please tell explain me roughly, because I love to learn new things.

What happend “roughly” in the background?
The output was to fast and to much to show and see/read in the console.

Why I was not allowed to run as SUDO?
Why only as a user?
So the changes are only for me and not for other user? (even though I don’t have any other use than root)

many many thanks again
Tony

Hello again,

now I run this on my Notebook.

Started makepkg -si and it run through with no error, but at the end it asked me for the SUDO password.
So it made changes to the system also and not only for the user (me)?

And again many thanks
Tony