Page 20 of 20 FirstFirst ... 10181920
Results 381 to 398 of 398

Thread: AZBox TV API

  1. #381
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by moicas3004 View Post
    Hi, im trying to run Portuguese epg that is present in rytecxmltv but the programs says file not found.

    I have insered portugal in the azepgmgr.conf and it doen't download the file. I have downloaded manualy and the epg updates fine.
    I have uses the last rytec.sources.xml.20100421.zip , and the providers are present.

    I have used the folloing command

    ./azboxepg -l -s 20100421

    but it doesnt download rytecxmltvportugal

    any one can help please?
    Try with
    MEO/ZON

  2. #382
    Senior Member
    Join Date
    Apr 2010
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by massimo1167 View Post
    Try with
    MEO/ZON
    No same error.

    I have solved thge problem , downloading the file and extracting to the program dir, by a script. But the azboxepg doesnt download by it self, and the dplus does.

  3. #383
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It looks like that latest firmware (azbox-0.9.4829-patch.bin fixed sleep timer | removed black borders in teletext (subtitles) | increased epg stability | fixed microdvd parser | fixed mkv parser with mpeg1/mpeg2) do what in my intention: not to add an event if already present.

    Unfortunately it was not issued a new version of SDK TV API bug free because the verify was done at lower level.

    I hope that it will soon release a new version of the APIs because many of the available functions do not work, indeed I hope they will add more functions.

    @bpmurry
    I suggest You to do such modify to your sources:

    main.c
    Code:
       fprintf(stderr, "_azepgmgr ver 1.5a_patch subtitle info\n");
    
       if (!BoxOffset) {
          // TODO:  TVSDK_GetGMTOffset() return error and its value is -1
          // BoxOffset = TVSDK_GetGMTOffset();
       }
       if (daylightSaving) {
          BoxOffset -= CHECK_1HOUR;
       }
    add a software release when executed and comment TVSDK_GetGMTOffset because the API doesn't work and with rytec files we don't need it.


    sdkmgr.c (addEPGEntry)
    Code:
    /**
     ** Add an entry to the EPG
     ** 
     ** @param pChan       Pointer to the entry in the channel list
     ** @param szStart     The start time
     ** @param szStop      The end time
     ** @param szTitle     The program name
     ** @param szSubtitle  The specific program
     ** @param szDesc      A description of the program
     **
     ** @return            HX_STATUS - HX_OK if successful
     **/
    HX_STATUS addEPGEntry(struct channel_st *pChan, char *szStart, char *szStop,
                          char *szTitle, char *szSubtitle, char *szDesc) {
       struct eit_info_st eitInfo;        /* EPG info data */
    
       /* Initialize */
       bzero(&eitInfo, sizeof(struct eit_info_st));
    
       /* Get the start time & duration */
       eitInfo.start_time = formatDate(szStart);
       eitInfo.duration   = formatDate(szStop) - eitInfo.start_time;
    
       /* Logging */
       verbosedebugn(TEST_DBG_ID, "Entered addEPGEntry(%s, %s, %s, %s) - %s\n", 
              pChan->channel_name_list.name[0].data, szTitle, szStart, szStop,
              ctime(&eitInfo.start_time));
    
       /* We're only interested in the entries from Now until Then */
       if (eitInfo.start_time < Then) {   /* It can't be later than this! */
          if (eitInfo.start_time + eitInfo.duration > Now) { /* And it can't be already over */
    	 struct eit_info_st EpgList[256];
    	 short epg_count;
    
             eitInfo.net_index       = pChan->net_index;
             eitInfo.freq            = pChan->freq;
             eitInfo.polar           = pChan->polarisation;
             eitInfo.service_id      = pChan->service_id;
             eitInfo.net_id          = pChan->original_network_id;
             eitInfo.ts_id           = pChan->ts_id;
             eitInfo.event_id        = EPGCount;
             eitInfo.parental_rating = 12; /* If 18 causes password */
             eitInfo.channel_index   = pChan->user_ch_num;
    
    	 stTVSDKChannelKey ChannelKey = TVSDK_MakeKeyByChannel(pChan);
    
    	 epg_count  = TVSDK_Geteit_info(&ChannelKey, eitInfo.start_time, (eitInfo.duration -300), EpgList);
    //	 fprintf(stderr, "%s=> epg_count#%d(%d), ChannelKey: ni=%d, on_id=%d, ts_id=%d, freq=%ld, polar=%d, service_id=%d\n", pChan->channel_name_list.name[0].data, epg_count, EpgList[0].channel_index,
    //				ChannelKey.net_index, ChannelKey.net_id, ChannelKey.ts_id, ChannelKey.freq, ChannelKey.polar, ChannelKey.service_id );
             if (epg_count == 0) {
    		 /* Not strictly correct - it might not be English */
    		 strcpy(eitInfo.event_lang,"eng");
    	   
    		 /* Copy, but make sure there's no overflow */
    		 if (szTitle && strlen(szTitle)) {
    		    strncpy(eitInfo.event_name, szTitle, EIT_EVENT_NAME_LAN);
    		    eitInfo.event_name[EIT_EVENT_NAME_LAN] = 0;
    		    eitInfo.event_name_len = strlen(eitInfo.event_name);
    		 }
    
    		 if (szDesc && strlen(szDesc)) {
    		    strncpy(eitInfo.event_text, szDesc,EIT_EVENT_TEXT_LAN);
    		    eitInfo.event_text[EIT_EVENT_TEXT_LAN] = 0;
    		    eitInfo.event_text_len = strlen(eitInfo.event_text);
    		 }
    
    		 // TODO : actually not used
    		 strcpy(eitInfo.event_detail,"ED NU");
    		 eitInfo.event_detail[maxTextLen] = 0;
    		 eitInfo.event_detail_len = strlen(eitInfo.event_detail);
    
    /*
     * TODO 
     * uncomment when the means of eitInfo.event_text and eitInfo.event_detail will be cleared from Opensat!
    		 if (szSubtitle && strlen(szSubtitle)) {
    		    strncpy(eitInfo.event_text, szSubtitle, EIT_EVENT_TEXT_LAN);
    		    eitInfo.event_text[EIT_EVENT_TEXT_LAN] = 0;
    		    eitInfo.event_text_len = strlen(eitInfo.event_text);
    		 }
    
    		 if (szDesc && strlen(szDesc)) {
    		    strncpy(eitInfo.event_detail, szDesc,maxTextLen);
    		    eitInfo.event_detail[maxTextLen] = 0;
    		    eitInfo.event_detail_len = strlen(eitInfo.event_detail);
    		 }
    */
    
    	   
    //	 	 fprintf(stderr, "Added#%d: %s, %s_%s %d_%s\n", EPGCount, pChan->channel_name_list.name[0].data, szStart, szStop, eitInfo.duration, ctime(&eitInfo.start_time));
    
    		 /* Now add to the EPG */
    		 addEITToTable(&eitInfo);
    
    		 EPGCount++;
    		 if (persistData && write(fdPersist,  (void  *) &eitInfo,  sizeof(struct eit_info_st)) < 0) {
    		    fprintf(stderr, "Error %d when writing to %s\n", errno, SAVED_DATA);
    		 }
    
    		 debugn(TEST_DBG_ID, "Added #%d: %s: %s, %s-%s (%s-%ld)\n", EPGCount, pChan->channel_name_list.name[0].data,
    		                       szTitle, szStart, szStop, ctime(&eitInfo.start_time), eitInfo.duration);
             }
          } 
       }
    
       /* Logging */
       verbosedebugn(TEST_DBG_ID, "Leaving addEPGEntry - %s\n", (EPGCount<maxEPGCount) ? "OK" : "ERROR");
    
       return (EPGCount < maxEPGCount) ? HX_OK : HX_ERROR;
    }
    if I'm not mistaken in the last 2 firmware releases something has changed in view of the detailed description of events: it seems that following the recent EPG section changes, two fields have been reversed.
    eitInfo.event_text and eitInfo.event_detail
    So waiting for Opensat make it clear what they mean, I have made changes by exchanging the two fields to see the details info.

    azboxepg
    Code:
    #!/bin/bash
    # set -x  # Uncomment for debugging
    ##################################################
    # Messages from here - make it easier to translate
    ERR_USAGE="Usage: $0 [-a] [-l] [-s YYMMDD] [-d 99] [-n 9999] [-o mmmm] [-p] [-t] [-m 9999]"
    ERR_CHSEL="No channel selections specified"
    ERR_SOURCE="Can't find the sources file - please specify a date"
    ERR_BADSRC="The sources file is corrupt."
    ERR_CHFILE="Can't find the 'rytec.channels.xml' file"
    
    ##################################################
    # Usage:
    #     -a    Automatically detect if the data are to be loaded
    #     -l    Force download the data from rytec
    #     -m    Maximum text length (default=4096)
    #     -s    Specify the sources date (default = 20100319)
    #     -d    Specify the number of days to load
    #     -h    Specify the number of hours to load
    #     -n    Specify the number of events to process
    #     -p    Persist the EIT data in epgdata.dat
    #     -v    Verbose output (for debugging)
    #     -o    Time offset in minutes - no default.
    #     -t    Specify daylight savings time
    #     -c    Specify an user channels file ( -c ./channels.xml )
    
    usage() {
       echo $ERR_USAGE >&2
       exit 1
    }
    
    ##################################################
    # Initialise the variables
    LOAD=0          # Download data? Zero = NO
    DAYS=           # Number of days? Default = 2
    NUM=            # Number of events? Default = ALL in the time
    DATA=           # Persist the data? Default = NO
    DATE=20100421   # Sources date in format YYYYMMDD
    AUTO=           # Don't automaticaly download
    DEBUG=          # Debugging? Default = NO
    OFFSET=         # Offset from UTC in minutes
    DST=            # Daylight savings time
    MAXTEXT=        # Maximum length of description
    
    # Patterns to manage tests
    PATDATE="201[0-9][01][0-9][0-3][0-9]"
    
    # Process command-line arguments
    until [ -z "$1" ]
    do
       if [ ${1:0:1} = '-' ]
       then
          case "${1:1}" in
             "A" | "a" ) AUTO=1
                         ;;
             "L" | "l" ) LOAD=1
                         ;;
             "P" | "p" ) DATA="-p"
                         ;;
             "S" | "s" ) [ $# -gt 1 ] || usage
                         [ -z "${2#$PATDATE}" ] || usage
                         DATE=$2
                         shift
                         ;;
             "T" | "t" ) DST="-t"
                         ;;
             "D" | "d" ) [ $# -gt 1 ] || usage
                         [ $2 -gt 0 -a $2 -lt 8 ] || usage
                         DAYS="-d $2"
                         shift
                         ;;
             "M" | "m" ) [ $# -gt 1 ] || usage
                         MAXTEXT="-m $2"
                         shift
                         ;;
             "N" | "n" ) [ $# -gt 1 ] || usage
                         NUM="-n $2"
                         shift
                         ;;
             "O" | "o" ) [ $# -gt 1 ] || usage
                         OFFSET=$2
                         shift
                         ;;
             "V" | "v" ) DEBUG="-v -v -v"
                         ;;
             *         ) usage
                         ;;
          esac
       fi
       shift
    done
    
    # Do we need to auto-download the data?
    if [ $LOAD -eq 0 -a ! -z "$AUTO" ]
    then
       if [ ! -f epgdata.xml ]
       then
          LOAD=1
       else
          # Thanks to rcranium for a cleaner algorithm
          nowSecs=`date +%s`
          fileSecs=`date -r epgdata.xml +%s`
          fileAgeSecs=`expr $nowSecs - $fileSecs`
          fileAgeDays=`expr $fileAgeSecs / 86400`
          if [ $fileAgeDays -gt 3 ]
          then
             date '+Loading xmltv - $fileAgeDays old'
             LOAD=1
          fi
       fi
    fi
    
    
    date '+Start %c'
    if [ $LOAD -gt 0 ]
    then
       #####################################################
       # 1. Verify parameters in conf file
       CONF_FILE=azepgmgr.conf
       SATLIST=`sed -e "s/#.*$//" $CONF_FILE | grep -v "^[    ]*$"`
       if [ -z "$SATLIST" ]
       then
          echo $CH_SEL >&2
          exit 1
       fi
       
       #####################################################
       # 2. Download the sources and channel information
       RYT_URL=http://www.rytec.be/tools
       RYT_SOURCES=rytec.sources.xml
       RYT_CHANNELS=rytec.channels.xml
       RYT_CHANNELS_ZIP=$RYT_CHANNELS.gz
    
       if [ -z "$DATE" ]
       then
          # Extract the filename from the HTML
          # - thanks to rcranium for the idea
          RYT_SOURCES_ZIP=`wget -q -O - http://www.rytec.be/ \
          | grep "Download : $RYT_SOURCES" \
          | sed -e "s/^.*\($RYT_SOURCES\.[0-9]*\.zip\).*$/\1/"`
       else
          # Param = date in YYYYMMDD format
          RYT_SOURCES_ZIP=$RYT_SOURCES.$DATE.zip
       fi
       if [ -z "$RYT_SOURCES_ZIP" ]
       then
          echo $ERR_SOURCE >&2
          usage
       fi
    
       wget -q $RYT_URL/$RYT_SOURCES_ZIP
       if [ ! -f $RYT_SOURCES_ZIP ]
       then
          echo $ERR_SOURCE >&2
          usage
       fi
       unzip -q $RYT_SOURCES_ZIP
       if [ ! -f $RYT_SOURCES ]
       then
          echo $ERR_BADSRC >&2
          exit 1
       fi
       
       wget -q $RYT_URL/$RYT_CHANNELS_ZIP
       if [ ! -f $RYT_CHANNELS_ZIP ]
       then
          echo $ERR_CHFILE >&2
          exit 1
       fi
       gunzip $RYT_CHANNELS_ZIP 
    
       
       #####################################################
       # 3. Extract the correct information from the sources
       #    and download the EPG data.
       for SAT in $SATLIST
       do
          awk -v SAT=$SAT '
             {
                if ($0 ~/<description>/) {
                   DESC=substr($0, 21, length($0)-41);
                   gsub(/[ \t]/,"",DESC);
                }
                if ($0 ~/<url>/) {
                   URL=substr($0, 7, length($0)-13);
                }
                if (DESC == SAT && $0 ~ /<\/source>/) {
                   system( "wget -q " URL);
                }
             }' $RYT_SOURCES
       done
    
       #####################################################
       # 4. Extract the xmltv file(s), and process the data
       for F in rytecxmltv*.gz
       do
          gunzip -d $F
          dos2unix `basename $F '.gz'`
       done
    
       ##################################################################
       # Extract the XML content into a single XML file
       echo '<?xml version="1.0" encoding="UTF-8" ?>'  >epgdata.xml
       echo '<!DOCTYPE tv SYSTEM "xmltv.dtd">'        ****epgdata.xml
       echo '<tv generator-info-name="azepgmgr">'     ****epgdata.xml
       for F in rytecxmltv*
       do
          ENCODING=`head -1 $F | sed -e 's/^.*encoding="\([^"]*\).*$/\1/'`
          iconv --from-code=$ENCODING --to-code=UTF-8 $F \
          | grep -v "<?xml"      \
          | grep -v "<!DOCTYPE"  \
          | grep -v "<tv"        \
          | grep -v "</tv>"      ****epgdata.xml
       done
       echo "</tv>"              ****epgdata.xml
    
    fi
    
    ############################################
    # See if the offset & DST can be accessed from the system
    if [ -z "$OFFSET" ]
    then
       OFFSET=`grep timezonegap /DISK2/selene.conf \
               | sed -e "s/^ *timezonegap *= *//"`
    fi
    if [ -z "$DST" ]
    then
       DST=`grep time_daylight_saving_time /DISK2/selene.conf \
            | sed -e "s/^[^=]*= *//"`
       if [ "$DST" == "1" ]
       then
          DST="-t"
       else
          DST=
       fi
    fi
    
    # We don't need to specify Offset and DST because values defined into xml rytec epgdata file are already updated!
    OFFSET=0
    DST=
    #
    # Process the XML files, only if the data file's missing
    # or if it's older than the XML data.
    date '+Start xml extract at %c'
    LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    echo ./_azepgmgr $DST $DATA $DAYS $NUM $DEBUG -o $OFFSET $MAXTEXT
    ./_azepgmgr $DST $DATA $DAYS $NUM $DEBUG -o $OFFSET $MAXTEXT
    
    date '+End xml extract at %c'

    Here the azboxepg_1.5a_new.tar.gz link to latest update with 2 files:
    _azepgmgr
    azboxepg
    http://www.megaupload.com/?d=CS117V1B

  4. #384
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    my epg wont load i keep recieving this error

    Start Wed May 12 07:32:22 2010
    Archive: rytec.sources.xml.20100319.zip
    Start xml extract at Wed May 12 07:33:40 2010
    ERROR: ChannelSDK_LoadNetwork:773 Fail to read networks from '/DISK2/DVBTa.dat'
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
    ERROR: ChannelSDK_LoadNetwork:773 Fail to read networks from '/DISK2/ATSC.dat'

  5. #385
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by wullieb25 View Post
    my epg wont load i keep recieving this error

    Start Wed May 12 07:32:22 2010
    Archive: rytec.sources.xml.20100319.zip
    Start xml extract at Wed May 12 07:33:40 2010
    ERROR: ChannelSDK_LoadNetwork:773 Fail to read networks from '/DISK2/DVBTa.dat'
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
    ERROR: ChannelSDK_LoadNetwork:773 Fail to read networks from '/DISK2/ATSC.dat'
    This is not a critical error.
    We need more info to help you.
    which firmware release and azboxepg do you use, configuration file, etc...

  6. #386
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks m8 i have just upgraded to the latest firmware and i am gonna try it again
    i am using azboxepg 1.5a and config for sly uk i have a sat tuner and a cable tuner in the box but i.m not using the cable one at the moment

  7. #387
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i have just uploaded the new 1.5a patch from the link above but it is still displaying the same error

  8. #388
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by wullieb25 View Post
    i have just uploaded the new 1.5a patch from the link above but it is still displaying the same error
    I repeat again, the error you reported is not an important error, are message about file for tuner that you don't use.

    If doesn't load EPG maybe is for another problem.
    Are You able to execute the program with -v option?
    If you are using Putty as telnet, increase the log line an then post your log.
    In according with BPMURRAY, I have planned to publish a new release with minor fix, but I try to define some debug info more usefull than the mountain of data displayed with API SDK debug info.

  9. #389
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that -v option is working m8 so the program is executing

  10. #390
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it is running thru add channel get channel at the moment
    so what do i do after this m8

  11. #391
    Member
    Join Date
    Jan 2010
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks m8 the epg is loading with that -v command do you have a working cron job file that you could upload please

  12. #392
    Member
    Join Date
    Aug 2008
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am having problems installing azepgmgr-1.5a on a azbox elite using a usb harddrive..
    I have installed azepgmgr-1.5a on azbox premium with internal harddrive with no problems..
    Attached is a screen capture of the error..
    Have tried installing with creating newEPG folder as well, error attached is with just bin folder created, but get same error..
    Any ideas what i'm doing wrong??
    I'm using 9.4890..

  13. #393
    V.I.P
    Join Date
    Dec 2004
    Posts
    229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Psham , have a look at 1.6 vers. :
    https://www.satpimps.co.uk/showthread.php?t=133940

    Cheers ,
    Val .

  14. #394
    V.I.P
    Join Date
    Jun 2008
    Posts
    331
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i cant get the -c channel option working, didn't work on previous one either. am i doing something wrong?


    AZBox[bin]$ ./azboxepg -a -c ./channels.xml
    Display mode: FND
    Usage: ./azboxepg [-a] [-l] [-s YYMMDD] [-d 99] [-n 9999] [-o mmmm] [-p] [-t] [-m 9999]

  15. #395
    V.I.P
    Join Date
    Jun 2008
    Posts
    331
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by happyhammer View Post
    i cant get the -c channel option working, didn't work on previous one either. am i doing something wrong?


    AZBox[bin]$ ./azboxepg -a -c ./channels.xml
    Display mode: FND
    Usage: ./azboxepg [-a] [-l] [-s YYMMDD] [-d 99] [-n 9999] [-o mmmm] [-p] [-t] [-m 9999]
    i should have mentioned its not really an issue as the workaround is to save your channels file as rytec.channels.xml and remove the following section from the azboxepg file:

    vfd_display -td210 "3.Download Channels..."
    wget -q $RYT_URL/$RYT_CHANNELS_ZIP
    if [ ! -f $RYT_CHANNELS_ZIP ]
    then
    echo $ERR_CHFILE >&2
    exit 1
    fi
    vfd_display -td210 "4.Unzip Channels..."
    gunzip $RYT_CHANNELS_ZIP

  16. #396
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by happyhammer View Post
    i cant get the -c channel option working, didn't work on previous one either. am i doing something wrong?


    AZBox[bin]$ ./azboxepg -a -c ./channels.xml
    Display mode: FND
    Usage: ./azboxepg [-a] [-l] [-s YYMMDD] [-d 99] [-n 9999] [-o mmmm] [-p] [-t] [-m 9999]
    sorry it's my description error, this are the parameter for azboxepg:
    Code:
    ##################################################
    # Usage:
    #     -a    (local parameter) Automatically detect if the data are to be loaded 
    #     -l    (local parameter) Force download the data from rytec 
    #     -m    Maximum text length (default=4096)
    #     -s    (local parameter) Specify the sources date (default = 20100421)  
    #     -d    Specify the number of days to load
    #     -n    Specify the number of events to process
    #     -p    Persist the EIT data in epgdata.dat (no more usefull)
    #     -v    Verbose output (for TVSDK debugging) (still used for compatibility with previous versions)
    #     -o    Time offset in minutes - no default.
    #     -t    Specify daylight savings time
    #     -w    Verbose output (for TVSDK debugging) with verbose level's choice (0-3)
    #     -z    EPG output (for azboxepg debugging) with verbose level's choice (00-99: left digit for ID1 section, right digit for ID0 section)
    Following is a brief note on plugin:
    You know, there are two programs _azepgmgr and azboxepg.
    _azepgmgr
    Is a program to upgrade the EPG info using the TVSDK API provided by Opensat.
    _azepgmgr reads a list of channels to update from the file rytec.channel.xml and EPG data from epgdata.xml.
    Using some parameters you can specify different files.
    "-c" is used to change the default channel list file name
    "-x" is used to change the default EPG data file name

    azboxepg
    is a script whose job is to download from the site rytec the channel list file rytec.channel.xml and EPG data file for a specific provider then prepares the default data file epgdata.xml.
    After downloading data from rytec site, call _azepgmgr with the right parameters.
    azboxepg also includes a number of parameters, some are local and others are passed to the program _azepgmgr.


    Be careful don't confuse the parameters of the two programs, not all _azepgmgr's parameters are handled as azboxepg parameters.
    For example the "-c" parameter to change the default channels list file name can not be passed from azboxepg, but to change the file name, I provided a new variable in azboxepg script "MY_XMLCHANS".
    Code:
    # custom list channels file name usefull to limit the amount of data for channels we don't care
    # for example:
    #1) to use standard file name, leave blank
    #MY_XMLCHANS=   
    #2) to use custom file name (I suggest this solution to filter with our prefered channels list to reduce the amount of data to store in azbox's memory)
    #MY_XMLCHANS="-c ./channels.xml"    # used custom file channels.xml
    MY_XMLCHANS=   # used standard file name rytec.channels.xml
    Example 1: leave the default channels list file name
    Code:
    MY_XMLCHANS=
    Example 2 (which I recommend): use the ./channels.xml for the channel list.
    Code:
    MY_XMLCHANS="-c ./channels.xml"
    I advice this solution to create your own channel list filtering rytec.channel.xml with only channels of interest in order to speed up the epg update process and reduce the amount of memory required.

  17. #397
    Junior Member
    Join Date
    Jun 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is epgwriter 0.7 still working? I am trying to update the EPG using my own xml data instead of Rytec but keep getting channel entry not found error messages as follows:

    Code:
    Title:	Manson  channel="I14771.labs.zap2it.com" Start(localtime): Tue Sep 20 17:00:00 2011
    Text:	Manson
    Detail:	no description
    Can't find channel entry: "I14771.labs.zap2it.com" Skipping...

    My channels.txt file is as follows:

    Code:
    I14771.labs.zap2it.com -1010 1 101 12060000 31 0 #ENC11_AC3

    And a snippet of my xmltv.xml file:

    Code:
    <programme start="20110920080000 -0400" stop="20110920100000 -0400" channel="I14771.labs.zap2it.com">
    		<title lang="en">Manson</title>
    		<episode-num system="dd_progid">SH01173011.0000</episode-num>
    		<previously-shown />
    	</programme>
    As you can see, the channel entry matches perfectly but for some reason, refuses to find it.

  18. #398
    Junior Member
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon10

    :cuss:oookkk

Page 20 of 20 FirstFirst ... 10181920

Similar Threads

  1. Telesat's tools for AZbox HD...
    By goran in forum AZBox HD Tools
    Replies: 5
    Last Post: 17-01-2010, 09:59 PM
  2. Azbox & Viasat NDS card
    By Joex in forum AZBox HD Newbie Questions
    Replies: 15
    Last Post: 12-09-2009, 09:03 AM
  3. Monkus OpenXCAS tools for AZbox HD
    By goran in forum AZBox HD Newbie Questions
    Replies: 1
    Last Post: 07-09-2009, 01:59 AM
  4. Newcs + CCcam, Can it be done ?
    By paulwilko in forum AZBox HD Newbie Questions
    Replies: 11
    Last Post: 31-08-2009, 01:15 PM

Bookmarks

Posting Permissions

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