Changeset 39001 for titan/mediathek/localhoster
- Timestamp:
- 09/25/16 00:32:37 (7 years ago)
- Location:
- titan/mediathek/localhoster
- Files:
-
- 118 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r38996 r39001 1 #!/bin/sh1 #!/bin/sh 2 2 # first sh box hoster for titannit mfg obi 3 3 … … 12 12 TMP=/tmp/localcache 13 13 CMD=/tmp/localhoster 14 BIN=python 15 16 if [ "$ARCH" == "sh4" ];then 17 BIN="$CMD/bin/$BIN" 18 export PYTHONHOME=/tmp/localhoste 19 fi 14 20 15 21 hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!http://!!' | sed 's!https://!!' | cut -d'/' -f1 | sed 's/www.//' | tr '.' '\n' | head -n1` … … 54 60 vidup() 55 61 { 56 python$CMD/vidup.py $INPUT62 $BIN $CMD/vidup.py $INPUT 57 63 } 58 64 59 65 nosvideo() 60 66 { 61 python$CMD/nosvideo.py $INPUT67 $BIN $CMD/nosvideo.py $INPUT 62 68 } 63 69 64 70 allmyvideos() 65 71 { 66 python$CMD/allmyvideos.py $INPUT72 $BIN $CMD/allmyvideos.py $INPUT 67 73 } 68 74 69 75 flashx() 70 76 { 71 python$CMD/flashx.py $INPUT77 $BIN $CMD/flashx.py $INPUT 72 78 } 73 79 74 80 openload() 75 81 { 76 python$CMD/openload.py $INPUT82 $BIN $CMD/openload.py $INPUT 77 83 } 78 84
Note: See TracChangeset
for help on using the changeset viewer.