Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Donate Now Goal amount for this month: 100 EUR, Received: 0 EUR (0%)
Donate to support this site...

Results 1 to 4 of 4
  1. #1
    Senior Member Expert
    Join Date
    Jan 1970
    Location
    S-W RO
    Posts
    1,589
    Posts Thanks / Likes

    Default Script generator CCcam.channelinfo sursa Kingofsat

    De catva timp nu mai functioneaza scriptul care il foloseam pentru actualizarea CCcam.channelinfo :
    Exemplu: Tivusat card 183d :


    # make_CCcam.channelinfo.sh

    ################################################## #####
    #!/bin/sh

    #Tivusat

    wget -a log.txt -O web.list http://en.kingofsat.net/pack-tivusat.php
    awk -F '>' 'BEGIN {chan = "invalid"}
    /WIDTH="15%"/ {chan = substr($3,1,length($3) - 3)}
    /class="s"/ {sid = substr($2,1,length($2) - 2)
    if (chan == "invalid") next
    printf "183D:000000:%x \"Tivusat - %s\"\n", sid , chan
    chan = "invalid"}' web.list > cccam.tivusat

    rm -f CCcam.channelinfo
    cat cccam.* > CCcam.channelinfo

    exit 0
    ################################################## ####

    Banuiesc ca au schimbat ceva cei de la kingofsat...
    Aveti idee cum ar trebui modificat scriptul pentru a functiona corect generarea fisierului ?

  2. #2
    Junior Member Teacher
    Join Date
    Oct 2003
    Location
    Romania
    Posts
    211
    Posts Thanks / Likes

    Default

    Eu il actualizez manual de aici https://kos.hdsat.pl/menu-10.html
    Si....precum spuneam, eu nu ma repet niciodata.

    Sa auzim de bine!
    johst

  3. #3
    Senior Member Expert
    Join Date
    Jan 1970
    Location
    S-W RO
    Posts
    1,589
    Posts Thanks / Likes

    Default

    da, inteleg , doar ca e ok sa ne facem cererile ecm cum ne place sa le vedem... adica sa generam noi ce trebuie sa scrie le raspuns... Daca nu mai e interesat nimeni, la fel cum nici de listele de canale, o voi face doar pentru mine... doar ca e corect sa impartasim tuturor din ceea ce stim...

  4. #4
    Senior Member Expert
    Join Date
    Jan 1970
    Location
    S-W RO
    Posts
    1,589
    Posts Thanks / Likes

    Default

    Multumiri @stailus:
    Scriptul corect:
    #!/bin/sh

    # mediaset 5`W
    wget -a log.txt -O web.list https://ro.kingofsat.net/pack-mediaset.php
    awk -F '>' 'BEGIN {chan = "invalid"}
    /class="A3"/ {chan = substr($2,1,length($2) - 3)}
    /class="s"/ {sid = substr($2,1,length($2) - 2)
    if (chan == "invalid") next
    printf "1805:000000:%x \"Mediaset_1805 - %s\"\n", sid , chan
    chan = "invalid"}' web.list > cccam.Mediaset_1805

    rm -f Cccam.channelinfo
    cat cccam.* > Cccam.channelinfo

    exit 0

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top