Changeset 44487


Ignore:
Timestamp:
Jan 4, 2020, 3:25:35 AM (13 months ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r44486 r44487  
    196196
    197197        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
    198         echo "https://thevideos.ga/$videocode" > $STREAMLIST
     198        echo "https://thevideos.ga/$videocode" > $STREAMLIST
     199        #start dummy page not found then works playback without input/outout error
     200        curl "https://thevideos.ga/$videocode"
    199201        echo $STREAMLIST
    200202#######
     
    366368streamcrypt()
    367369{
    368 
    369 hoster=$(echo $INPUT | sed -nr 's/.*:\/\/.*\/([^\/]+)\/.*/\1/p')
    370 hostercheck=$(echo $hoster | tr '.' '\n' | wc -l)
    371 hosterline=$(expr $hostercheck - 1)
    372 if [ "$hosterline" == "0" ];then hosterline=1; fi
    373 echo $hoster | tr 'A-Z' 'a-z' | cut -d"." -f$hosterline
    374 #INPUT=$(echo $INPUT | sed "s!streamcrypt.net/!!")
     370        hoster=$(echo $INPUT | sed -nr 's/.*:\/\/.*\/([^\/]+)\/.*/\1/p')
     371        hostercheck=$(echo $hoster | tr '.' '\n' | wc -l)
     372        hosterline=$(expr $hostercheck - 1)
     373        if [ "$hosterline" == "0" ];then hosterline=1; fi
     374        echo $hoster | tr 'A-Z' 'a-z' | cut -d"." -f$hosterline
     375        #INPUT=$(echo $INPUT | sed "s!streamcrypt.net/!!")
    375376}
    376377
Note: See TracChangeset for help on using the changeset viewer.