Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: AZBox OpenTools - AZbox HD

  1. #1
    VIP Member
    Join Date
    04-03-2009
    Posts
    5,494
    Uploads
    980

    AZBox OpenTools - AZbox HD

    AZOpen - AZBox OpenTools

    This program downloads XMLTV data from rytec.be, and uses the control
    files there to assist with the application of these data to the EPG of
    the AZBox.

    For users:
    =========
    If you just want to use this to set your EPG, copy the contents of the bin
    directory onto your AZBox, and set up a cron job to execute it perhaps once
    per day - select a weird time, to ensure that you don't overload the
    rytec.be server.

    Edit the azepgmgr.conf file to enable the channels you want. The default
    is for the UK channels to be enabled, but you only have to remove the
    comment character "#" from the line you want, in order to enable it.
    Remember to comment out the UK entry if you don't want that.

    Run azepgmgr.sh to run the tool. It's not fast, but it should finidh in
    about 5 minutes. It tries to download the daily file form rytec.be, but
    if it hasn't been made available yet, you can specify the date yourself
    by calling it as:
    ./azepgmgr.sh YYYYMMDD
    where YYYY=year, MM=month and DD=day, e.g. today is March 7, 2010, which
    would be:
    ./azepgmgr.sh 20100307

    Of course, you don't want to download the XMLTV data every time you want to
    update your EPG. In this case, simply run:
    ./runazepg.sh
    and this will update your EPG.

    Actually, the program that does the EPG update is called azepgmgr and has
    the following parameters:
    -c ChannelsFile Default = "rytec.channels.xml"
    The name of the file containing the channels information
    -x XMLTVData Required - no default
    The name of the file containing the XMLTV data
    -d days Default = 1 day (24 hours)
    The number of days for which to load the EPG
    -h hours Default = 24 hours
    The number of hours for which to load the EPG (see -d)
    -n maxEvents Default = 10000
    The number of events to load into the EPG
    -v
    Indicates that this should provide verbose information about the
    run. If you specify more "-v"s, you get more debug information.

    A typical run would be:
    ./azepgmgr -c rytec.channels.xml -x rytecxmltvuk

    For developers:
    ===============
    Requirements to build this are:
    1. The AZBox TV SDK
    2. The AZBox Plugin SDK (optional)
    3. The AZBox toolchain

    The program uses libxml2 to process the XMLTV data, so the versions of
    these libraries rebuilt for the AZBox are in the bin directory, along
    with the header files in the hdr directory.

    There are a number of source files in the program:
    main.c This contains main() and controls the run, reading the
    command-line parameters.
    dump.c Used for debugging and to dump various items
    loadchan.c Reads the channel.xml file, using the data to identify
    the corresponding channel in the AZBox's channel list.
    loadepg.c Reads the EPG XMLTV data and calls the functions to
    insert the data into the EPG.
    sdkmgr.c Calls the SDK functions. This allows all other functions
    to be tested in isolation of the SDK.

    Known problems:
    ==============
    * Because of memory limitations, this only supports the addition of a
    maximum of around 10000 events.
    * The AZBox SDK displays spurious messages: this is not a function of
    this tool, but rather a function of the SDK.

    History:
    ========
    0.2 - 2010-03-11
    This has useful defaults for the number of events and other params,
    and introduces new command-line flags to allow the specification of
    the duration in days or hours, and the maximum number of events
    Attached Files Attached Files

  2. #2
    VIP Member
    Join Date
    04-03-2009
    Posts
    5,494
    Uploads
    980

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZBox OpenTools v.03

    Lastest changes

    The defaults for the number of days has been set to 5 days.
    Fixed a bug with the loading of texts where the data overwrote other
    fields. This now allows the number of events to exceed 50000.
    Added signal traps - ctrl-C and a segmentation fault are caught to
    allow the program clean up
    Improved logging - user -v multiple times to get mroe information


    thx bpmurray
    Attached Files Attached Files

  3. #3
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZBox OpenTools v.04

    Code:
    Changes V0.4: 
    - Corrected the GMT offset: values are now subtracted instead of being incorrectly added.
    - Hard-coded the date of 2010-03-05 for the sources file since rytec has not updated it recently.

    azepgmgr-src-0.4.zip
    Code:
    http://www.sendspace.com/file/vanfzr
    azepgmgr-0.4.zip
    Code:
    http://www.sendspace.com/file/zb77c7

  4. #4
    VIP Member
    Join Date
    04-03-2009
    Posts
    5,494
    Uploads
    980

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZBox OpenTools 0.5

    0.5 - 2010-03-17

    - Rationalised the executable calls to try to remove confusion
    - Added more defaults to the parameters
    - Cleansed downloaded XML data
    - Fixed the bug where selecting multiple bouquets caused the EPG to
    be overwritten by the events from the bouquet loaded last.
    - Persisted the current EPG to assist with planned performance
    enhancements.
    - Created a new faster reload function
    Attached Files Attached Files

  5. #5
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZOpen - AZBox OpenTools v 0.6

    This describes the changes made for each version. For details on hoe
    to use the program, see the README file in the executables directory.
    For details about development of the program, see the README file in
    the source directory.

    Known problems:
    ==============
    * The AZBox SDK displays spurious messages: this is not a function of
    this tool, but rather a function of the SDK.
    * It's slow, taking up to 90mins to load a full set of EPG data.
    * The reloader does not exit cleanly

    History:
    ========
    0.6 - 2010-03-19
    - Cleaned up the reloader and it runs *much* faster than the
    initial load.
    - Corrected behaviour if too many -v parameters are supplied.
    - Added some information to the bin/README file.
    - Fixed some time calulations.

    0.5 - 2010-03-17
    - Rationalised the executable calls to try to remove confusion
    - Added more defaults to the parameters
    - Cleansed downloaded XML data
    - Fixed the bug where selecting multiple bouquets caused the EPG to
    be overwritten by the events from the bouquet loaded last.
    - Persisted the current EPG to assist with planned performance
    enhancements.
    - Created a new faster reload function

    0.4 - 2010-03-15
    - Corrected the GMT offset: values are now subtracted instead of being
    incorrectly added.
    - Hard-coded the date of 2010-03-05 for the sources file since rytec
    has not updated it recently.

    0.3 - 2010-03-14
    - The defaults for the number of days has been set to 5 days.
    - Fixed a bug with the loading of texts where the data overwrote other
    fields. This now allows the number of events to exceed 50000.
    - Added signal traps - ctrl-C and a segmentation fault are caught to
    allow the program clean up
    - Improved logging - user -v multiple times to get mroe information

    0.2 - 2010-03-11
    - This has useful defaults for the number of events and other params,
    and introduces new command-line flags to allow the specification of
    the duration in days or hours, and the maximum number of events

    0.1 - 2010-03-12
    - Initial release.


    DOWNLOAD

    AzEgMgr v 0.6

    Code:
    http://www.megaupload.com/?d=TP4E3LPF

    AzEgMgr src v 0.6

    Code:
    http://www.megaupload.com/?d=MA10DZHM

  6. #6
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZBox OpenTools v.1.0
    Code:
     Changes V1.0:
    - Mapped the speed updates to the main program, by inserting up to 25 events at a time. Inserting 50000 events takes about 20 minutes. I don't think this can be improved much, since this is a function of the SDK.
    - Provided new command-line switches
    Attached Files Attached Files

  7. #7
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: AZOpen - AZBox OpenTools - AZbox HD

    AZBox OpenTools 1.0a

    2010-03-22


    - Minor change
    - Automatically retrieve the correct version of the rytec sources
    file. (Thanks to rcranium for the solution.)
    Attached Files Attached Files

  8. #8
    Moderator
    Join Date
    12-08-2008
    Posts
    1,362
    Uploads
    720

    Re: AZOpen - AZBox OpenTools - AZbox HD

    version 1.1

    2010-03-25

    - Enable reboot and wakeup repopulation of the EPG.
    - Created two scripts to reload the EPG at reboot and at wakeup
    - Increased the memory usage to 20MB (that's the maximum).
    Attached Files Attached Files

  9. #9
    VIP Member
    Join Date
    04-03-2009
    Posts
    5,494
    Uploads
    980

    Re: AZOpen - AZBox OpenTools - AZbox HD

    Version 1.3

    2010-04-01 - Bug fixes

    - Fixed up time settings, responding correctly to daylight savings
    time
    - Responded to the issues with the spurious messages by removing
    the filter.
    - Made a number of changes to optimise the behaviour
    Attached Files Attached Files

  10. #10
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: AZOpen - AZBox OpenTools - AZbox HD

    VERSION 1.3a
    Attached Files Attached Files

Page 1 of 3 123 LastLast

Similar Threads

  1. Azbox HD??
    By ceyer in forum AZBox
    Replies: 23
    Last Post: 14-06-2011, 15:27:26
  2. TeChSat_AZK For Azbox HD
    By sami.sami in forum AZBox Software and Tools
    Replies: 3
    Last Post: 27-02-2010, 01:52:00
  3. [API] AZBox TV API (0.2)
    By aguda in forum AZBox Software and Tools
    Replies: 0
    Last Post: 06-02-2010, 01:59:41
  4. New AZbox
    By Destinations in forum AZBox
    Replies: 0
    Last Post: 03-01-2010, 18:37:06
  5. Oscam 534 for Azbox HD
    By wahid in forum AZBox
    Replies: 0
    Last Post: 22-11-2009, 19:10:56

Posting Permissions

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