I'm not able to apply the patch for libdvbcsa. Do I need a specific OS? I have tried it with Ubuntu 20.04. I also tried it with the Dockerfile but not successful as TVH cannot get compiled at the end and I also got an error that /patches/cpan has no content.
Any hints?
Oscam Icam TVHeadend
-
- ICAM OSCam
- Chris230291
- Thread is marked as Resolved.
There are 308 replies in this Thread which was already clicked 91,707 times. The last Post () by damyaugust.
-
-
I'm not able to apply the patch for libdvbcsa. Do I need a specific OS? I have tried it with Ubuntu 20.04. I also tried it with the Dockerfile but not successful as TVH cannot get compiled at the end and I also got an error that /patches/cpan has no content.
Any hints?I think you added the patch twice and that's why...
or
-
I'm not able to apply the patch for libdvbcsa. Do I need a specific OS? I have tried it with Ubuntu 20.04. I also tried it with the Dockerfile but not successful as TVH cannot get compiled at the end and I also got an error that /patches/cpan has no content.
Any hints?I think you added the patch twice and that's why...
or
Perfect, that was it.. stupid me..
-
You have to remove the libdvbcsa(-dev) package from alpine to build the patched one BEFORE tvheadend. The patched tvheadend needs the patched libdvbcsa to compile successfully!
I rearranged the patches directory structure of the linuxserver build to:
Dockerfile
Docker
Display MoreFROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage ############## build stage ############## # package versions ARG ARGTABLE_VER="2.13" ARG XMLTV_VER="v1.0.0" # environment settings ARG TZ="Europe/Oslo" ARG TVHEADEND_COMMIT ENV HOME="/config" # copy patches COPY patches/ /tmp/patches/ RUN \ echo "**** install build packages ****" && \ apk add --no-cache \ autoconf \ automake \ bsd-compat-headers \ bzip2 \ cmake \ curl \ ffmpeg-dev \ file \ findutils \ g++ \ gcc \ gettext-dev \ git \ gnu-libiconv-dev \ gzip \ jq \ libcurl \ libgcrypt-dev \ libhdhomerun-dev \ libtool \ libva-dev \ libvpx-dev \ libxml2-dev \ libxslt-dev \ linux-headers \ make \ openssl-dev \ opus-dev \ patch \ pcre2-dev \ perl-archive-zip \ perl-boolean \ perl-capture-tiny \ perl-cgi \ perl-compress-raw-zlib \ perl-date-manip \ perl-datetime \ perl-datetime-format-strptime \ perl-datetime-timezone \ perl-dbd-sqlite \ perl-dbi \ perl-dev \ perl-digest-sha1 \ perl-doc \ perl-file-slurp \ perl-file-temp \ perl-file-which \ perl-getopt-long \ perl-html-parser \ perl-html-tree \ perl-http-cookies \ perl-io \ perl-io-html \ perl-io-socket-ssl \ perl-io-stringy \ perl-json \ perl-json-xs \ perl-libwww \ perl-lingua-en-numbers-ordinate \ perl-lingua-preferred \ perl-list-moreutils \ perl-lwp-useragent-determined \ perl-module-build \ perl-module-pluggable \ perl-net-ssleay \ perl-parse-recdescent \ perl-path-class \ perl-scalar-list-utils \ perl-term-progressbar \ perl-term-readkey \ perl-test-exception \ perl-test-requires \ perl-timedate \ perl-try-tiny \ perl-unicode-string \ perl-xml-libxml \ perl-xml-libxslt \ perl-xml-parser \ perl-xml-sax \ perl-xml-treepp \ perl-xml-twig \ perl-xml-writer \ pkgconf \ pngquant \ python3 \ sdl-dev \ tar \ uriparser-dev \ wget \ x264-dev \ x265-dev \ zlib-dev RUN \ echo "**** remove musl iconv.h and replace with gnu-iconv.h ****" && \ rm -rf /usr/include/iconv.h && \ cp /usr/include/gnu-libiconv/iconv.h /usr/include/iconv.h RUN \ echo "**** install perl modules for xmltv ****" && \ curl -s -L https://cpanmin.us | perl - App::cpanminus && \ cpanm --installdeps /tmp/patches/cpan RUN \ echo "**** compile XMLTV ****" && \ git clone https://github.com/XMLTV/xmltv.git /tmp/xmltv && \ cd /tmp/xmltv && \ git checkout ${XMLTV_VER} && \ echo "**** Perl 5.26 fixes for XMTLV ****" && \ sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_latex && \ sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_text && \ sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i grab/it/tv_grab_it.PL && \ sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i filter/tv_grep.PL && \ sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i lib/XMLTV.pm.PL && \ sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i Makefile.PL && \ PERL5LIB=`pwd` && \ echo -e "yes" | perl Makefile.PL PREFIX=/usr/ INSTALLDIRS=vendor && \ make -j 2 && \ make test && \ make DESTDIR=/tmp/xmltv-build install RUN \ echo "**** build libdvbcsa ****" && \ git clone https://github.com/glenvt18/libdvbcsa.git /tmp/libdvbcsa && \ cd /tmp/libdvbcsa && \ git apply /tmp/patches/libdvbcsa/libdvbcsa.patch && \ ./bootstrap && \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var && \ make -j 2 && \ make check && \ make DESTDIR=/tmp/libdvbcsa-build install && \ echo "**** copy to /usr for tvheadend dependency ****" && \ cp -pr /tmp/libdvbcsa-build/usr/* /usr/ RUN \ echo "**** build tvheadend ****" && \ if [ -z ${TVHEADEND_COMMIT+x} ]; then \ TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master \ | jq -r '. | .sha'); \ fi && \ mkdir -p \ /tmp/tvheadend && \ git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \ cd /tmp/tvheadend && \ git checkout ${TVHEADEND_COMMIT} && \ echo "**** patch tvheadend ****" && \ git apply /tmp/patches/tvheadend/tvheadend43.patch && \ echo "**** configure tvheadend ****" && \ ./configure \ `#Encoding` \ --disable-ffmpeg_static \ --disable-libfdkaac_static \ --disable-libtheora_static \ --disable-libopus_static \ --disable-libvorbis_static \ --disable-libvpx_static \ --disable-libx264_static \ --disable-libx265_static \ --disable-libfdkaac \ --enable-libopus \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libx265 \ \ `#Options` \ --disable-avahi \ --disable-dbus_1 \ --disable-bintray_cache \ --disable-execinfo \ --disable-hdhomerun_static \ --enable-hdhomerun_client \ --enable-libav \ --enable-pngquant \ --enable-trace \ --enable-vaapi \ --infodir=/usr/share/info \ --localstatedir=/var \ --mandir=/usr/share/man \ --prefix=/usr \ --python=python3 \ --sysconfdir=/config && \ echo "**** compile tvheadend ****" && \ make -j 2 && \ make DESTDIR=/tmp/tvheadend-build install RUN \ echo "**** compile argtable2 ****" && \ ARGTABLE_VER1="${ARGTABLE_VER//./-}" && \ mkdir -p \ /tmp/argtable && \ curl -s -o \ /tmp/argtable-src.tar.gz -L \ "https://sourceforge.net/projects/argtable/files/argtable/argtable-${ARGTABLE_VER}/argtable${ARGTABLE_VER1}.tar.gz" && \ tar xf \ /tmp/argtable-src.tar.gz -C \ /tmp/argtable --strip-components=1 && \ cp /tmp/patches/argtable/config.* /tmp/argtable && \ cd /tmp/argtable && \ ./configure \ --prefix=/usr && \ make -j 2 && \ make check && \ make DESTDIR=/tmp/argtable-build install && \ echo "**** copy to /usr for comskip dependency ****" && \ cp -pr /tmp/argtable-build/usr/* /usr/ RUN \ echo "***** compile comskip ****" && \ git clone https://github.com/erikkaashoek/Comskip /tmp/comskip && \ cd /tmp/comskip && \ ./autogen.sh && \ ./configure \ --bindir=/usr/bin \ --sysconfdir=/config/comskip && \ make -j 2 && \ make DESTDIR=/tmp/comskip-build install ############## picons stage ############## # built by https://github.com/linuxserver/picons-builder FROM ghcr.io/linuxserver/picons-builder as piconsstage ############## runtime stage ############## FROM ghcr.io/linuxserver/baseimage-alpine:3.15 # set version label ARG BUILD_DATE ARG VERSION LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL maintainer="saarg" # environment settings ENV HOME="/config" RUN \ echo "**** install runtime packages ****" && \ apk add --no-cache \ bsd-compat-headers \ bzip2 \ curl \ ffmpeg \ ffmpeg-libs \ gnu-libiconv \ gzip \ libcrypto1.1 \ libcurl \ libhdhomerun-libs \ libssl1.1 \ libva \ libva-intel-driver \ intel-media-driver \ mesa-dri-ati \ libvpx \ libxml2 \ libxslt \ linux-headers \ openssl \ opus \ pcre2 \ perl \ perl-archive-zip \ perl-boolean \ perl-capture-tiny \ perl-cgi \ perl-compress-raw-zlib \ perl-date-manip \ perl-datetime \ perl-datetime-format-strptime \ perl-datetime-timezone \ perl-dbd-sqlite \ perl-dbi \ perl-digest-sha1 \ perl-doc \ perl-file-slurp \ perl-file-temp \ perl-file-which \ perl-getopt-long \ perl-html-parser \ perl-html-tree \ perl-http-cookies \ perl-io \ perl-io-html \ perl-io-socket-ssl \ perl-io-stringy \ perl-json \ perl-json-xs \ perl-libwww \ perl-lingua-en-numbers-ordinate \ perl-lingua-preferred \ perl-list-moreutils \ perl-lwp-useragent-determined \ perl-module-build \ perl-module-pluggable \ perl-net-ssleay \ perl-parse-recdescent \ perl-path-class \ perl-scalar-list-utils \ perl-term-progressbar \ perl-term-readkey \ perl-test-exception \ perl-test-requires \ perl-timedate \ perl-try-tiny \ perl-unicode-string \ perl-xml-libxml \ perl-xml-libxslt \ perl-xml-parser \ perl-xml-sax \ perl-xml-treepp \ perl-xml-twig \ perl-xml-writer \ py3-requests \ python3 \ tar \ uriparser \ wget \ x264 \ x265 \ zlib # copy local files and buildstage artifacts COPY --from=buildstage /tmp/libdvbcsa-build/usr/ /usr/ COPY --from=buildstage /tmp/argtable-build/usr/ /usr/ COPY --from=buildstage /tmp/comskip-build/usr/ /usr/ COPY --from=buildstage /tmp/tvheadend-build/usr/ /usr/ COPY --from=buildstage /tmp/xmltv-build/usr/ /usr/ COPY --from=buildstage /usr/local/share/man/ /usr/local/share/man/ COPY --from=buildstage /usr/local/share/perl5/ /usr/local/share/perl5/ COPY --from=piconsstage /picons.tar.bz2 /picons.tar.bz2 COPY root/ / # ports and volumes EXPOSE 9981 9982 VOLUME /config
i am trying to install your dockerfile on a proxmox container. The basis for this is an Alpine Linux 3.5, just like yours.
The problem is that after the command
the following error occurs
CodeCT101:/tmp/tvheadend# make -j 2 make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl no pl pt ro ru sl sk sq sv tr uk zh zh-Hans" all make[1]: Entering directory '/tmp/tvheadend' make -f Makefile.webui WEBUI=std compile-std make[2]: Entering directory '/tmp/tvheadend' CC src/uuid.o CC src/main.o stat: unrecognized option: printf=%-35n %7s\n
Do you have an idea how to solve this?
-
Hi,
sounds great.
I'm not a Linux profi, therefore I would need some support.
I run bare linux debian.
Can somebody briefly describe the steps to come to a patched TVH ICAM version?
I pulled https://github.com/glenvt18/libdvbcsa and applied the patch locally.
Libtool, config und make are successfully passed. And then?
I also pulled latest TVH and applied the patch.
I configured nothing special regarding dvbcsa, ok?
Build failed with
src/descrambler/tvhcsa.c:228:5: error: implicit declaration of function ‘dvbcsa_bs_key_set_ecm’; did you mean ‘dvbcsa_bs_key_set’? [-Werror=implicit-function-declaration]
dvbcsa_bs_key_set_ecm(ecm, even, csa->csa_key_even);
^~~~~~~~~~~~~~~~~~~~~
dvbcsa_bs_key_set
Can somebody help?
Another (maybe) stupid question:
do I need a special "ICAM cline" by special providers?
Or do available regular clines provide the neccessary keys already?
O.
-
-
Did you download the entire repo first? https://github.com/linuxserver/docker-tvheadend
Also you need to alter the `patches` directory to match the layout posted above
-
No. Do I have to clone another repo? Was not so obvious.
Thanks
-
Yes
1. Clone this repo https://github.com/linuxserver/docker-tvheadend
2. Download patches libdvbcsa.patch.zip (aae3d0c) + tvheadend43.patch.zip (1295dd2)
3. Change the patched folder to match...
Codepatches/ ├─argtable/ │ ├─config.guess │ └─config.sub ├─cpan/ │ └─cpanfile ├─libdvbcsa/ │ └─libdvbcsa.patch └─tvheadend/ └─tvheadend43.patch
4. Change the Dockerfile to...
Docker
Display MoreFROM ghcr.io/linuxserver/baseimage-alpine:3.15 as buildstage ############## build stage ############## # package versions ARG ARGTABLE_VER="2.13" ARG XMLTV_VER="v1.0.0" # environment settings ARG TZ="Europe/Oslo" ARG TVHEADEND_COMMIT ENV HOME="/config" # copy patches COPY patches/ /tmp/patches/ RUN \ echo "**** install build packages ****" && \ apk add --no-cache \ autoconf \ automake \ bsd-compat-headers \ bzip2 \ cmake \ curl \ ffmpeg-dev \ file \ findutils \ g++ \ gcc \ gettext-dev \ git \ gnu-libiconv-dev \ gzip \ jq \ libcurl \ libgcrypt-dev \ libhdhomerun-dev \ libtool \ libva-dev \ libvpx-dev \ libxml2-dev \ libxslt-dev \ linux-headers \ make \ openssl-dev \ opus-dev \ patch \ pcre2-dev \ perl-archive-zip \ perl-boolean \ perl-capture-tiny \ perl-cgi \ perl-compress-raw-zlib \ perl-date-manip \ perl-datetime \ perl-datetime-format-strptime \ perl-datetime-timezone \ perl-dbd-sqlite \ perl-dbi \ perl-dev \ perl-digest-sha1 \ perl-doc \ perl-file-slurp \ perl-file-temp \ perl-file-which \ perl-getopt-long \ perl-html-parser \ perl-html-tree \ perl-http-cookies \ perl-io \ perl-io-html \ perl-io-socket-ssl \ perl-io-stringy \ perl-json \ perl-json-xs \ perl-libwww \ perl-lingua-en-numbers-ordinate \ perl-lingua-preferred \ perl-list-moreutils \ perl-lwp-useragent-determined \ perl-module-build \ perl-module-pluggable \ perl-net-ssleay \ perl-parse-recdescent \ perl-path-class \ perl-scalar-list-utils \ perl-term-progressbar \ perl-term-readkey \ perl-test-exception \ perl-test-requires \ perl-timedate \ perl-try-tiny \ perl-unicode-string \ perl-xml-libxml \ perl-xml-libxslt \ perl-xml-parser \ perl-xml-sax \ perl-xml-treepp \ perl-xml-twig \ perl-xml-writer \ pkgconf \ pngquant \ python3 \ sdl-dev \ tar \ uriparser-dev \ wget \ x264-dev \ x265-dev \ zlib-dev RUN \ echo "**** remove musl iconv.h and replace with gnu-iconv.h ****" && \ rm -rf /usr/include/iconv.h && \ cp /usr/include/gnu-libiconv/iconv.h /usr/include/iconv.h RUN \ echo "**** install perl modules for xmltv ****" && \ curl -s -L https://cpanmin.us | perl - App::cpanminus && \ cpanm --installdeps /tmp/patches/cpan RUN \ echo "**** compile XMLTV ****" && \ git clone https://github.com/XMLTV/xmltv.git /tmp/xmltv && \ cd /tmp/xmltv && \ git checkout ${XMLTV_VER} && \ echo "**** Perl 5.26 fixes for XMTLV ****" && \ sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_latex && \ sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_text && \ sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i grab/it/tv_grab_it.PL && \ sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i filter/tv_grep.PL && \ sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i lib/XMLTV.pm.PL && \ sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i Makefile.PL && \ PERL5LIB=`pwd` && \ echo -e "yes" | perl Makefile.PL PREFIX=/usr/ INSTALLDIRS=vendor && \ make -j 2 && \ make test && \ make DESTDIR=/tmp/xmltv-build install RUN \ echo "**** build libdvbcsa ****" && \ git clone https://github.com/glenvt18/libdvbcsa.git /tmp/libdvbcsa && \ cd /tmp/libdvbcsa && \ git apply /tmp/patches/libdvbcsa/libdvbcsa.patch && \ ./bootstrap && \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var && \ make -j 2 && \ make check && \ make DESTDIR=/tmp/libdvbcsa-build install && \ echo "**** copy to /usr for tvheadend dependency ****" && \ cp -pr /tmp/libdvbcsa-build/usr/* /usr/ RUN \ echo "**** build tvheadend ****" && \ if [ -z ${TVHEADEND_COMMIT+x} ]; then \ TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master \ | jq -r '. | .sha'); \ fi && \ mkdir -p \ /tmp/tvheadend && \ git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \ cd /tmp/tvheadend && \ git checkout ${TVHEADEND_COMMIT} && \ echo "**** patch tvheadend ****" && \ git apply /tmp/patches/tvheadend/tvheadend43.patch && \ echo "**** configure tvheadend ****" && \ ./configure \ `#Encoding` \ --disable-ffmpeg_static \ --disable-libfdkaac_static \ --disable-libtheora_static \ --disable-libopus_static \ --disable-libvorbis_static \ --disable-libvpx_static \ --disable-libx264_static \ --disable-libx265_static \ --disable-libfdkaac \ --enable-libopus \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libx265 \ \ `#Options` \ --disable-avahi \ --disable-dbus_1 \ --disable-bintray_cache \ --disable-execinfo \ --disable-hdhomerun_static \ --enable-hdhomerun_client \ --enable-libav \ --enable-pngquant \ --enable-trace \ --enable-vaapi \ --infodir=/usr/share/info \ --localstatedir=/var \ --mandir=/usr/share/man \ --prefix=/usr \ --python=python3 \ --sysconfdir=/config && \ echo "**** compile tvheadend ****" && \ make -j 2 && \ make DESTDIR=/tmp/tvheadend-build install RUN \ echo "**** compile argtable2 ****" && \ ARGTABLE_VER1="${ARGTABLE_VER//./-}" && \ mkdir -p \ /tmp/argtable && \ curl -s -o \ /tmp/argtable-src.tar.gz -L \ "https://sourceforge.net/projects/argtable/files/argtable/argtable-${ARGTABLE_VER}/argtable${ARGTABLE_VER1}.tar.gz" && \ tar xf \ /tmp/argtable-src.tar.gz -C \ /tmp/argtable --strip-components=1 && \ cp /tmp/patches/argtable/config.* /tmp/argtable && \ cd /tmp/argtable && \ ./configure \ --prefix=/usr && \ make -j 2 && \ make check && \ make DESTDIR=/tmp/argtable-build install && \ echo "**** copy to /usr for comskip dependency ****" && \ cp -pr /tmp/argtable-build/usr/* /usr/ RUN \ echo "***** compile comskip ****" && \ git clone https://github.com/erikkaashoek/Comskip /tmp/comskip && \ cd /tmp/comskip && \ ./autogen.sh && \ ./configure \ --bindir=/usr/bin \ --sysconfdir=/config/comskip && \ make -j 2 && \ make DESTDIR=/tmp/comskip-build install ############## picons stage ############## # built by https://github.com/linuxserver/picons-builder FROM ghcr.io/linuxserver/picons-builder as piconsstage ############## runtime stage ############## FROM ghcr.io/linuxserver/baseimage-alpine:3.15 # set version label ARG BUILD_DATE ARG VERSION LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL maintainer="saarg" # environment settings ENV HOME="/config" RUN \ echo "**** install runtime packages ****" && \ apk add --no-cache \ bsd-compat-headers \ bzip2 \ curl \ ffmpeg \ ffmpeg-libs \ gnu-libiconv \ gzip \ libcrypto1.1 \ libcurl \ libhdhomerun-libs \ libssl1.1 \ libva \ libva-intel-driver \ intel-media-driver \ mesa-dri-ati \ libvpx \ libxml2 \ libxslt \ linux-headers \ openssl \ opus \ pcre2 \ perl \ perl-archive-zip \ perl-boolean \ perl-capture-tiny \ perl-cgi \ perl-compress-raw-zlib \ perl-date-manip \ perl-datetime \ perl-datetime-format-strptime \ perl-datetime-timezone \ perl-dbd-sqlite \ perl-dbi \ perl-digest-sha1 \ perl-doc \ perl-file-slurp \ perl-file-temp \ perl-file-which \ perl-getopt-long \ perl-html-parser \ perl-html-tree \ perl-http-cookies \ perl-io \ perl-io-html \ perl-io-socket-ssl \ perl-io-stringy \ perl-json \ perl-json-xs \ perl-libwww \ perl-lingua-en-numbers-ordinate \ perl-lingua-preferred \ perl-list-moreutils \ perl-lwp-useragent-determined \ perl-module-build \ perl-module-pluggable \ perl-net-ssleay \ perl-parse-recdescent \ perl-path-class \ perl-scalar-list-utils \ perl-term-progressbar \ perl-term-readkey \ perl-test-exception \ perl-test-requires \ perl-timedate \ perl-try-tiny \ perl-unicode-string \ perl-xml-libxml \ perl-xml-libxslt \ perl-xml-parser \ perl-xml-sax \ perl-xml-treepp \ perl-xml-twig \ perl-xml-writer \ py3-requests \ python3 \ tar \ uriparser \ wget \ x264 \ x265 \ zlib # copy local files and buildstage artifacts COPY --from=buildstage /tmp/libdvbcsa-build/usr/ /usr/ COPY --from=buildstage /tmp/argtable-build/usr/ /usr/ COPY --from=buildstage /tmp/comskip-build/usr/ /usr/ COPY --from=buildstage /tmp/tvheadend-build/usr/ /usr/ COPY --from=buildstage /tmp/xmltv-build/usr/ /usr/ COPY --from=buildstage /usr/local/share/man/ /usr/local/share/man/ COPY --from=buildstage /usr/local/share/perl5/ /usr/local/share/perl5/ COPY --from=piconsstage /picons.tar.bz2 /picons.tar.bz2 COPY root/ / # ports and volumes EXPOSE 9981 9982 VOLUME /config
5. Thank Fegol and Setti
-
jenseneverest
Selected a post as the best answer. -
Thank you
-
also many thanks for the Docker solution. It works.
GREAT!!!
But I'm still struggeling with building of a pure debian solution.
I successfully compiled patched dvbcsa.
respective .h and .o file are available.-
I also applied the patch for tvheadend.
What do I have to configure now for including these new library files in a successfull tvh built?
Currenty built is aborted with
CodeCC src/descrambler/tvhcsa.o src/descrambler/tvhcsa.c: In function ‘tvhcsa_set_key_even’: src/descrambler/tvhcsa.c:228:5: error: implicit declaration of function ‘dvbcsa_bs_key_set_ecm’; did you mean ‘dvbcsa_bs_key_set’? [-Werror=implicit-function-declaration] dvbcsa_bs_key_set_ecm(ecm, even, csa->csa_key_even); ^~~~~~~~~~~~~~~~~~~~~ dvbcsa_bs_key_set cc1: all warnings being treated as errors make: *** [Makefile:717: /opt/tvheadend_icam/build.linux/src/descrambler/tvhcsa.o] Fehler 1
-
also many thanks for the Docker solution. It works.
GREAT!!!
But I'm still struggeling with building of a pure debian solution.
I successfully compiled patched dvbcsa.
respective .h and .o file are available.-
I also applied the patch for tvheadend.
What do I have to configure now for including these new library files in a successfull tvh built?
Currenty built is aborted with
CodeCC src/descrambler/tvhcsa.o src/descrambler/tvhcsa.c: In function ‘tvhcsa_set_key_even’: src/descrambler/tvhcsa.c:228:5: error: implicit declaration of function ‘dvbcsa_bs_key_set_ecm’; did you mean ‘dvbcsa_bs_key_set’? [-Werror=implicit-function-declaration] dvbcsa_bs_key_set_ecm(ecm, even, csa->csa_key_even); ^~~~~~~~~~~~~~~~~~~~~ dvbcsa_bs_key_set cc1: all warnings being treated as errors make: *** [Makefile:717: /opt/tvheadend_icam/build.linux/src/descrambler/tvhcsa.o] Fehler 1
try uninstalling dvbcsa...
sudo apt-get purge libdvbcsa*
and install the patched dvbcsa
sudo make install
...
-
Once again THX! Now it works!!! 1000+1 THX.
-
the following error occurs
CodeCT101:/tmp/tvheadend# make -j 2 make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl no pl pt ro ru sl sk sq sv tr uk zh zh-Hans" all make[1]: Entering directory '/tmp/tvheadend' make -f Makefile.webui WEBUI=std compile-std make[2]: Entering directory '/tmp/tvheadend' CC src/uuid.o CC src/main.o stat: unrecognized option: printf=%-35n %7s\n
Do you have an idea how to solve this?
This is because not installed package "coreutils"
p.s.
If dont want to wait compilation to take hours
edit
wherever you found it
to
This will use all available CPU treads of host for compilation, not just 2 of them.
-
Using all cores might not be such a good idea?
2 is low but then it doesn't take a long time anyways.
-
Using all cores might not be such a good idea?
2 is low but then it doesn't take a long time anyways.
If have more treads doesn't matter, load on all tread is less concentrated.
Peak load is shorter and cannot interrupt near anything, even Turbo-boost is not activated (depend on system)so to be safer let's make compromise
-
The reason I mention it is because I think its fair to assume people will be building on the same machine they intend to run it on.
If this is the case then its also fair to assume it could be more than just a TVH server... It could be file sharing, Plex, router/DNS, surveillance, downloads, etc.
Didn't want people upset when there servers lock up/crash
-
The reason I mention it is because I think its fair to assume people will be building on the same machine they intend to run it on.
If this is the case then its also fair to assume it could be more than just a TVH server... It could be file sharing, Plex, router/DNS, surveillance, downloads, etc.
Didn't want people upset when there servers lock up/crash
Let's imagine that they have dual core cpu without hyper-treading
what is difference? -
@Chris230291: Is it possible to share your oscam.conf and oscam.user which is working for you with TVH?
-
@Chris230291: Is it possible to share your oscam.conf and oscam.user which is working for you with TVH?
Sure
Code
Display More[global] disablelog = 1 logfile = /var/log/oscam.log nice = -20 resolvegethostbyname = 1 disablecrccws_only_for = 0500:030B00,060A00,060C00;1819:00006D;09C4:000000;098C:000000;1884:000000;1841:000000;1811:003311,003315;1883:003311;092B:000000;1813:000068;0B01:000000;098D:000000;091F:000000;1813:000000 [cache] [dvbapi] enabled = 1 au = 1 pmt_mode = 0 request_mode = 1 listen_port = 9001 delayer = 60 user = tvheadend read_sdt = 1 write_sdt_prov = 1 boxtype = pc [webif] httpport = 8888 httpallowed = 10.0.1.1-255.255.255.255
Code# oscam.user generated automatically by Streamboard OSCAM 1.20_svn SVN r11546-798 # Read more: http://www.streamboard.tv/svn/oscam/trunk/Distribution/doc/txt/oscam.user.txt [account] user = tvheadend pwd = tvheadend monlevel = 4 au = 1 group = 1 max_connections = 99
Make sure to map any necessary ports to the Docker container or run it in `host` mode
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!