Page 2 of 20 FirstFirst 123412 ... LastLast
Results 21 to 40 of 398

Thread: AZBox TV API

  1. #21
    V.I.P
    Join Date
    Jan 2005
    Posts
    384
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Glad to see that the API has also be been updated to 0.2, maybe soon we can have better EPG...

  2. #22
    Member
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I found that if you add:
    Code:
    	struct memory_status_st eit_mem;
    	TVSDK_InitEITMemory();
    	TVSDK_GetEITMemoryStatus(&eit_mem);
    before TVSDK_AddEPGInfo
    then you can write every thing to EPG memory (some kind of initialization of Epg stuff)

  3. #23
    Senior Member
    Join Date
    Jan 2009
    Posts
    219
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by limak View Post
    I found that if you add:
    Code:
    	struct memory_status_st eit_mem;
    	TVSDK_InitEITMemory();
    	TVSDK_GetEITMemoryStatus(&eit_mem);
    before TVSDK_AddEPGInfo
    then you can write every thing to EPG memory (some kind of initialization of Epg stuff)
    limak,

    DO you have code for the xml parser. I wrote some but i have difficulties to get const char* to the unsigned char array provided by opensat.

    Cheers,

    Tommy

  4. #24
    Member
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    EpgWriter ver 0.1

    EpgWriter ver 0.1
    http://www.mediafire.com/?dznjja2ynxz
    very simple but it works for me
    regards
    limak
    Last edited by limak; 12-02-2010 at 04:25 PM.

  5. #25
    Senior Member
    Join Date
    Jan 2009
    Posts
    219
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks,

    Will test it. didn't get mine compiled :(. Worked without including the azbox files but only compiled with g++ --> azbox files gave loads of errors on g++ :(.

    Will write a nice shell script around it to make use of xmltv files with multiple channels.

    Regards,

    Tommy

  6. #26
    Senior Member massimo1167's Avatar
    Join Date
    Sep 2009
    Posts
    249
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by limak View Post
    EpgWriter ver 0.1
    http://www.mediafire.com/?dznjja2ynxz
    very simple but it works for me
    regards
    limak
    Do You share the sources too?

    However thanks!!!

  7. #27
    Member
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not very proud of this code, I don't remember when I code ANSI C last time but if you want it send me pm

  8. #28
    Senior Member
    Join Date
    May 2009
    Location
    Putte, Belgium
    Posts
    225
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @limak:

    Can you have a look at what Rytec creates? http://www.rytec.be

    He provides gzipped xmltv files online, which can be downloaded and processed, for several packages.

    A lot of details can be found in a convenient way on the website.

    I think he has built one of the most useful EPG parsers so far.

  9. #29
    Senior Member
    Join Date
    Jan 2009
    Posts
    219
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rtificial View Post
    @limak:

    Can you have a look at what Rytec creates? http://www.rytec.be

    He provides gzipped xmltv files online, which can be downloaded and processed, for several packages.

    A lot of details can be found in a convenient way on the website.

    I think he has built one of the most useful EPG parsers so far.
    I am just creating a sh script for this ;-)

    need some help though with creating a channel.txt file -> map all the freqs en stuff to the xml channels. Like rytecs channels.xml file

  10. #30
    Member
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Soory but I dont have spare time to create lookup table with channels id from xmltv and freq, sid, tid, nid, etc. But now it sould be easy to make some decent epg downloader now. I just share my code with some people.
    Have a nice weekend

  11. #31
    Senior Member
    Join Date
    May 2009
    Location
    Putte, Belgium
    Posts
    225
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sattommy View Post
    I am just creating a sh script for this ;-)

    need some help though with creating a channel.txt file -> map all the freqs en stuff to the xml channels. Like rytecs channels.xml file
    Thanks Sattommy, let me know if I can help you out in any way.

    @Limak: Thanks for your work so far

  12. #32
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,819
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry the noobish guys.

    is this an EPG plugin?

    if so, can i use it in hispasat?

    if not, what is it?

  13. #33
    V.I.P Smudger's Avatar
    Join Date
    Dec 2004
    Location
    UK & Spain
    Posts
    759
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's the start of a epg populator with data from internet could be called a plugin when setup. I've tried to use it without success at the moment.
    Last edited by Smudger; 12-02-2010 at 08:48 PM.

  14. #34
    V.I.P hfmls's Avatar
    Join Date
    May 2009
    Location
    Portugal
    Posts
    1,819
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it crashed my box, hehe
    i dunno if i did it right. gonna wait for something more user friendly for me

  15. #35
    Member
    Join Date
    Feb 2009
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just get a black screen when accessing the plugin via the remote, but after entering anoter line for it to download the bbc1 xml , I ran ./epgdownload and it downloaded the data and created the xml files successfully

    manually running ./epgwriter I get this

    Code:
    MMP[EpgWriter]$ ./epgwriter
    
    EpgWriter ver 0.1 by limak
    Usage:
    epgwriter XMLTVFileName Azbox_network_id NID TID frequency SID polarisation
    
    Example: epgwriter tvn24.xmltv 6 318 1000 11393000 4312 1
    
    ( polarisation: horizontal=0, vertical=1, Azbox_netword_id=6 for HotBird 13E )
    I take it that Ive got to put in all the right params from here

  16. #36
    V.I.P Smudger's Avatar
    Join Date
    Dec 2004
    Location
    UK & Spain
    Posts
    759
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can someone explain the parameters 6 318 12800 11075000 6 1
    used when calling the program.

    I see its 14 for 28.2

    152 for Hispasat.

    think I've got it using Maz channel editor for details.

    sat number NID ??? Channel Frequency sat number H/V 0 or 1


    can't work out the 12800


    got it working for bbc1 on 28.2

    ./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log


    just noticed the previous post.
    Last edited by Smudger; 12-02-2010 at 09:44 PM.

  17. #37
    Member
    Join Date
    Feb 2009
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok I think i sussed the params

    I ran

    Code:
     ./epgwriter bbc1.sat.xmltv 14 2 2048 1081800 10355 1
    is it missing the fact that this file exists bbc1.sat.xmltv do I need to set a path.?

    Also it couldnt open the Dat files which where I presume the epg is stored

    Code:
    MMP[EpgWriter]$ ./epgwriter bbc1.sat.xmltv 14 2 2048 1081800 10355 1
    
    EpgWriter ver 0.1 by limak
                    HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
                      BUILD: [Jan 21 2010 20:18:24]
                    HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
    unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!: No such file or directory
    AZBoxTVSDK TVSDK_CheckTunerInfo:58 # Tuner Combination Type : COMBO
             #
    AZBoxTVSDK TVSDK_CheckTunerInfo:76 find ---- /tmp/TUNER_DVBS-0
    create_iso_639_code_table ok
    Send massage D(4), S(33)
    AZBoxTVSDK ChannelSDK_Load:332 (/DISK2/all_channel.dat)
             MAX_CHANNEL             15000
             FAV GROUP               50
             FAV                     200
             channel list version : 9
             channel_st (200) * 15000  : 3000000
             channel_list_st (1596296) + channel_st 3000000  : 4596296
    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
    AZBoxTVSDK ChannelSDK_ChangeVindexType:102        USE LIST CHANGE CHANNEL LIST
     1  type('FAV CH')
    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
    AZBoxTVSDK ChannelSDK_LinkRCHInfo:223
    AZBoxTVSDK ChannelSDK_Load:465 #######################
     channel list version : 9
    load     service_type : 1
    load     use_group_list : 'FAV'
    load     bouquet : 65535
    load     net_index : 255
    load     original channel number : 5138
    load     tv channel number : 4353
    load     radio channel number : 785
    load     user channel number : 863
    load     vch_type : 'FAV CH'
    load     promotion channel number : 0
    AZBoxTVSDK ChannelSDK_Load:486 #######################
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBC.dat'
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/DVBTa.dat'
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ISDBT.dat'
    ERROR: ChannelSDK_LoadNetwork:765 Fail to open '/DISK2/ATSC.dat'
    AZBoxTVSDK TVSDK_GetGMTOffset:439
    Send massage D(4), S(33)
    AZBoxTVSDK set_GMT_offset:1305 GMT_offset 0
    
    EpgWriter ver 0.1 by limak
    
    AZBoxTVSDK TVSDK_InitEITMemory:1172
    AZBoxTVSDK TVSDK_SetUserEITMemory:1211
    Send massage D(4), S(33)
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1135
    Send massage D(4), S(33)
    AZBoxTVSDK TVSDK_ParseEITMemoryStatus:194
    AZBoxTVSDK TVSDK_ParseEITMemoryStatus:207 DEFAULT_EIT total 20971520
    AZBoxTVSDK TVSDK_ParseEITMemoryStatus:208 DEFAULT_EIT used 1959779
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1154 max_eit_memory 29360128
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1158 DEFAULT_EIT total 20971520
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1159 DEFAULT_EIT used 1959779
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1162 USER_EIT total 8388608
    AZBoxTVSDK TVSDK_GetEITMemoryStatus:1163 USER_EIT used 257940
     AddEpgFromFile:401 Can't find channel
    AZBoxTVSDK TVSDK_Deinit:381
    destroy_iso_639_code_table ok
    Send massage D(4), S(33)
    MMP[EpgWriter]$

  18. #38
    V.I.P Smudger's Avatar
    Join Date
    Dec 2004
    Location
    UK & Spain
    Posts
    759
    Thanks
    0
    Thanked 0 Times in 0 Posts
    did you
    wget -O bbc1.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc1.sat/weekly_bbc1.sat_tvprofil.net.xml

    first?

    remove the hxxp to http

  19. #39
    Member
    Join Date
    Feb 2009
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes and the file exists in /PLUGINS/EpgWriter

  20. #40
    V.I.P Smudger's Avatar
    Join Date
    Dec 2004
    Location
    UK & Spain
    Posts
    759
    Thanks
    0
    Thanked 0 Times in 0 Posts
    #!/bin/sh
    #
    # epg download script

    #wget -O mtv.music.xmltv hxxp://tvprofil.net/xmltv/data/mtv.music/weekly_mtv.music_tvprofil.net.xml
    wget -O bbc1.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc1.sat/weekly_bbc1.sat_tvprofil.net.xml
    wget -O bbc2.bbc.xmltv hxxp://tvprofil.net/xmltv/data/bbc2.sat/weekly_bbc2.sat_tvprofil.net.xml
    #./epgwriter mtv.music.xmltv 6 318 12800 11075000 6 1 > mtv.music.xmltv.log
    ./epgwriter bbc1.bbc.xmltv 14 2 2048 10817500 10355 1 > bbc1.bbc.xmltv.log
    ./epgwriter bbc2.bbc.xmltv 14 2 2045 10773250 6302 0 > bbc2.bbc.xmltv.log
    exit


    my script

Page 2 of 20 FirstFirst 123412 ... LastLast

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
  •