forked from Ivasoft/docker-tvheadend
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1ee820917 | ||
|
|
644788414b | ||
|
|
8bf78cda30 | ||
|
|
72d025a041 | ||
|
|
6786c84726 | ||
|
|
a51be70d70 | ||
|
|
3344f9793d |
20
Dockerfile
20
Dockerfile
@@ -21,6 +21,7 @@ RUN \
|
||||
cmake \
|
||||
coreutils \
|
||||
ffmpeg-dev \
|
||||
file \
|
||||
findutils \
|
||||
g++ \
|
||||
gcc \
|
||||
@@ -85,6 +86,23 @@ RUN \
|
||||
wget \
|
||||
zlib && \
|
||||
|
||||
# build libiconv
|
||||
mkdir -p \
|
||||
/tmp/iconv-src && \
|
||||
curl -o \
|
||||
/tmp/iconv.tar.gz -L \
|
||||
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz && \
|
||||
tar xf /tmp/iconv.tar.gz -C \
|
||||
/tmp/iconv-src --strip-components=1 && \
|
||||
cd /tmp/iconv-src && \
|
||||
./configure \
|
||||
--prefix=/usr/local && \
|
||||
patch -p1 -i \
|
||||
/tmp/patches/libiconv-1-fixes.patch && \
|
||||
make && \
|
||||
make install && \
|
||||
libtool --finish /usr/local/lib && \
|
||||
|
||||
# install perl modules
|
||||
curl -L http://cpanmin.us | perl - App::cpanminus && \
|
||||
cpanm HTML::TableExtract && \
|
||||
@@ -184,7 +202,7 @@ RUN \
|
||||
./autogen.sh && \
|
||||
./configure \
|
||||
--bindir=/usr/bin \
|
||||
--sysconfdir=/config && \
|
||||
--sysconfdir=/config/comskip && \
|
||||
make && \
|
||||
make install && \
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring auto-update on startup, easy user mapping and community support. Find us for support at:
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring easy user mapping and community support. Find us for support at:
|
||||
* [forum.linuxserver.io](https://forum.linuxserver.io)
|
||||
* [IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`
|
||||
* [Podcast](https://www.linuxserver.io/index.php/category/podcast/) covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
|
||||
@@ -48,10 +48,7 @@ In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as bel
|
||||
|
||||
## Setting up the application
|
||||
|
||||
The first thing to do is to create your admin user as by default everyone is allowed to access tvheadend. Go to Configuration --> Users --> Access Entries and click Add and fill in all the required fields.
|
||||
Then go to the password tab and click Add and fill in the user name you created in the previous step and enter your password.
|
||||
Click the (login) button in the top of the webgui and check that your user is configured properly. After you have logged in, deleteor disable the * user.
|
||||
Then you can start configuring tvheadend with the wizard foun in Configuration --> General --> Base and click Start Wizard.
|
||||
The first thing to do is to run the setup wizard. If it doesn't pop up at first login, you can find it in Configuration --> General --> Base and click Start Wizard. This will guide you to set up the basic parts of tvheadend.
|
||||
|
||||
**Configuring XMLTV grabber**
|
||||
|
||||
@@ -68,7 +65,7 @@ If you allready have a configuration file, you can add it in the .xmltv folder w
|
||||
|
||||
**Comskip**
|
||||
This container comes with Comskip for commercial flagging of recordings. This you have to add in the recording config of tvheadend.
|
||||
Go to Configuration --> Recording and add the below in the Post-processor command field.
|
||||
Go to Configuration --> Recording. Change the view level to advanced in the top right corner, and add the below in the Post-processor command field.
|
||||
|
||||
```
|
||||
comskip "%f"
|
||||
|
||||
46
patches/libiconv-1-fixes.patch
Normal file
46
patches/libiconv-1-fixes.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
Contains ad hoc patches for cross building.
|
||||
|
||||
From 47345f5dcfb91da8afed7c4e6c29faa2056db447 Mon Sep 17 00:00:00 2001
|
||||
From: MXE
|
||||
Date: Fri, 7 Jun 2013 17:44:24 +1000
|
||||
Subject: [PATCH] remove gets since c++11 removed it
|
||||
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
|
||||
|
||||
|
||||
diff --git a/srclib/stdio.in.h b/srclib/stdio.in.h
|
||||
index 473c84c..dfb59eb 100644
|
||||
--- a/srclib/stdio.in.h
|
||||
+++ b/srclib/stdio.in.h
|
||||
@@ -679,22 +679,11 @@ _GL_WARN_ON_USE (getline, "getline is unportable - "
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if @GNULIB_GETS@
|
||||
-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
|
||||
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
-# undef gets
|
||||
-# define gets rpl_gets
|
||||
-# endif
|
||||
-_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
|
||||
-_GL_CXXALIAS_RPL (gets, char *, (char *s));
|
||||
-# else
|
||||
-_GL_CXXALIAS_SYS (gets, char *, (char *s));
|
||||
-# undef gets
|
||||
-# endif
|
||||
-_GL_CXXALIASWARN (gets);
|
||||
/* It is very rare that the developer ever has full control of stdin,
|
||||
- so any use of gets warrants an unconditional warning. Assume it is
|
||||
- always declared, since it is required by C89. */
|
||||
+ so any use of gets warrants an unconditional warning; besides, C11
|
||||
+ removed it. */
|
||||
+#undef gets
|
||||
+#if HAVE_RAW_DECL_GETS
|
||||
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||||
#endif
|
||||
|
||||
--
|
||||
1.8.2.3
|
||||
|
||||
Reference in New Issue
Block a user