Viasat EPG - one week

  • Hi


    Currently enigma2 show's in Viasat channels only the now/next event EPG.


    The long (extended) EPG info can be found e.g. in 4.8E, TP 12054.00, V, with pid 57 (0x0039)



    === dvbsnoop -n 100 -crc -nph 0x0039 ===




    Event_ID: 972 (0x03cc)


    Start_time: 0xd66a141000 [= 2009-02-28 14[Blockierte Grafik: http://huoltovalikko.keskustel…com/images/smilies/10.gif]00 (UTC)]


    Duration: 0x0002000 [= 00:20:00 (UTC)]


    Running_status: 0 (0x00) [= undefined]


    Free_CA_mode: 1 (0x01) [= streams [partially] CA controlled]


    Descriptors_loop_length: 311 (0x137)




    DVB-DescriptorTag: 77 (0x4d) [= short_event_descriptor]


    descriptor_length: 36 (0x24)


    ISO639_2_language_code: dan


    event_name_length: 20 (0x14)


    event_name: "Kejserens nye skole" -- Charset: Latin alphabet no. 5


    text_length: 11 (0x0b)


    text_char: "Tegnefilm." -- Charset: Latin alphabet no. 5




    DVB-DescriptorTag: 77 (0x4d) [= short_event_descriptor]


    descriptor_length: 45 (0x2d)


    ISO639_2_language_code: fin


    event_name_length: 20 (0x14)


    event_name: "Keisarin uusi koulu" -- Charset: Latin alphabet no. 5


    text_length: 20 (0x14)


    text_char: "Keisarin uusi koulu" -- Charset: Latin alphabet no. 5




    DVB-DescriptorTag: 77 (0x4d) [= short_event_descriptor]


    descriptor_length: 97 (0x61)


    ISO639_2_language_code: nor


    event_name_length: 20 (0x14)


    event_name: "Kejsarens nya skola" -- Charset: Latin alphabet no. 5


    text_length: 72 (0x48)


    text_char: "Baserad på filmen Kejsarens nya stil kommer nu denna
    animerade serie. ." -- Charset: Latin alphabet no. 5




    DVB-DescriptorTag: 77 (0x4d) [= short_event_descriptor]


    descriptor_length: 97 (0x61)


    ISO639_2_language_code: swe


    event_name_length: 20 (0x14)


    event_name: "Kejsarens nya skola" -- Charset: Latin alphabet no. 5


    text_length: 72 (0x48)


    text_char: "Baserad på filmen Kejsarens nya stil kommer nu denna
    animerade serie. ." -- Charset: Latin alphabet no. 5




    DVB-DescriptorTag: 85 (0x55) [= parental_rating_descriptor]


    descriptor_length: 16 (0x10)


    Country_code: SWE


    Rating: 0 (0x00) [= undefined]




    Country_code: NOR


    Rating: 0 (0x00) [= undefined]




    Country_code: DNK


    Rating: 0 (0x00) [= undefined]




    Country_code: FIN


    Rating: 0 (0x00) [= undefined]






    DVB-DescriptorTag: 95 (0x5f) [= private_data_specifier_descriptor]


    descriptor_length: 4 (0x04)


    PrivateDataSpecifier: 24577 (0x00006001) [= NDC 1 - 6]




    DVB-DescriptorTag: 84 (0x54) [= content_descriptor]


    descriptor_length: 2 (0x02)


    Content_nibble_level_1: 5 (0x05)


    Content_nibble_level_2: 0 (0x00)


    [= childrens's/youth program (general)]


    User_nibble_1: 0 (0x00)


    User_nibble_2: 0 (0x00)




    ===========




    root@dm800:~# dvbsnoop -s pidscan -pd 6


    dvbsnoop V1.4.51 -- http://dvbsnoop.sourceforge.net/




    ---------------------------------------------------------


    Transponder PID-Scan...


    ---------------------------------------------------------


    PID found: 0 (0x0000) [SECTION: Program Association Table (PAT)]


    PID found: 1 (0x0001) [SECTION: Conditional Access Table (CAT)]


    PID found: 16 (0x0010) [SECTION: Network Information Table (NIT) - actual network]


    PID found: 17 (0x0011) [SECTION: Service Description Table (SDT) - other transport stream]


    PID found: 18 (0x0012) [SECTION: Event Information Table (EIT) - other transport stream, present/following]


    PID found: 20 (0x0014) [SECTION: Time Date Table (TDT)]


    PID found: 33 (0x0021) [SECTION: User private]


    PID found: 52 (0x0034) [SECTION: User private]


    PID found: 56 (0x0038) [SECTION: Service Description Table (SDT) - other transport stream]


    PID found: 57 (0x0039) [SECTION: Event Information Table (EIT) - other transport stream, schedule]


    PID found: 58 (0x003a) [SECTION: Service Description Table (SDT) - other transport stream]


    PID found: 82 (0x0052) [SECTION: ATSC reserved]


    PID found: 85 (0x0055) [SECTION: User private]


    PID found: 86 (0x0056) [SECTION: Program Map Table (PMT)]


    PID found: 150 (0x0096) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 151 (0x0097) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 152 (0x0098) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 161 (0x00a1) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 162 (0x00a2) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 163 (0x00a3) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 164 (0x00a4) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 166 (0x00a6) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 168 (0x00a8) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 192 (0x00c0) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 193 (0x00c1) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 933 (0x03a5) [SECTION: Program Map Table (PMT)]


    PID found: 1100 (0x044c) [SECTION: Program Map Table (PMT)]


    PID found: 1101 (0x044d) [scrambled]


    PID found: 1102 (0x044e) [scrambled]


    PID found: 1106 (0x0452) [PS/PES: private_stream_1]


    PID found: 1107 (0x0453) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1110 (0x0456) [SECTION: Program Map Table (PMT)]


    PID found: 1111 (0x0457) [scrambled]


    PID found: 1112 (0x0458) [scrambled]


    PID found: 1116 (0x045c) [PS/PES: private_stream_1]


    PID found: 1117 (0x045d) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1120 (0x0460) [SECTION: Program Map Table (PMT)]


    PID found: 1121 (0x0461) [scrambled]


    PID found: 1122 (0x0462) [scrambled]


    PID found: 1126 (0x0466) [PS/PES: private_stream_1]


    PID found: 1127 (0x0467) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1130 (0x046a) [SECTION: Program Map Table (PMT)]


    PID found: 1131 (0x046b) [scrambled]


    PID found: 1132 (0x046c) [scrambled]


    PID found: 1133 (0x046d) [scrambled]


    PID found: 1134 (0x046e) [scrambled]


    PID found: 1135 (0x046f) [scrambled]


    PID found: 1136 (0x0470) [PS/PES: private_stream_1]


    PID found: 1139 (0x0473) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1140 (0x0474) [SECTION: Program Map Table (PMT)]


    PID found: 1141 (0x0475) [scrambled]


    PID found: 1142 (0x0476) [scrambled]


    PID found: 1143 (0x0477) [scrambled]


    PID found: 1144 (0x0478) [scrambled]


    PID found: 1145 (0x0479) [scrambled]


    PID found: 1146 (0x047a) [PS/PES: private_stream_1]


    PID found: 1147 (0x047b) [PS/PES: private_stream_1]


    PID found: 1148 (0x047c) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1149 (0x047d) [SECTION: Program Map Table (PMT)]


    PID found: 1150 (0x047e) [SECTION: Program Map Table (PMT)]


    PID found: 1151 (0x047f) [PS/PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2 video stream]


    PID found: 1152 (0x0480) [PS/PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream]


    PID found: 1153 (0x0481) [PS/PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream]


    PID found: 1154 (0x0482) [PS/PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream]


    PID found: 1155 (0x0483) [PS/PES: ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream]


    PID found: 1156 (0x0484) [PS/PES: private_stream_1]


    PID found: 1157 (0x0485) [PS/PES: private_stream_1]


    PID found: 1158 (0x0486) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1159 (0x0487) [SECTION: Program Map Table (PMT)]


    PID found: 1160 (0x0488) [SECTION: Program Map Table (PMT)]


    PID found: 1161 (0x0489) [scrambled]


    PID found: 1162 (0x048a) [scrambled]


    PID found: 1165 (0x048d) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1166 (0x048e) [PS/PES: private_stream_1]


    PID found: 1170 (0x0492) [SECTION: Program Map Table (PMT)]


    PID found: 1171 (0x0493) [scrambled]


    PID found: 1172 (0x0494) [scrambled]


    PID found: 1173 (0x0495) [scrambled]


    PID found: 1174 (0x0496) [scrambled]


    PID found: 1175 (0x0497) [scrambled]


    PID found: 1179 (0x049b) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1180 (0x049c) [SECTION: Program Map Table (PMT)]


    PID found: 1182 (0x049e) [SECTION: Program Map Table (PMT)]


    PID found: 1183 (0x049f) [SECTION: User private]


    PID found: 1184 (0x04a0) [SECTION: Program Map Table (PMT)]


    PID found: 1185 (0x04a1) [SECTION: User private]


    PID found: 1186 (0x04a2) [SECTION: Program Map Table (PMT)]


    PID found: 1187 (0x04a3) [SECTION: User private]


    PID found: 1190 (0x04a6) [SECTION: Program Map Table (PMT)]


    PID found: 1191 (0x04a7) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1195 (0x04ab) [SECTION: Program Map Table (PMT)]


    PID found: 1196 (0x04ac) [SECTION: DVB CA message section (EMM/ECM)]


    PID found: 1210 (0x04ba) [SECTION: Program Map Table (PMT)]


    PID found: 1211 (0x04bb) [scrambled]


    PID found: 1212 (0x04bc) [SECTION: Program Map Table (PMT)]


    PID found: 1213 (0x04bd) [scrambled]


    PID found: 2300 (0x08fc) [SECTION: DVB CA message section (EMM/ECM)]

    Einmal editiert, zuletzt von elmo ()

  • Thanks for the info, patched enigma2 and got full epg on viasat :winking_face:


    The channel you posted about seems to gone but found a replacement channel called EPG_data (11862000V) with the same data.


    To change epgpid on enigma2 edit the file lib/dvb/epgcache.cpp search for mask.pid = 0x12; and replace 0x12 with 0x39 (you will get epg on viasat but not on any other channels as they use 0x12)..
    Would be a nice feature to be able to change the EPGpid on a specfic channel on enigma2.


    BTW think the thread should be in "Enigma 2 - Feature Requests"



    --
    cipher
    EPG Evolution

    Einmal editiert, zuletzt von cipher ()

  • Thanks in advance.


    One small wish... Can You also implement the language preferred functionality to EPG?
    Like primary EPG language, secondary language, etc.


    As below, the Viasat is sending EPG with multiple languages (nor, swe, dan and fin).


    ____
    Elmo

  • i would like ask for seome extra features
    moustl viasat baltic channels havent EPG at all, one of dreamboxes in my home has extra signal from DVB-T and 75East where EPG is presented on some services
    the thing which i miss is map EPG info from another service or export import for future use on boxes(E1;E2) which have only 5East signal


  • Enigma2 is using the menu language as first preferred language but that´s not a good solution as i would like english menu and my own language on the epg.
    So i have done a patch to do what you have suggested in the file "/etc/enigma2/epglang" i write what first/second/third preferred language it should use on the epg.


    I need to do more testing then i will post my modified enigma2 for dm800 on my forum, if someone is interested i could post diff files also.


    --
    cipher
    EPG Evolution

  • Patched enigma2 OE1.5 for DM800
    -----------------------------------


    EPG langauge patch
    -------------------
    Default enigma2 using menu langauge as prefered EPG langauge this patch reads from the file epglang instead for prefered langauges.
    You can have multiple langauges in the epglang file seperated with a newline the first line, the first line will be the
    first prefered langauge and the second line the second prefered langauge and so one...


    Note the langauges needs to be in the 3 character codes and in lowercase like "eng" for english.



    Full Viasat EPG patch
    -------------------
    This patch makes enigma2 listen on pid 0x39 instead of the standard pid 0x12 for EPG on the channels specified in the epgpid file


    Full Viasat EPG working on the channels (included in the default epgpid file)
    EPG (12054000V) - You get a zap error on this one but still gets epg
    EPG_data (11862000V) - Recommended



    The file include installation notes..


    enigma2.dm800.20090428.zip
    http://epg.evolution.project-x…nigma2.dm800.20090428.zip






    --
    cipher
    EPG Evolution

    2 Mal editiert, zuletzt von cipher ()

  • Maybe it is helpfull to put here a file with the differences from GIT. maybe (after a slight modification) it could be added to git.

  • Could not get run it. Tested with[Moderator] Image is in violation of the Boardrules [/Moderator]


    I hope that the patch will be added to git (CVS).


    PS. perhaps the correct place for epg language info will be in /etc/enigma2/settings


    -----
    Elmo


    ===============


    root@dm800:/media/usb# ./enigma2
    PYTHONPATH: /usr/lib/enigma2/python
    + (1) Background File Eraser
    + (8) graphics acceleration manager
    + (9) gLCDDC
    + (9) GFBDC
    16384k video mem
    - double buffering available!
    13144kB available for acceleration surfaces.
    resolution: 720 x 576 x 32 (stride: 2880)
    + (9) Font Render Class
    [FONT] initializing lib...
    [FONT] loading fonts...
    [FONT] Intializing font cache, using max. 4MB...
    + (10) gRC
    RC thread created successfully
    + (15) eWindowStyleManager
    + (20) DVB-CI UI
    + (20) misc options
    + (20) UHF Modulator
    couldnt open /dev/rfmod0!!!!
    + (20) AVSwitch Driver
    couldnt open /dev/dbox/fp0 to monitor vcr scart slow blanking changed!
    + (20) RC Input layer
    + (21) Console RC Driver
    + (21) input device driver
    Input device "dreambox front panel" is not a keyboard.
    Input device "dreambox remote control (native)" is not a keyboard.
    Input device "dreambox advanced remote control (native)" is not a keyboard.
    Input device "dreambox ir keyboard" is a keyboard.
    Input device "dreambox ir mouse" is not a keyboard.
    Found 5 input devices!
    + (30) eActionMap
    + (35) CI Slots
    scanning for common interfaces..
    cannot open /proc/stb/tsmux/input0
    cannot open /proc/stb/tsmux/input1
    done, found 0 common interface slots
    + (40) eServiceCenter
    settings instance.
    + (41) eServiceFactoryFS
    + (41) eServiceFactoryDVB
    + (41) eServiceFactoryMP3
    reached rl 70
    ---- opening lame channel db
    reading services (version 4)
    main thread is non-idle! display spinner!
    no spinner DC!
    loaded 5970 services
    scanning for frontends..
    opening frontend 0
    detected satellite frontend
    close frontend 0
    found 1 adapter, 1 frontends(1 sim) and 3 demux
    Use valid Linux Time :smiling_face: (RTC?)
    [EPGC] Initialized EPGCache
    [EPGC] time updated.. start EPG Mainloop
    before: 1
    after: 1
    Loading spinners...
    found 4 spinner!


    executing main
    setIoPrio best-effort level 3 ok
    Traceback (most recent call last):
    File "/usr/lib/enigma2/python/mytest.py", line 3, in <module>
    import enigma
    File "/usr/lib/enigma2/python/enigma.py", line 196, in <module>
    class iServiceInformation(object):
    File "/usr/lib/enigma2/python/enigma.py", line 218, in iServiceInformation
    sTitle = _enigma.iServiceInformation_ENUMS_sTitle
    AttributeError: 'module' object has no attribute 'iServiceInformation_ENUMS_sTitle'
    ---- saving lame channel db
    saved 379 channels and 5970 services!
    release cached channel (timer timeout)
    [EPGC] 8619 events read from /hdd/epg.dat
    [EPGC] start cleanloop
    main thread is non-idle! display spinner!
    [EPGC] stop cleanloop
    [EPGC] 12454 bytes for cache used
    [EPGC] 0 events written to /hdd/epg.dat
    thread joined 0
    set RTC to previous valid time
    - (41) eServiceFactoryFS
    - (41) eServiceFactoryDVB
    - (41) eServiceFactoryMP3
    - (40) eServiceCenter
    clear instance
    - (35) CI Slots
    - (30) eActionMap
    - (21) Console RC Driver
    - (21) input device driver
    - (20) DVB-CI UI
    - (20) misc options
    - (20) UHF Modulator
    - (20) AVSwitch Driver
    - (20) RC Input layer
    - (15) eWindowStyleManager
    - (10) gRC
    waiting for gRC thread shutdown
    gRC thread has finished
    - (9) gLCDDC
    - (9) GFBDC
    - (9) Font Render Class
    - (8) graphics acceleration manager
    - (1) Background File Eraser
    reached rl -1
    root@dm800:/media/usb#

    Einmal editiert, zuletzt von floh ()

  • The error seems to be the same i got first, run "ipkg update" and "ipkg upgrade" to get the latest python part of enigma2 (if it still does not work it could be that the update is delayed on the image you using).


    I will post diff files when i´m done with the patching..


    --
    cipher
    EPG Evolution

  • I decided to post my diff file even if it´s a little ruff, hopfully someone could clean it up and make it in to GIT, my suggestion to improve the patch.


    1. Follow the same standard as other userbouquet file and with custom pid specified
    example /etc/enigma2/userbouquet.epg.tv
    #EPGPID 0x39
    #SERVICE 1:0:1:38f:15:56:300000:0:0:0:


    2.Get serviceref direct in epgcache.cpp so no need for the patch on dvbci.cpp (did not have time to fix it myself)


    3. As suggested read the epg language from settings or any other standard file and make it possible to change from GUI
    example /etc/enigma2/settings
    config.epg.language=deu,ger,eng



    Diff file:
    http://epg.evolution.project-x.us/files-e2/epg.diff


    --
    cipher
    EPG Evolution

  • I like to thank ghost for the "epgcache.h/cpp: add viasat (sirus 5°E) EPG" commit to the GIT it works perfect.



    --
    cipher
    EPG Evolution

  • i cant get it to work i also have viasat and canal digital so how do i get the epg to work on my 7025 [Moderator] Image is in violation of the Boardrules [/Moderator]box any help all help is needed

    Einmal editiert, zuletzt von floh ()

  • how can i get viasat EPG in E1 image?
    adding 'EPG_data' channel to favorites and zap to it didnt help :frowning_face:

    Code
    #EPGPID 0x39
    #SERVICE: 1:0:1:38f:15:56:320000:0:0:0:


    p.s.
    something similar is with sky.uk, some images can read weekly epg but moust cant

  • Hi again.


    Looks like, that Viasat has stop to send a long EPG with finnish language.
    This cause a problem, when finnish is a default language (GUI) - I dont get the long epg at all.


    Suggestion, the epg language should be selectable. Like preferred epg language list: fin, eng, ...


    ===================


    Sorry my mistake, the Viasat EPG wasn't enabled. When this kind settings has appears?


    Anyway how the enigma2 selects epg language? Now i get the english epg - viasat sends swe/nor/dan/eng.

    Einmal editiert, zuletzt von elmo ()

  • Anybody who can tell me the Frequence and PID number where I can find Viasat nordic long EPG??? Pls let me know if you know it :-).


    If you know the frequence and PID for Canal Digital I will be very happy.

  • how can i get viasat EPG in E1 image?
    adding 'EPG_data' channel to favorites and zap to it didnt help :frowning_face:

    Code
    #EPGPID 0x39
    #SERVICE: 1:0:1:38f:15:56:320000:0:0:0:


    p.s.
    something similar is with sky.uk, some images can read weekly epg but moust cant


    The week EPG works on just a few of the channels at 4.8e in E1 images.
    It would be nice if this pach could be added to Enigma1 images, but the E1 development is more or less dead.


    Edit:
    ups, its a old thread.