Ignore:
Timestamp:
11/14/17 13:07:46 (6 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r41163 r41164  
    192192videos()
    193193{
    194         if [ ! -e "$TMP/$FILENAME.list" ]; then
     194#       if [ ! -e "$TMP/$FILENAME.list" ]; then
    195195                $curlbin -o - $URL/$PAGE | awk -v SRC=$SRC -v NAME=$NAME -v PICNAME=$PICNAME \
    196196                '
     
    254254                                        j = index(substr($0, i), "\"") - 1
    255255                                        newpage = substr($0, i, j)
    256                                         if (newpage ~ /<font color=/)
    257                                         {
     256#                                       if (newpage ~ /<font color=/)
     257#                                       {
    258258                                                eventinfo = 0
    259                                         }
     259#                                       }
    260260
    261261                                        i = index($0, "<b>") + 3
     
    292292                        }
    293293                        # <tr><td><nobr><a href="/enx/showvideo/437361/"><img src="//cdn.livetvcdn.net/img/v.gif"></a> <a class="small" href="/enx/showvideo/437361/">Full match record</a></nobr></td></tr>
     294                        #
     295                        #<tr><td><nobr><img src="//cdn.livetvcdn.net/img/v.gif"> <a class="small" href="/enx/showvideo/524797/">Full match record</a></nobr></td></tr>                                                 
    294296                        />Full match record<\/a>/ \
    295297                        {
     
    302304                                }
    303305                        }
     306#
    304307                        />Highlights<\/a>/ \
    305308                        {
     
    337340                                                title = title " (Event)"
    338341                                        }
     342                                        else
     343                                                title = title " (List)"
    339344
    340345                                        if ( pic == "" )
     
    346351                                        # 25. in naechste zeile springen
    347352                                        # 26. \x27 = single quotes
    348                                         if(eventinfo == 1)
     353#                                       if(eventinfo == 1)
    349354                                                print title "#" SRC " " SRC " playsrc \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#0"
    350                                         else
    351                                         {
     355#                                       else
     356#                                       {
    352357                                                if (fullmatch_title != "")
    353358                                                        print title " (" fullmatch_title ")#" SRC " " SRC " play \x27" fullmatch_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    354359                                                if (highlights_title != "")
    355360                                                        print title " (" highlights_title ")#" SRC " " SRC " play \x27" highlights_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    356                                         }
     361#                                       }
    357362                                        score = ""
    358363                                        date = ""
     
    370375                # 29. schreibe alles in die list datei
    371376                ' >$TMP/$FILENAME.list
    372         fi
     377#       fi
    373378        # 30. gebe titan den list namen mit pfad zurueck
    374379        echo "$TMP/$FILENAME.list"
Note: See TracChangeset for help on using the changeset viewer.