Posts by gopal

    I have been trying to get epg on my tvheadend. It works to a degree. I am using webgrab plus but it is so slow.

    I have the following 2 files that are updated regularly, however the channel names don't match up exactly and hence automatically map epg data doesn't pick it up.

    What can i do so that tvheandend picks up the right channel for epg by itself OR some sort of quick simple way where i can define: that channel X in tvheadend is equal to channel X in the xml file.

    Alternatively, someone can help me do something with these 2 files.

    For the channels i watch most i done manual map from tvheadend but seems difficult for 100s of channels

    EPG Data

    Channel Data

    thanks for the response

    by adding what you said and making the code like this:

    Bash
    #!/bin/bash
    /storage/autoepg
    wget -q http://www.vuplus-community.net/rytec/rytecxmltv-UK.gz -O /storage/autoepg/rytecxmltv-UK.gz
    cd /storage/autoepg
    gunzip -f /storage/autoepg/rytecxmltv-UK.gz

    I get the following:

    Code
    LibreELEC:~ # sh epg.sh
    : not founde 2: /storage/autoepg
    epg.sh: cd: line 4: can't cd to /storage/autoepg
    gunzip: /storage/autoepg/rytecxmltv-UK.gz: No such file or directory

    I have created a very simple script file:

    Bash
    #!/bin/bash
    wget -q http://www.vuplus-community.net/rytec/rytecxmltv-UK.gz -O /storage/autoepg/rytecxmltv-UK.gz
    cd /storage/autoepg
    gunzip -f /storage/autoepg/rytecxmltv-UK.gz

    It downloads okay. But when i run the script in putty (to test, I want to automate this everyday). It comes with the following messages:

    Code
    LibreELEC:~ # sh epg.sh
    epg.sh: cd: line 3: can't cd to /storage/autoepg
    gunzip: /storage/autoepg/rytecxmltv-UK.gz: No such file or directory

    What am i doing wrong?