Changeset 37175
- Timestamp:
- 02/17/16 13:08:39 (8 years ago)
- Location:
- titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r37157 r37175 2 2 # first sh box hoster for titannit mfg obi 3 3 4 INPUT=$1 4 TYPE=$1 5 INPUT=$2 5 6 6 7 ARCH=`cat /etc/.arch` … … 20 21 { 21 22 hosterurl=http://www.ecostream.tv 22 data="tpm=`$curlbin $ 1 | grep footerhash | cut -d"'" -f2``$curlbin $1 | grep superslots | cut -d"'" -f2`&id=`$curlbin $1| grep data-id | cut -d'"' -f4`"23 data="tpm=`$curlbin $INPUT | grep footerhash | cut -d"'" -f2``$curlbin $INPUT | grep superslots | cut -d"'" -f2`&id=`$curlbin $INPUT | grep data-id | cut -d'"' -f4`" 23 24 streampage=`$curlbin $hosterurl/js/ecoss.js | grep "$.post('" | grep videos | cut -d"'" -f2` 24 streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $ 1$hosterurl/$streampage | cut -d'"' -f6`25 streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $INPUT $hosterurl/$streampage | cut -d'"' -f6` 25 26 if [ "$streamurl" != "$hosterurl" ];then 26 27 echo $streamurl … … 28 29 } 29 30 30 case $hoster in 31 ecostream) ecostream $1;; 32 esac 31 if [ "$TYPE" == "get" ];then 32 case $hoster in 33 ecostream) ecostream $INPUT;; 34 esac 35 fi -
titan/plugins/tithek/tithek_global.h
r37161 r37175 85 85 { 86 86 char* cmd = NULL; 87 cmd = ostrcat("/tmp/localhoster/hoster.sh ", url, 0, 0);87 cmd = ostrcat("/tmp/localhoster/hoster.sh get ", url, 0, 0); 88 88 streamurl = command(cmd); 89 89 streamurl = string_newline(streamurl);
Note: See TracChangeset
for help on using the changeset viewer.