Changeset 41274 for titan/mediathek


Ignore:
Timestamp:
11/25/17 02:51:33 (6 years ago)
Author:
obi
Message:

update tithel add hoster streamlist

Location:
titan/mediathek
Files:
2 edited

Legend:

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

    r41273 r41274  
    1515USERAGENT='Mozilla%2F5.0+%28Windows+NT+6.3%3B+rv%3A36.0%29+Gecko%2F20100101+Firefox%2F36.0'
    1616debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2`
    17 curlbin="curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A '$USERAGENT'"
     17curlbin="curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A \$USERAGENT"
    1818curlbin2="curl -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A '$USERAGENT'"
    1919youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent '$USERAGENT' --format mp4 --restrict-filenames --ignore-errors -g"
  • titan/mediathek/localparser_secret/sportsondemand.sh

    r41269 r41274  
    489489{
    490490        debug=0
    491 
     491rm $TMP/$PARSER.$INPUT.$FROM.$FILENAME.list
    492492        if [ "$debug" = "1" ]; then rm $TMP/$PARSER.$INPUT.$FROM.$FILENAME.list; fi
    493493        if [ "$debug" = "1" ]; then echo $INPUT 1111111; fi
     
    618618                                                URL="$URLMP4"
    619619                                        fi
     620                                        STREAMLIST="$TMP/$PARSER.$INPUT.$FROM.$FILENAME.streamlist"
     621                                        if [ -e "$STREAMLIST" ];then
     622                                                rm -f $STREAMLIST
     623                                        fi
     624                                        for ROUND in $URLHLS2 $URLHLS $URL720 $URL360 $URLMP4; do
     625                                                echo "$ROUND" >> $STREAMLIST
     626                                        done
     627                                        URL=$STREAMLIST
    620628                                fi
    621629                        elif [ `echo $URLTMP | grep "youtube" | wc -l` -eq 1 ];then
Note: See TracChangeset for help on using the changeset viewer.