Ignore:
Timestamp:
Feb 27, 2017, 12:25:37 PM (3 years ago)
Author:
obi
Message:

youtube update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_free/youtube.sh

    r40149 r40151  
    9696                while read -u 3 ROUND; do
    9797                        TITLE=`echo $ROUND | sed 's/mime=/\nfound=\&/g' | grep ^"found=&" | cut -d'&' -f2 | sed 's#%2F#/#g'`
    98                         PIC="`echo $TITLE | tr '/' '.'`.jpg"
     98                        PIC="http://atemio.dyndns.tv/mediathek/menu/`echo $TITLE | tr '/' '.'`.jpg"
    9999                        NEWPAGE="$ROUND"
    100100
     
    120120play()
    121121{
    122         rm $TMP/cache.$INPUT.* > /dev/null 2>&1
    123         /tmp/localhoster/hoster.sh get $PAGE > $TMP/cache.$INPUT.1
    124         STREAMURL=`cat $TMP/cache.$INPUT.1`
     122        rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
     123        /tmp/localhoster/hoster.sh get $PAGE > $TMP/cache.$PARSER.$INPUT.1
     124        STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1`
    125125        echo $STREAMURL
    126126}
     
    129129{
    130130# not used anymore
    131 #       rm $TMP/cache.$INPUT.* > /dev/null 2>&1
    132         /tmp/localhoster/hoster.sh youtube_dl $PAGE > $TMP/cache.$INPUT.1
    133         STREAMURL=`cat $TMP/cache.$INPUT.1`
     131#       rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
     132        /tmp/localhoster/hoster.sh youtube_dl $PAGE > $TMP/cache.$PARSER.$INPUT.1
     133        STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1`
    134134        echo $STREAMURL
    135135}
Note: See TracChangeset for help on using the changeset viewer.