Changeset 39001


Ignore:
Timestamp:
Sep 25, 2016, 12:32:37 AM (3 years ago)
Author:
obi
Message:

localhoster add sh4 python stuff

Location:
titan/mediathek/localhoster
Files:
118 added
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r38996 r39001  
    1 #!/bin/sh
     1#!/bin/sh
    22# first sh box hoster for titannit mfg obi
    33
     
    1212TMP=/tmp/localcache
    1313CMD=/tmp/localhoster
     14BIN=python
     15
     16if [ "$ARCH" == "sh4" ];then
     17        BIN="$CMD/bin/$BIN"
     18        export PYTHONHOME=/tmp/localhoste
     19fi
    1420
    1521hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!http://!!' | sed 's!https://!!' | cut -d'/' -f1 | sed 's/www.//' | tr '.' '\n' | head -n1`
     
    5460vidup()
    5561{
    56         python $CMD/vidup.py $INPUT
     62        $BIN $CMD/vidup.py $INPUT
    5763}
    5864
    5965nosvideo()
    6066{
    61         python $CMD/nosvideo.py $INPUT
     67        $BIN $CMD/nosvideo.py $INPUT
    6268}
    6369
    6470allmyvideos()
    6571{
    66         python $CMD/allmyvideos.py $INPUT
     72        $BIN $CMD/allmyvideos.py $INPUT
    6773}
    6874
    6975flashx()
    7076{
    71         python $CMD/flashx.py $INPUT
     77        $BIN $CMD/flashx.py $INPUT
    7278}
    7379
    7480openload()
    7581{
    76         python $CMD/openload.py $INPUT
     82        $BIN $CMD/openload.py $INPUT
    7783}
    7884
Note: See TracChangeset for help on using the changeset viewer.