Forums » Kodi (XBMC) as frontend »
Kodi Media Center ]: Write error -- Broken pipe [solved]
Added by Alexander Kamm over 9 years ago
Dear board,
It's my first post and I want to say thank you to all the developers an supporters for this great piece of software.
Unfortunately I had trouble after an software update and I want to share my experiences with you.
tvheadend is compiled from source and was rock solid. Then I had the idea to enable trans coding for tvheadend. After doing AUTOBUILD_CONFIGURE_EXTRA="--enable-libffmpeg_static_x264 and compiling again I installed the newly compiled version.
From this moment I got this error in the server syslog:
Aug 11 09:39:59 cubietruck tvheadend3842: htsp: Got connection from 192.168.188.48
Aug 11 09:39:59 cubietruck tvheadend3842: htsp: 192.168.188.48: Welcomed client software: Kodi Media Center (HTSPv18)
Aug 11 09:39:59 cubietruck tvheadend3842: htsp: 192.168.188.48 [ Kodi Media Center ]: Identified as user 'alexander'
Aug 11 09:39:59 cubietruck tvheadend3842: htsp: 192.168.188.48 [ alexander | Kodi Media Center ]: Privileges updated
Aug 11 09:40:01 cubietruck CRON5086: (root) CMD (/opt/cron_scripts/CronSetOwnership_public-Share.sh #Setzt Ownership f\303\274r /srv/fileserver/p
ublic auf :fsusers)
Aug 11 09:40:02 cubietruck tvheadend3842: htsp: 192.168.188.48 [ alexander | Kodi Media Center ]: Write error -- Broken pipe
Aug 11 09:40:02 cubietruck tvheadend3842: htsp: 192.168.188.48 [ alexander | Kodi Media Center ]: Disconnected
I tried to get rid of it by updating kodi (2:16.0~git20150810) and kodi-pvr-hts to the latest version and updated tvheadend from git to 4.1-372. But: It was of no help and I had no idea about the reason.
Server Log: http://paste.ubuntu.com/12055642/
Client Log: http://paste.ubuntu.com/12055684/
Solution
After searching the net and trying a lot of things, this helped:
Compiling tvheadend with transcoding disabled and reset all settings in kodi regarding hts.
Step 1: Applying
AUTOBUILD_CONFIGURE_EXTRA="--disable-libffmpeg_static_x264\
--disable-hdhomerun_client --mcpu=cortex-a7 --mtune=cortex-a7\
--mfpu=vfpv4-d16 --mfpu=neon-vfpv4 --funsafe-math-optimizations\
--disable-libav"
(this options are hardware specific: --mcpu=cortex-a7 --mtune=cortex-a7
--mfpu=vfpv4-d16 --mfpu=neon-vfpv4 --funsafe-math-optimizations)
Step 2: ./Autobuild.sh
Step 3: installing the freshly compiled *.deb
Step 4: Resetting Kodi
In the Live-TV menu: Disable Live-tv an set all settings to default values
Choose delete to reset the channels lists and EPG
In the add-on menu: Go to pvr-addon and set the values on all sliders to default
Step 5: Kodi menu
Go to Live-TV and enable it. Have fun ...
Profile
Server: Cubieboard 3 (cubietruck); 2x sundtek dvbs-2; HDD over SATA; Ubuntu server 14.04 image (stefanius), tvheadend4.1-372~g0913eba (compiled from source)
Client: ZOTAC Motherboard D2550ITXS-A-E/D2550ITXS-A-E; Kodibuntu 14.04; Kodi 2:16.0~git20150810.0200-9c659e8-0trusty (from ppa); kodi-pvr-hts 2.2.5-2~trusty (from ppa)