Beiträge von elmo

    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.

    How about the subtitle selection via web-interface?


    Same style like audio track
    /web/getaudiotracks
    /web/selectaudiotrack?id=


    -->


    /web/getsubtitletracks
    /web/selectsubtitletrack?id=


    ====
    This will help eg. streaming and with some batch job You can select "semi automatic" subtitle selection...


    Elmo

    I preferred an open source solution - the currently built in. Not the closed code, like 2SUB/2LANG.
    Only the automatic selection still missing:
    - subtitle by language and the teletex type
    - audio language and the type


    Eg.
    Subtitle:
    1. finish/DVB-subtitle
    2. finish/teletext-subtitle


    Audio:
    1. finish/MPEG
    2. finish/AC-3
    3. english
    4. original


    Elmo

    Hi


    Looks like enigma2 don't send turn command to motor (USAL), when
    - dreambox set to standby (in position A) and timed record is set (to position B).
    - dreambox set to standby (in position A), the dish is moved to position B. Switch dreambox on - its dont move the dish to correct position.
    When you goto to position C, then the dreambox move's the dish OK.


    kernel-image-2.6.12-5.1-brcmstb-dm800 - 2.6.12-s7
    dreambox-dvb-modules - 2.6.12-5.1-brcmstb-dm800-20091125-r0

    Other please - add patch to CVS.


    Small notices about current CVS implementation:
    - Subtitles not always shown. Reset subtitle on, and after while they disappearing. Specially with MTV3 AVA, Fakta and SARJA (5E).
    - Empty lines. Eg. First line, empty line, empty line, last line.


    Rgd Elmo.

    Zitat


    I suspect that you mean a systemwide setting for subtitles, so you don't have to manually activate subtitles on every single channel?


    Exactly that (and audio also). And then, do it again after satellite re-scan. Also with recorded movies you must enable subtitles on (and select the audio language).


    How about enigma plug in approach? I know that at current suomipoeka enables subtitles automatically on, when you watching recorded movies.


    Elmo.

    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#

    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

    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)]

    Hi


    Enigma2 has already decent, subtitle and audio language functionality.
    But the automatic language selection is still missing.
    Embarrassing - even 50 euros DVB-T/C/S box's have this auto language feature...


    Subtitle:
    - Auto selection: on/off
    - Preferred type : DVB-->Teletext, Teletext-->DVB
    - 1st: lang A
    (- 2nd: lang B)


    Audio:
    - Auto selection: on/off
    - Preferred type : AC3-->MPEG, MPEG--> AC3
    - 1st: lang A
    (- 2nd: lang B)


    Nice to have feature - EPG:
    - Auto selection: on/off
    - 1st: lang A
    (- 2nd: lang B)


    PS. this audio/subtile auto selection should be also work, with recorded movie playback.