cherche osemu openpli

moha13400

DZSatien Impliqué
Inscrit
18/9/12
Messages
219
bonjour,

Voila je cherche un CCcam 2.3.0-OSEmu pour image OpenPLi sous dream box 800se. Si quelqu'un pourrait m'aider.

Merci
 
Salut,

Tu peux l'installer tout seul manuellement, c'est assez simple !

Télécharge et installe CCcam2.3.0 depuis le menu des plugins.

Regarde le sujet OSEmu lancé par radmau et télécharge l'archive.

Regarde ce MESSAGE et suis le juste pour le binaire OSEmu et SoftCam.Key

Ensuite dans ton CCcam.cfg tu ajoutes ces deux lignes :

Code:
L: 127.0.0.1 12345 user passwd 0500 030B00
L: 127.0.0.1 12345 user passwd 0500 023800


A ce stade, il te restera le script de démarrage...normalement sur OpenPLi, ils se trouvent dans /etc/init.d et ont cette orthographe "softcam.cccam" par exemple

Il faudrait faire un copier-coller ici pour qu'un membre puisse te le modifier.

Si c'est bien cette orthographe, en voici un que j'ai nommé "softcam.CCcam-osemu" (attention dans ce script, CCcam2.3.0 se comme CCcam) :

Code:
#!/bin/sh
# Define parameters here
# start-exe = executable to launch
# softcam1_param = full command line parameters to pass to executable
softcam1_exe="/usr/bin/CCcam"
softcam1_param="-C /etc/CCcam.cfg"

softcam2_exe="/usr/bin/OSEmu"
softcam2_param="-a user:passwd -p 12345 -b"

softcam_info="CCcam and OSemu"


remove_tmp ()
{
 [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
 [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
 [ -e /tmp/.console ] && rm -rf /tmp/.console
 [ -e /tmp/camd.socket ] && rm -rf /tmp/camd.socket
 }


case "$1" in
start)
start-stop-daemon -S -x $softcam1_exe -- $softcam1_param
start-stop-daemon -S -x $softcam2_exe -- $softcam2_param
;;
stop)
start-stop-daemon -K -R 2 -x $softcam1_exe
start-stop-daemon -K -R 2 -x $softcam2_exe
sleep 3
ps | grep $softcam1_exe | grep -v grep > /dev/null
if [ $? -eq 0 ]
then
    killall -9 $softcam1_exe 2>/dev/null
fi
ps | grep $softcam2_exe | grep -v grep > /dev/null
if [ $? -eq 0 ]
then
    killall -9 $softcam2_exe 2>/dev/null
fi
sleep 2
remove_tmp
;;
 restart|reload)
$0 stop
sleep 2
$0 start
;;
 version)
$softcam1_exe -V | head -n 1 | awk '{print $2}'
;;
 info)
  echo $softcam_info
  ;;
 values)
echo "Command line started:" 
echo $softcam1_exe $softcam1_param
echo $softcam2_exe $softcam2_param
;;
 *)
echo "Usage: $0 start|stop|restart|version|info|values"
exit 1
;;
esac
exit 0


A+
 
d'accord, merci je vais essayer de le faire meme si je pense que c'est un peu difficile
 
Retour
Haut