Changeset 41320 for titan/mediathek/localhoster/hoster.sh
- Timestamp:
- 11/28/17 16:15:46 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r41303 r41320 5 5 INPUT=$2 6 6 DEST=$3 7 USER=$DEST 8 PASS=$4 7 9 8 10 INPUT=`echo $INPUT | sed 's!/Out/?s=!!g'` … … 418 420 mkdir $TMP > /dev/null 2>&1 419 421 420 echo "$BIN $youtubebin $INPUT " > /tmp/.last_hoster_youtube_dl.log421 422 $BIN $youtubebin "$INPUT" > $TMP/$TYPE.$hoster.$FILENAME.streamlist422 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 423 425 echo $TMP/$TYPE.$hoster.$FILENAME.streamlist 424 426 } … … 509 511 echo "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log 510 512 case $hoster in 511 *) youtube_dl $INPUT ;;513 *) youtube_dl $INPUT $USER $PASS;; 512 514 esac 513 515 fi
Note: See TracChangeset
for help on using the changeset viewer.