Giter VIP home page Giter VIP logo

tvheadend-config's Introduction

TVheadend

TVheadend clonen en compileren

Info: https://tvheadend.org/boards/4/topics/24116

git clone https://github.com/tvheadend/tvheadend

sudo apt install build-essential git ccache libpcre2-dev pkg-config libssl-dev bzip2 wget libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev gettext cmake libiconv-hook-dev liburiparser-dev debhelper libcurl4-gnutls-dev python-is-python3 libdvbcsa-dev

sudo apt install dvb-apps libva-dev libva-drm2 libva-x11-2

./Autobuild.sh 

Om opties in of uit schakelen kan het volgende commando worden gebruikt

AUTOBUILD_CONFIGURE_EXTRA="--disable-libvpx --disable-libvpx_static" ./Autobuild.sh 

Note: Het deb package staat een folder hoger dan autobuild

Delta hoofd frequentie

[Main Frequency]
	DELIVERY_SYSTEM = DVBC/ANNEX_A
	FREQUENCY = 538000000
	SYMBOL_RATE = 6875000
	INNER_FEC = NONE
	MODULATION = QAM/64

CA setup

Type: DVBapi
Mode: Oscam net protocol 
IP: fill in hostname or ip
Port: 9000
Listen: Standard / auto

OScam

Installeer oscam volgens instructies https://sabrnet.wzk.cz/2019/02/oscam-installation-on-raspberry-pi-raspbian-stretch-debian-or-ubuntu/

Voor raspberry pi: https://www.linuxsat-support.com/thread/20212-oscam-server-setup-guide-raspberry-pi-from-scratch/

sudo apt install subversion cmake build-essential libssl-dev libpcsclite1 libpcsclite-dev dialog libusb-1.0-0-dev
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
cd oscam-svn
mkdir build
cd build
cmake ..
make
sudo make install

oscam.conf

[global]
logfile                       = stdout

[newcamd]
port                          = 15050@0604:048108
key                           = 0102030405060708091011121314
keepalive                     = 1

[dvbapi]
enabled                       = 1
au                            = 1
pmt_mode                      = 3
listen_port                   = 9000
user                          = tvheadend1
boxtype                       = pc

[webif]
httpport                      = 8888
httpallowed                   = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,255.255.255.255

oscam.server

[reader]
label                         = Reader-0
description                   = Delta DVB-C
protocol                      = smartreader
device                        = 002:004
caid                          = 0604
boxkey                        = 1122334455667788
rsakey                        = 3C8633AAC0D367533DEC7BB2EEEDEB8CA3ADA52E58B99BB34672783277A1DAAC3B6106AD0909774E031B2A6E30195B437683AD0FC599B87D08CEA47BE1B6C76A
detect                        = cd
mhz                           = 600
cardmhz                       = 600
group                         = 1
emmcache                      = 1,3,2,0

oscam.user

[account]
user                          = tvheadend
pwd                           = tvheadend
description                   = local tvheadend server
caid                          = 0604
au                            = Reader-0
group                         = 1
max_connections               = 5

[account]
user                          = tvheadend1
pwd                           = tvheadend1
au                            = Reader-0
group                         = 1

Picons

In TVheadend moet de inlog methode worden veranderd voor Picons

configuration > general > base > HTTP authentication: 'digest+plain' 

Stel daarna het picons path in en geef de juiste rechten

sudo mkdir /home/hts/picons
sudo chown hts:hts /home/hts/picons/

configuration > general > base > Picon path: 'file:///home/hts/picons'  

Download Picons

# Ubuntu, Bash on Ubuntu on Windows
sudo apt-get install git binutils pngquant imagemagick librsvg2-bin jq

# Ubuntu
git clone https://github.com/picons/picons.git ~/picons

Stel build-input in

Maak nieuw bestand in build-input folder met naam tvheadend.serverconf.

# hostname or ip address of tvheadend server (default: "localhost")
TVH_HOST="localhost"
# port of tvheadend API (default: 9981)
TVH_PORT="9981"
# tvheadend user name
TVH_USER="jamie"
# tvheadend password of above user
TVH_PASS=""

Stel grote van incons in

Maak nieuw bestand in build-input folder met naam backgrounds.conf.

#################################################################
### <resolution>;<resolution-padding>;<logotype>;<background> ###
#################################################################

256x256;256x256;light;transparent

Start 1-build-servicelist.sh. Kies 1 en enter.

$ bash 1-build-servicelist.sh

Which style are you going to build?
1) Service Reference
2) Service Name
#?

Start 2-build-picons.sh. Kies 1 en enter.

$ bash 2-build-picons.sh

Log file located at: /tmp/tmp.cVWBKTq9Yh.picons.log

16:06:23 - No "svgconverter.conf" file found in "build-input", using default file!
Which style are you going to build?
1) Service Reference         3) Service Name
2) Service Reference (Full)  4) Service Name (Full)
#?

De icons staan in een binaries-srp.tar in de build-output folder. Pak de hardlink versie uit en kopieer deze naar de tvheadend picons folder

cd build-output/binaries-srp/
tar xvf srp.256x256-256x256.light.on.transparent_2022-01-19--18-40-56.hardlink.tar.xz
cd srp.256x256-256x256.light.on.transparent_2022-01-19--18-40-56/
sudo cp * /home/hts/picons
sudo chown hts:hts /home/hts/picons/*

tvheadend-config's People

Contributors

nic-k avatar

Stargazers

Geert avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.