Changeset 41366 for titan/mediathek


Ignore:
Timestamp:
Dec 8, 2017, 7:44:01 PM (2 years ago)
Author:
obi
Message:

streamcloud fix showed pages

File:
1 edited

Legend:

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

    r41365 r41366  
    190190                        NEXTPAGE=`expr $NEXT + 10`
    191191                        NEXT=`expr $NEXT + 1`
     192                        if [ "$NEXT" -gt 1 ];then
     193                                NEXTTEXT=$(expr $NEXT / 10)
     194                        fi
     195                        NEXTTEXT=`expr $NEXTTEXT + 1`
    192196
    193197#                       LINE="Page ($NEXTPAGE/$pages)#$SRC $SRC search '$PAGE' $NEXTPAGE '$PAGE2'#http://atemio.dyndns.tv/mediathek/menu/next.jpg#next.jpg#$NAME#0"
    194                         LINE="Page ($NEXT/$pages)#$SRC $SRC search '$PAGE' $NEXTPAGE#http://atemio.dyndns.tv/mediathek/menu/next.jpg#next.jpg#$NAME#0"
     198                        LINE="Page ($NEXTTEXT/$pages)#$SRC $SRC search '$PAGE' $NEXTPAGE#http://atemio.dyndns.tv/mediathek/menu/next.jpg#next.jpg#$NAME#0"
    195199
    196200                        echo "$LINE" >> $TMP/$FILENAME.list
Note: See TracChangeset for help on using the changeset viewer.