Ignore:
Timestamp:
Dec 4, 2018, 1:17:12 AM (20 months ago)
Author:
obi
Message:

add debug

File:
1 edited

Legend:

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

    r42959 r43090  
    736736        echo "$BIN $youtubebin $INPUT $USER $PASS" > /tmp/.last_hoster_youtube_dl.log
    737737
    738         $BIN $youtubebin "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist
     738        if [ ! -z "$INPUT" ];then
     739                $BIN $youtubebin "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist
     740        else
     741                echo "errormsg=Error: Youtube DL has Emthy Url from Parser" > $TMP/$TYPE.$hoster.$FILENAME.streamlist
    739742#       cat $TMP/$TYPE.$hoster.$FILENAME.streamlist
    740743        echo $TMP/$TYPE.$hoster.$FILENAME.streamlist
Note: See TracChangeset for help on using the changeset viewer.