Ignore:
Timestamp:
11/28/17 16:15:46 (6 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r41303 r41320  
    55INPUT=$2
    66DEST=$3
     7USER=$DEST
     8PASS=$4
    79
    810INPUT=`echo $INPUT | sed 's!/Out/?s=!!g'`
     
    418420        mkdir $TMP > /dev/null 2>&1
    419421
    420         echo "$BIN $youtubebin $INPUT" > /tmp/.last_hoster_youtube_dl.log
    421 
    422         $BIN $youtubebin "$INPUT" > $TMP/$TYPE.$hoster.$FILENAME.streamlist
     422        echo "$BIN $youtubebin $INPUT --username $USER --password $PASS" > /tmp/.last_hoster_youtube_dl.log
     423
     424        $BIN $youtubebin "$INPUT" --username "$USER" --password "$PASS" > $TMP/$TYPE.$hoster.$FILENAME.streamlist
    423425        echo $TMP/$TYPE.$hoster.$FILENAME.streamlist
    424426}
     
    509511        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
    510512        case $hoster in
    511                 *) youtube_dl $INPUT;;
     513                *) youtube_dl $INPUT $USER $PASS;;
    512514        esac
    513515fi
Note: See TracChangeset for help on using the changeset viewer.