Winscp is only a basic terminal client and should not be used for anything but entering basic commands. It is better to use a full terminal emulator like PuTTY. http://www.chiark.greenend.org.uk/~sgtatham/putty/
Posts by joeuser
-
-
-
Which linux distribution are you using?
What is the output from./simplebuild debinstall?
What terminal are you using?Sent from my KFTT using Forum Fiend v1.3.3.
- - - Updated - - -
Was on tablet earlier and couldn't see image. That "shit" is escape codes which are there to format the screen for the menu. Your terminal is not recognizing them correctly.
-
Yes, I looked at the oscam-emu/osemu code and it looks like it only supports AU through the dvbapi interface and not through stream relay only connection. I was thinking to add the functionality to stream relay, but not sure it is worth the time/effort if TVHeadend will be updated. (Of course they also have to add DES decryption for it to fully work and I am not sure where they stand on that...)
And yes there is not much debug info in oscam-emu/osemu especially in stream relay section. It is on my todo list, but not a priority and I don't have much free time for it now...
-
I have not had much time to play with auto update. But I did stream from TVHeadend to TSReader with powervu plugin and auto update is working. Hopefully this week I will have some time to play. :)
- - - Updated - - -
So while debugging a bit, I found one problem. While the url generated by the scripts works for decrypting/playing the stream from TVHeadend, it was not sending emm info. Finally I noticed that alhough TVHeadend wasn't complaining (even in debug logs), it did not parse the "emm=1" properly. To get it to work, you need to add another "&" between "emm=1" and the trailing sid info for oscam. (":0:0:4")
So to get the emm pids to be sent, the url needs to be changed to something like:
Codehttp://pvu:pvu@192.168.1.10:17999/stream/service/5207215882cb76f456a5d65ecfba2124?profile=PowerVU&descramble=0&emm=1&:0:0:4Here are updated scripts to automatically generate the correct urls.
VLC Playlist:
Bash
Display More#!/bin/bash # you must have installed jq (apt-get install jq) ############### BEGIN CONFIG ################### tvh_data_path="/home/hts/.hts" OSEmu="192.168.1.10:17999" profile="PowerVU" userpass="pvu:pvu" ############### END CONFIG ################### echo \#EXTM3U grep -rnwl $tvh_data_path'/tvheadend/input/dvb/networks' -e '\"caid\": 3584' | while read -r services do enabled=$(/usr/bin/jq -c '.enabled' $services) sid_dec=$(/usr/bin/jq -c '.sid' $services) sid=$(printf '%x' $sid_dec) desc=$(/usr/bin/jq -c -r '.networkname' ${services:0:-81}/config)/$(/usr/bin/jq -c -r '.frequency/1000' ${services:0:-42}/config)$(/usr/bin/jq -c -r '.polarisation' ${services:0:-42}/config)/$(/usr/bin/jq -c -r '.svcname' $services) if [ '$enabled' = 'true' ] then echo \#EXTINF:-1, $desc echo http://$userpass@$OSEmu/stream/service/$(basename "$services")\?profile=$profile\&descramble=0\&emm=1\&:0:0:$sid fi doneEnigma2 userbouquet:
Bash
Display More#!/bin/bash # you must have installed jq (apt-get install jq) ############### BEGIN CONFIG ################### tvh_data_path="/home/hts/.hts" OSEmu="192.168.1.10%3A17999" profile="PowerVU" userpass="pvu%3Apvu" ############### END CONFIG ################### echo \#NAME PowerVU Channels grep -rnwl $tvh_data_path'/tvheadend/input/dvb/networks' -e '\"caid\": 3584' | while read -r services do enabled=$(/usr/bin/jq -c '.enabled' $services) sid_dec=$(/usr/bin/jq -c '.sid' $services) sid=$(printf '%x' $sid_dec) desc=$(/usr/bin/jq -c -r '.networkname' ${services:0:-81}/config)/$(/usr/bin/jq -c -r '.frequency/1000' ${services:0:-42}/config)$(/usr/bin/jq -c -r '.polarisation' ${services:0:-42}/config)/$(/usr/bin/jq -c -r '.svcname' $services) if [ '$enabled' = 'true' ] then echo \#SERVICE 1:0:1:$sid:0:0:0:0:0:0:http%3A//$userpass@$OSEmu/stream/service/$(basename "$services")\?profile=$profile\&descramble=0\&emm=1\&%3A0%3a0%3A$sid:$desc echo \#DESCRIPTION $desc fi done -
No keys allowed here.
-
BWTV uses DES encryption. It only works for channels with CSA encryption. Like on 4W. ;)
-
Oscam-emu now supports powervu without streamrelay (for CSA encrypted channels only....)
I finally got around to test this on my Alien 2 triplex and it is working with three images I tested (hdmu, openspa, and pkt 5.)
QuoteDisplay MorePowerVU config
==============Keys in SoftCam.Key:
P <srvid> <nb> <key>
example:
P 1234 01 11223344556677For channels with same srvid: (UPDATED!!!)
Channel #1: P 1234 01 11223344556677
Channel #2: P 1234 01 11223344556677
Channel #3: P 1234 01 11223344556677
AU keys:
P <srvid> <UA> <key>
example:
P 1234 11223344 11223344556677On compatible Dreambox STBs:
1) Disable the Stream Relay (on by default):
Webif -> Config -> Stream Relay -> Mode
0 - disabled
or in oscam.conf:
[streamrelay]
stream_relay_enabled = 0
2) Select the correct DVB-Api extended CW API:
Webif -> Config -> DVB-Api -> API for extended CWs
1 - OE 2.2
2 - OE 2.0
or in oscam.conf:
[dvbapi]
extended_cw_api = 2On other devices the Stream Relay must be used:
Key oscam.conf settings:
Code
Display More[streamrelay] stream_relay_enabled = 0 [dvbapi] enabled = 1 au = 1 pmt_mode = 6 request_mode = 1 delayer = 60 user = emu extended_cw_api = 2 boxtype = ipbox # pkt,spa = ipbox ; for hdmu use duckbox
Of course you need the right keys on your SoftCam.Key file.Attached is the latest oscam-emu (with minimal config.)
-
Most likely not a problem, but you can look above under useful links for dishpointer. On Dishpointer, there is an option "show obstacle (line of sight checker)" which can show you the max height obstacles can be at selected distances from the dish.
-
He does not know what you are using the script on (hint: " I don't have the HW to test this..." ) so he wants to make a completely generic/compatible script. Since he could not test, he tried to point out all the possible reasons a script "may" not work on "some" machines.
Key is that it works on your box.
-
-
-
oops, sorry, in the script it should read "grep -i false" not true...
That way it touches the file when it is not in standby (false). -
-
-
Not sure this is the best way, but you can try something like this script:
powerstate.sh
Bash#!/bin/sh if (wget -O - -q http://localhost/web/powerstate|grep -i true) then touch /media/hdd/keepalive.log fi
Then change the crontab file to:You may have to modify a little depending on your system. From command prompt, try just:
To see what the output is.... -
Not sure if there is an easier way...
-
-
You can try one of the backup images posted here with already configured epg, skins, cam, etc. Just need to do a minor config (probably can be done mostly through remote or webif.)
The ALien 2 does not have an internal HDD, but you can add a USB HDD or record to a network drive (some NAS or pc.) -
