Changeset 40852 for titan/mediathek


Ignore:
Timestamp:
Aug 27, 2017, 3:29:39 AM (2 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r40846 r40852  
    1717curlbin2='curl -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies'
    1818youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g"
     19youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors --output"
    1920
    2021if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi
     
    240241{
    241242#       rm -f /tmp/_last_hoster_* > /dev/null 2>&1
    242         echo "$BIN $youtubebin $INPUT" > /tmp/.last_hoster_youtube_dlbg.log
     243        echo "$BIN $youtubebinbg $DEST $INPUT" > /tmp/.last_hoster_youtube_dlbg.log
    243244#       $BIN $youtubebin "$INPUT"
    244245#       $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --all-formats -g "$INPUT"
    245         URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors --output "$DEST" "$INPUT"`
     246        URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors --output "$1" "$2"`
    246247        echo "$URL" >> /tmp/.last_hoster_youtube_dlbg.log
    247248        echo $URL
     
    284285if [ "$TYPE" == "youtube_dlbg" ];then
    285286        case $hoster in
    286                 *) youtube_dlbg $INPUT;;
     287                *) youtube_dlbg $DEST $INPUT;;
    287288        esac
    288289fi
Note: See TracChangeset for help on using the changeset viewer.