Changeset 43020 for titan


Ignore:
Timestamp:
Nov 18, 2018, 10:15:34 PM (13 months ago)
Author:
obi
Message:

tithek fix kino sort

File:
1 edited

Legend:

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

    r42469 r43020  
    224224kino()
    225225{
     226#       rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
     227#       rm $TMP/$FILENAME.list
    226228        if [ ! -e "$TMP/$FILENAME.list" ]; then
    227229                piccount=0
     
    244246                fi
    245247
    246                 cat $TMP/cache.$FILENAME.1 | grep /Stream/ | sed 's!/Stream/!\n/Stream/!' | grep ^/Stream/ | cut -d '"' -f1  | cut -d "'" -f1 | sort -um >$TMP/cache.$FILENAME.2
     248#               cat $TMP/cache.$FILENAME.1 | grep /Stream/ | sed 's!/Stream/!\n/Stream/!' | grep ^/Stream/ | cut -d '"' -f1  | cut -d "'" -f1 | sort -um >$TMP/cache.$FILENAME.2
     249                cat $TMP/cache.$FILENAME.1 | grep /Stream/ | sed 's!/Stream/!\n/Stream/!' | grep ^/Stream/ | cut -d '"' -f1  | cut -d "'" -f1 >$TMP/cache.$FILENAME.2
     250
    247251                while read -u 3 ROUND; do
    248252                        piccount=`expr $piccount + 1`
     
    313317                                LINE="$TITLE$LANGTXT#$NEWPAGE#$PIC#kinox_$piccount.jpg#KinoX#22"
    314318
    315                                 echo "$LINE" >> $TMP/$FILENAME.list
     319                                if [ `cat $TMP/$FILENAME.list | grep "$TITLE" | wc -l` -eq 0 ];then
     320                                        echo "$LINE" >> $TMP/$FILENAME.list
     321                                fi
    316322                        fi
    317323
Note: See TracChangeset for help on using the changeset viewer.