Changeset 42638


Ignore:
Timestamp:
Aug 9, 2018 7:16:49 PM (6 weeks ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r42636 r42638  
    2626CURLBIN="$CMD"/bin/curl."$ARCH" 
    2727DUKBIN="$CMD"/bin/duk."$ARCH" 
     28if [ "$ARCH" == "i386" ]; then 
     29BIN=/usr/bin/python 
     30HLSBIN=/usr/bin/hlsdl 
     31CURLBIN=/usr/bin/curl 
     32DUKBIN=/usr/bin/duk 
     33fi 
    2834if [ ! -e "$CURLBIN" ];then CURLBIN=curl; fi 
    2935#USERAGENT='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0' 
     
    3541youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors --output" 
    3642hlsdlbg="$HLSBIN -u $USERAGENT -o" 
    37  
    38 if [ "$ARCH" == "i386" ]; then 
    39 BIN=/usr/bin/python 
    40 HLSBIN=/usr/bin/hlsdl 
    41 CURLBIN=/usr/bin/curl 
    42 DUKBIN=/usr/bin/duk 
    43 fi 
    4443 
    4544if [ -e /mnt/network/cookies ];then sed 's/#HttpOnly_//g' -i /mnt/network/cookies; fi 
Note: See TracChangeset for help on using the changeset viewer.