Ignore:
Timestamp:
10/05/17 15:32:36 (7 years ago)
Author:
obi
Message:

fix sportsondemand nba > youtube playback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/sportsondemand.sh

    r40993 r40995  
    553553
    554554                                ID=`echo $URLTMP | tr '/' '\n' | tail -n1`
    555                                 URL="https://www.youtube.com/get_video_info?el=leanback&cplayer=UNIPLAYER&cos=Windows&height=1080&cbr=Chrome&hl=en_US&cver=4&ps=leanback&c=TVHTML5&video_id=$ID&cbrver=40.0.2214.115&width=1920&cosver=6.1&ssl_stream=1"
    556                                
    557 #                               $curlbin "https://www.youtube.com/get_video_info?el=leanback&cplayer=UNIPLAYER&cos=Windows&height=1080&cbr=Chrome&hl=en_US&cver=4&ps=leanback&c=TVHTML5&video_id=17NnIkv2C3k&cbrver=40.0.2214.115&width=1920&cosver=6.1&ssl_stream=1"
    558                                
    559                         #       https://www.youtube.com/embed/17NnIkv2C3k
    560 
    561 #                               URL="$SRC $SRC hoster $URL"
    562                                 URL="gethoster2 $URL"
    563 
    564 #                               URL="gethoster2 $URLTMP"
    565 
    566 #                               URL="$TITLE#$URL#$PIC#$PIC.jpg#$NAME#14"
    567 
     555#                               URL="https://www.youtube.com/get_video_info?el=leanback&cplayer=UNIPLAYER&cos=Windows&height=1080&cbr=Chrome&hl=en_US&cver=4&ps=leanback&c=TVHTML5&video_id=$ID&cbrver=40.0.2214.115&width=1920&cosver=6.1&ssl_stream=1"
     556                                URLTMP="https://www.youtube.com/watch/$ID"             
     557#                               URL="`/tmp/localhoster/hoster.sh youtube_dl $URLTMP`"
     558                                URL="gethoster2 $URLTMP"
    568559                        elif [ `echo $URLTMP | grep "/embed/" | wc -l` -eq 1 ];then
    569560                                if [ "$debug" = "1" ]; then echo $INPUT cccccc $URLTMP; fi
     
    591582
    592583                                ID=`echo $URLTMP | tr '/' '\n' | tail -n1`
    593                                 URL="https://www.youtube.com/get_video_info?el=leanback&cplayer=UNIPLAYER&cos=Windows&height=1080&cbr=Chrome&hl=en_US&cver=4&ps=leanback&c=TVHTML5&video_id=$ID&cbrver=40.0.2214.115&width=1920&cosver=6.1&ssl_stream=1"
    594                                 URL="gethoster2 $URL"
     584
     585#                               URL="https://www.youtube.com/get_video_info?el=leanback&cplayer=UNIPLAYER&cos=Windows&height=1080&cbr=Chrome&hl=en_US&cver=4&ps=leanback&c=TVHTML5&video_id=$ID&cbrver=40.0.2214.115&width=1920&cosver=6.1&ssl_stream=1"
     586                                URLTMP="https://www.youtube.com/watch/$ID"             
     587#                               URL="`/tmp/localhoster/hoster.sh youtube_dl $URLTMP`"
     588                                URL="gethoster2 $URLTMP"
    595589                        else
    596590                                if [ "$debug" = "1" ]; then echo $INPUT gggggg $URLTMP; fi
Note: See TracChangeset for help on using the changeset viewer.