CCcamSkinInfo E² 1.3
-
ThE MaStEr
2010-10-26
-
كود:
################################################## #############################
# #
# CCcamSkinInfo E² 1.3 #
# #
################################################## #############################
#!/bin/sh
# author= AgentSixtynine
# this script will show you the statistics..that are being used by cccam..directly in skin used....like available cards, hops, on/offline servers...
# this script needs to be startet by crond, with an 1 to 5 minute interval, to keep the infos up to date
# !!!attention: cccam telnetinfo is needed. do not use username and password protection for your telnetinfo!!!
# THX to cuuira for building the skinplatform
#DESCRIPTION=This script updates your CCcamSkinInfo
TELNETINFOPORT=16000
SERVERADDRESS="localhost"
echo "CCcamSkinInfo update is started"
echo servers|nc $SERVERADDRESS $TELNETINFOPORT>/tmp/cccamservers.txt
set $(ls -s /tmp/cccamservers.txt)
if [ "$1" = "0" ];
then
echo "err">/tmp/cccam_available_shares.info
echo "err">/tmp/cccam_hop1.info
echo "err">/tmp/cccam_hop2.info
echo "err">/tmp/cccam_hop3.info
echo "err">/tmp/cccam_onlineservers.info
echo "err">/tmp/cccam_offlineservers.info
echo "err">/tmp/cccam_0-cards.info
echo "err">/tmp/cccam_clients.info
echo "error: Update failed. CCcam is not running or bad syntax in CCcam.cfg.
Don't use telnetinfo username and password and check port!!!"
rm /tmp/cccamservers.txt
else
echo shares|nc $SERVERADDRESS $TELNETINFOPORT>/tmp/cccamshares.txt
sed -ne'3p' /tmp/cccamshares.txt|cut -d" " -f3>/tmp/cccam_available_shares.info
grep -c "1 [0-9]" /tmp/cccamshares.txt>/tmp/cccam_hop1.info
grep -c "2 [0-9]" /tmp/cccamshares.txt>/tmp/cccam_hop2.info
grep -c "3 [0-9]" /tmp/cccamshares.txt>/tmp/cccam_hop3.info
cut -d"|" -f"2-3" /tmp/cccamservers.txt|grep -c "|[0-9]">/tmp/cccam_onlineservers.info
cut -d"|" -f"1-3" /tmp/cccamservers.txt|grep "|[a-z,0-9]"|grep -c "| ">/tmp/cccam_offlineservers.info
cut -d"|" -f"2-3,7" /tmp/cccamservers.txt|grep "|[0-9]"|cut -d"|" -f3|grep -c " 0">/tmp/cccam_0-cards.info
echo clients|nc $SERVERADDRESS $TELNETINFOPORT|sed -ne'4p'|cut -d" " -f3>/tmp/cccam_clients.info
rm /tmp/cccamshares.txt /tmp/cccamservers.txt
echo "CCcamSkinInfo has been updated"
Signal Meter Version 0.0.7
CCcam-channelinfo & CCcam-providers edit by Rolli 29.08.2011
iCVS-Image-dm500hd 25.01.2012
D.M.S Img v2.3 dm500hdv2 OE2
Humax Key bin 13-12-2011
سوفتوير جديد Tiger G1 HD V100 2011-09-19
VuUNO-OpenPLi-2.1-Backup 14/04/2012-KaYaCaN*
ملف قنوات دريم بوكس , Likra setting E2 , بتاريخ 08/06/2012
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.