Ignore:
Timestamp:
Feb 25, 2017, 10:35:02 PM (3 years ago)
Author:
obi
Message:

add debug

File:
1 edited

Legend:

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

    r40096 r40097  
    128128{
    129129        $BIN $CMD/thevideo.py $INPUT
    130         rm $TMP/_last_hoster_* > /dev/null 2>&1
    131         echo  "$BIN $CMD/thevideo.py $INPUT" > hoster_$0
    132130}
    133131
     
    190188{
    191189        echo "$INPUT"
    192         rm $TMP/_last_hoster_* > /dev/null 2>&1
    193         echo  "$INPUT" > hoster_$0
     190#       rm -f /tmp/_last_hoster_* > /dev/null 2>&1
     191        echo  "$INPUT" > /tmp/.last_hoster_$hoster
    194192}
    195193
    196194youtube_dl()
    197195{
     196#       rm -f /tmp/_last_hoster_* > /dev/null 2>&1
     197        echo "$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate -g $INPUT" > /tmp/.last_hoster_$hoster
    198198        $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate -g "$INPUT"
    199         rm $TMP/_last_hoster_* > /dev/null 2>&1
    200         echo "$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate -g $INPUT" > $TMP/_last_hoster_$0
    201199}
    202200
    203201if [ "$TYPE" == "get" ];then
     202        echo  "$INPUT" > /tmp/.last_hoster_$hoster
    204203        case $hoster in
    205204                ecostream) ecostream $INPUT;;
Note: See TracChangeset for help on using the changeset viewer.