Changeset 40852


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

fix

Location:
titan
Files:
2 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
  • titan/plugins/tithek/tithek.h

    r40850 r40852  
    943943                        tmp->hspace = 10;
    944944                        tmp->posx = posx;
    945                         if(python == 0 && flag == 14)
     945                        if(python == 0 && (flag == 22 || flag == 23))
    946946                                tmp->fontcol = 0xff0000;
    947                         else if(python == 1 && flag == 14)
     947                        else if(python == 1 && (flag == 22 || flag == 23))
    948948                                tmp->fontcol = 0x00ff00;
    949949                        else
Note: See TracChangeset for help on using the changeset viewer.