Changeset 40853 for titan


Ignore:
Timestamp:
08/27/17 17:10:26 (7 years ago)
Author:
obi
Message:

update

File:
1 edited

Legend:

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

    r40852 r40853  
    1818youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g"
    1919youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors --output"
     20export PYTHONHOME=/tmp/localhoster
     21export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib
    2022
    2123if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi
     
    4749        rm -f /tmp/localhoster/lib/libssl.so.1.0.0.*
    4850fi
    49 
    50 export PYTHONHOME=/tmp/localhoster
    51 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib
    5251
    5352if [ -e "$TMP/hoster.tar" ]; then rm -f $TMP/hoster.tar; fi
     
    233232#       $BIN $youtubebin "$INPUT"
    234233#       $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --all-formats -g "$INPUT"
    235         URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT"`
    236         echo "$URL" >> /tmp/.last_hoster_youtube_dl.log
     234#       URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT"`
     235#       echo "$URL" >> /tmp/.last_hoster_youtube_dl.log
     236        $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT"      URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT" > /tmp/youtube_dl.streamlink.log 2>&1
     237        cat /tmp/youtube_dl.streamlink.log
     238
    237239        echo $URL
    238240}
Note: See TracChangeset for help on using the changeset viewer.