Fireballxl5, could it be the plugin discussed here?
http://forums.openpl...ool-in-openpli/
On the other hand, though, littlesat claims it can only decrease volume, not increase.
Posted 11 April 2015 - 19:39
Fireballxl5, could it be the plugin discussed here?
http://forums.openpl...ool-in-openpli/
On the other hand, though, littlesat claims it can only decrease volume, not increase.
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Posted 11 April 2015 - 22:09
Hi there ..
I'm trying to replicate the VDR setup found at http://forums.openpl...-11#entry386566
But for now I'm stuck at this point. Would somebody be so kind and share your working oscam+vdr/channels config files? Thanks!
VDR says:
asrock vdr: [19585] DVBAPI-Error: poll timed out
asrock vdr: [19585] DVBAPI-Error: Error in read pmt
asrock vdr: [19585] DVBAPI-Error: poll timed out
asrock vdr: [19585] DVBAPI-Error: Error in read pmt
asrock vdr: [19584] CAM 1: module ready
asrock vdr: [19584] DVBAPI: CaInfo: 0.0 sending CA info
asrock vdr: [19755] TS buffer on device 1 thread started (pid=19576, tid=19755, prio=high)
asrock vdr: [19755] TS buffer on device 1 thread ended (pid=19576, tid=19755)
asrock vdr: [19754] buffer stats: 56024 (1%) used
but OSCAM says 0 ECMpids:
22:38:00 14FDBC0 c Found 0 ECMpids and 0 STREAMpids in PMT
22:38:00 14FDBC0 c [DVBAPI] Receiver wants to demux srvid 107C on adapter 0000 camask 0001 index 0000 pmtpid 0000
22:38:00 14FDBC0 c New program number: 107C (FFFE:107C unknown) [pmt_list_management 3]
if I run the python script I get 1 ECMpid, but this is not helping VDR:
22:36:51 14FDBC0 c [ADD PID 0] CAID: FFFF ECM_PID: 1FFF PROVID: 000000
22:36:51 14FDBC0 c [ADD STREAM 0] CAID: FFFF ECM_PID: 1FFF PROVID: 000000
22:36:51 14FDBC0 c Found 1 ECMpids and 1 STREAMpids in PMT
22:36:51 14FDBC0 c [DVBAPI] Receiver wants to demux srvid 107C on adapter 0000 camask 0001 index 0000 pmtpid 1004
22:36:51 14FDBC0 c New program number: 107C (FFFF:107C unknown) [pmt_list_management 3]
22:36:51 14FDBC0 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID FFFF PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1004 VPID 1005
22:36:51 14FDBC0 c local (FFFF&000000/0000/107C/09:XXXXXXXX): found (1 ms) by OSEmu-BISS
Edited by No0ne, 11 April 2015 - 22:09.
Posted 11 April 2015 - 22:46
Old revision oscam in use.... upgrade first and streamboard is there for oscam support since this has nothing to do with BBC/ITV @27.5W
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Posted 12 April 2015 - 06:53
Thanks .. so now I upgraded all to the latest version: VDR=2.2.0, DVBAPI=last-git-rev, OSCAM=last-svn-rev.
The result is basically the same (HasCaDescriptors 0), I have no idea how this should have worked automatically (VDR descrambling PMT and so on) ...
Apr 12 07:52:16 asrock vdr: [5970] CAM 1: assigned to device 1 Apr 12 07:52:16 asrock vdr: [6022] streamdev-writer thread started (pid=5961, tid=6022, prio=high) Apr 12 07:52:16 asrock vdr: [6023] streamdev-livestreaming thread started (pid=5961, tid=6023, prio=high) Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 CA_PMT decoding len=10 lm=4 prg=4220 len=0 Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: pid=2,1005 len=0 (0x0) Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: pid=4,0029 len=0 (0x0) Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=4 Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 answer to query suppressed Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 set CAM decrypt (SID 4220 (0x107C), caLm 4, HasCaDescriptors 0) Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: CA_PMT doesnt contain CA descriptors Apr 12 07:52:16 asrock vdr: [6024] device 1 receiver thread started (pid=5961, tid=6024, prio=high) Apr 12 07:52:16 asrock vdr: [6025] device 1 TS buffer thread started (pid=5961, tid=6025, prio=high) Apr 12 07:52:20 asrock vdr: [6024] detaching receiver - wont decrypt channel S27.5W-1-4096-4220 with CAM 1 Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 CA_PMT decoding len=6 lm=5 prg=4220 len=0 Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=5 Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 answer to query suppressed Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 set CAM decrypt (SID 4220 (0x107C), caLm 5, HasCaDescriptors 0) Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 CA_PMT decoding len=6 lm=3 prg=0 len=0 Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=3 Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 answer to query suppressed Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 stop decrypt Apr 12 07:52:20 asrock vdr: [6024] CAM 1: unassigned
Edited by No0ne, 12 April 2015 - 06:54.
Posted 14 April 2015 - 14:00
Fireballxl5, could it be the plugin discussed here?
http://forums.openpl...ool-in-openpli/
On the other hand, though, littlesat claims it can only decrease volume, not increase.
also - see #940
Hi Robinson
Thanks for the plugin info that might come in handy on my Octagon SF8. I have checked the Vu Zero running Vix Apollo 152 again and the audio is definitely louder, it is almost balanced with the SD broadcasts. I don't have a tester, but to my old ears the volumes are now about the same.
Why will the plugin be handy? Well the 152 Apollo version of Vix for the Octagon doesn't have the same options as the Vu Zero, so I'm guessing that there is an additional hardware option on the Zero.
Posted 20 April 2015 - 19:00
Hi Guys
I real all topic , and i tried many once , but still without success .
I've VU+Solo with BH Image ; I instaled Oscam Ymod with a valid oscam.keys included Biss key for BBC
also i add the 3 files ( bbc_pmt_starter.sh ) + ( bbc_pmt_v5.py ) & ( enigma2_pre_start.sh ) to /usr/bin and i give them Chmode 755 , but i don't know how to run it via telnet , or it is already running when give them 755 .
my config for bbc_pmt_starter.sh :
#!/bin/sh
scriptName="bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux0"
logName=/dev/null
#logName=/tmp/bbc_pmt.log
while [ 1 ]
do
echo "=== starting $scriptName" >> $logName
$scriptPath/$scriptName >> $logName 2>&1
echo "=== $scriptName exited..." >> $logName
done
and config for bbc_pmt_v5.py :
#!/usr/bin/python -u
import socket
import time
import os
import re
import glob
import sys
import getopt
import xml.etree.ElementTree as ET
# cmdline
try:
opts, args = getopt.getopt(sys.argv[1:],"ht:d:a:p:")
except getopt.GetoptError:
print 'needed params: -t <short|long> -d <demux>'
print 'optional params: -a <user:password> -p <port>'
sys.exit(2)
auth = ""
port = ""
for opt, arg in opts:
if opt == '-h':
print 'needed params: -t <short|long> -d <demux>'
print 'optional params: -a <user:password> -p <port>'
lsDemux = glob.glob("/dev/dvb/adapter*/demux*")
print "available demuxes:"
for file in lsDemux:
print file
if len(lsDemux) == 0:
print "No demux available"
sys.exit()
elif opt in ("-t"):
capmtType = arg
elif opt in ("-d"):
demux = arg
elif opt in ("-a"):
auth = arg + "@"
elif opt in ("-p"):
port = ":" + arg
print "capmtType: %s, demux: %s" % (capmtType, demux)
# init
#capmt = bytearray("\x9f\x80\x32\x1e\x03\x44\x40\x09\x00\x13\x01\x81\x08\x0C\xFD\xAC\xE7\x10\x00\x00\x01\x82\x02\x08\x03\x84\x02\x17\xD4\x0d\x17\xD4\x00\x00")
oldSid = "0x" # no SID
namespace = ":CFDACE7:"
timeout = 200
socketIsOpen = False
# main loop
while True:
time.sleep(0.5)
pipe = os.popen("""wget -q -O - http://%slocalhost%s/web/subservices | grep %s | awk -F ":" '{print $4}'""" % (auth,port,namespace))
currentSid = "0x" + pipe.readline().rstrip().lower()
if currentSid == oldSid:
continue
# we have some zap
print "currentSid: %s" % currentSid
oldSid = currentSid
if socketIsOpen:
s.shutdown(socket.SHUT_RDWR)
s.close()
socketIsOpen = False
if currentSid == "0x":
continue
# check SID
print "trying with demux %s" % demux
pipe = os.popen("dvbsnoop -timeout %d -nph -pd 3 -n 1 -demux %s 0x0 | grep -A 1 %s | grep Program_map_PID" % (timeout,demux,currentSid))
m = re.search(r"\((\w+)\)", pipe.readline())
if not m:
oldSid = "0x" # try to get PAT again in next iteration of main loop
continue
pmtPid = m.group(1)
print "pmtPid: %s" % pmtPid
# is PMT being broadcasted?
pipe = os.popen("""dvbsnoop -timeout %d -pd 1 -n 1 -demux %s %s | grep "received" | wc -l""" % (timeout,demux,pmtPid))
if pipe.readline().rstrip() == "1":
continue
# extract demux number
m = re.search("\d+$", demux)
demuxNb = m.group()
# PMT missing, build CAPMT
currentSidI = int(currentSid, 16)
demuxNbI = int(demuxNb)
pmtPidI = int(pmtPid, 16)
capmt = bytearray("\x9f\x80\x32\x00\x03") # capmt start
capmt.extend([(currentSidI >> 8) & 0xff, currentSidI & 0xff]) # SID
capmt.extend("\x09\x00\x13\x01\x81\x08\x0C\xFD\xAC\xE7\x10\x00\x00\x01") # program info length, reference
capmt.extend([0x82, 0x02, 1 << demuxNbI, demuxNbI & 0xff]) # camask, demux
capmt.extend([0x84, 0x02, (pmtPidI >> 8) & 0xff, pmtPidI & 0xff]) # PMT PID
if capmtType == "long":
# descramble VPID and APID
pipe = os.popen("""wget -q -O - http://%slocalhost%s/web/getcurrent""" % (auth,port))
tree = ET.parse(pipe)
root = tree.getroot()
ele2service = root.find('e2service')
vpid = ele2service.find("e2vpid").text
apid = ele2service.find("e2apid").text
if vpid != "N/A":
vpidI = int(vpid)
capmt.extend([0x02, (vpidI >> 8) & 0xff, vpidI & 0xff, 0x00, 0x00])
spidI = vpidI + 4 # subtitle PID is video PID plus four
capmt.extend([0x06, (spidI >> 8) & 0xff, spidI & 0xff, 0x00, 0x00])
if apid != "N/A":
apidI = int(apid)
capmt.extend([0x03, (apidI >> 8) & 0xff, apidI & 0xff, 0x00, 0x00])
else:
# descramble PMT PID
capmt.extend([0x0d, (pmtPidI >> 8) & 0xff, pmtPidI & 0xff, 0x00, 0x00])
# set length
capmt[3] = len(capmt) - 4
print ' '.join('0x%02x' % b for b in capmt)
# send CAPMT to CAM
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect_ex(("/tmp/camd.socket"))
s.send(buffer(capmt))
socketIsOpen = True
if capmtType == "short":
# get descrambled PMT now:
print os.popen("""dvbsnoop -timeout 1000 -pd 1 -n 1 -demux %s %s | grep "received" """ % (demux,pmtPid)).readline().rstrip()
but unfortunately always i get Timout pmt .. i feel tired really ..
i don't if i forget any other else , or i miss something specially .
please help me i'm so intersting for bbc channels .
thank's to all bro's .
Posted 20 April 2015 - 19:51
OpenPLi devs would tell you that one should recode the os.popen & co. with other ways of dealing with these calls...
Edited by gorski, 20 April 2015 - 19:54.
Posted 27 April 2015 - 20:53
Hi friends,
I've a VU+ Duo2 with BH and I can run the 27,5w channels only manually in telnet session.
Recap:
I added all the 3 files (v5) to usr/bin, set long in "bbc_pmt_starter.sh" and gave chmod 775 to all the files.
I edited the lamedb file (init 4 - edit - init3) and got the right file for oscam-ymod18-56.
Unfortunately nothing happened. Then after some attempts it works by running from telnet /usr/bin/python -u /usr/bin/bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux3. If I close the telnet session, it stops to work.
How could I fix it in order to run automatically? Any idea?
Where can I get all the working channels (and the correct lamedb data)?
Thank you very much!
Posted 4 May 2015 - 09:21
Hi friends,
I've a VU+ Duo2 with BH and I can run the 27,5w channels only manually in telnet session.
Recap:
I added all the 3 files (v5) to usr/bin, set long in "bbc_pmt_starter.sh" and gave chmod 775 to all the files.
I edited the lamedb file (init 4 - edit - init3) and got the right file for oscam-ymod18-56.
Unfortunately nothing happened. Then after some attempts it works by running from telnet /usr/bin/python -u /usr/bin/bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux3. If I close the telnet session, it stops to work.
How could I fix it in order to run automatically? Any idea?
Where can I get all the working channels (and the correct lamedb data)?
Thank you very much!
I solved yesterday on openATV.
Probably I was full restarting the box too late to make the script autostarted.
Many thanks to andres66.
Posted 6 May 2015 - 21:33
Hi,
pleas i got this message in script v5:
0 members, 1 guests, 0 anonymous users