Forums » Descrambling »
TVH IPTV + Oscam + DVB API + EMM working sample conf
Added by c0m m0n over 10 years ago
Hi,
I've had a hard time fix this but now it's done. I'm neither a Tvh nor oscam ninja, so don't ask me too much how it worked but now it does
In TVH, just follow instructions for capmt (help)
My conf is :Mode : 3
Camd.socket / IP : IP of oscam
Listen : 9000 (as specifiied in oscam dvb api conf)
Here's my working unedited (bar password) oscam conf.
oscam.conf
[global]
logfile = /var/log/oscam/oscam.log
nice = -1
maxlogsize = 1000
dropdups = 1
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
emmlogdir = /var/log/oscam/emm
double_check_caid = 0500
[cache]
max_time = 100
[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
request_mode = 1
listen_port = 9000
user = tvheadend
boxtype = pc
[webif]
httpport = 3333
httprefresh = 10
httppollrefresh = 10
httpshowmeminfo = 1
httpshowuserinfo = 1
httpshowcacheexinfo = 1
httpshowecminfo = 1
httpshowloadinfo = 1
httpallowed = 192.168.2.1-192.168.2.254
hideclient_to = 15
oscam.server
[reader]
label = SMARGO
description = Smartreader
protocol = smartreader
device = SRv2;Serial:lecteur
caid = 0500
detect = cd
mhz = 534
cardmhz = 369
ident = 0500:025000,025010,025020,025030,008220,008230,041A20,041A50,021520
group = 1
emmcache = 1,3,15
blockemm-unknown = 1
blockemm-g = 1
saveemm-u = 1
saveemm-s = 1
oscam.user
[account]
user = tvheadend
pwd = xxxxxxxxxxxx
au = SMARGO
group = 1
And in my oscam log...
2014/06/12 03:37:02 1E97010 r SMARGO [viaccess] tvheadend emmtype=shared, len=69, idx=5, cnt=1: written (143 ms)
2014/06/12 03:37:04 1E97010 r SMARGO [viaccess] tvheadend emmtype=shared, len=70, idx=6, cnt=1: skipped (55 ms)
2014/06/12 03:37:08 1E97010 r SMARGO [viaccess] tvheadend emmtype=shared, len=85, idx=7, cnt=1: skipped (56 ms)
Hope this helps