Investigation into getting Chinese EPG in OpenPLi/enigma2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avp3
    Newbie
    • Feb 2013
    • 6

    #31
    Originally posted by i1646tvk84423
    I've briefly looked at the discussion on tvrofans.org. I don't fully understand how libdvbsi++ is involved. I've to spend more time on it.

    At this time, my comments are:

    Those guys are talking abt their situation in China right? Does it apply to SG? Even if the provider complies to DVB-SI spec, (I believe) most images do not have Unicode fonts so they will show garbage. On top of this, SG SH is not compliant, as shown in part 1 of my investigation above.
    I think the same ideal can be applied for the Chinese EPG in SG. In China they change libdvdsi++ to correctly show GBK Chinese EPG. You can also make it support Chinese EPG of SG. You change the unicode chart to Chinese chart of SG in enigma, it can also be implemented in other place, such as libdvdbsi++.

    More reference can be found here.



    I really hope you can solve the Chinese EPG problem where both BIG5 and GBK Chinese EPG are supported.
    Last edited by avp3; 11 February, 2013, 06:31.

    Comment

    • i1646tvk84423
      Junior Member
      • Jan 2013
      • 36

      #32
      Investigation into getting Chinese EPG in OpenPLi/enigma2

      Originally posted by pekakbadak15
      if (table == 99)
      return std::string((char*)data, len);


      I need some clarification on the above function. What does it do?


      chi ISO8859-99

      What does the above -99 number symbolize? Why must it be 99 and not other no?

      Thanks for clarification.
      Since Starhub already gives UTF8 data, I just need
      return std::string((char*)data, len);

      But existing C code don't have this line, so I made my own. To trigger it, I use table = 99.

      Any value will do, just have matching number in encoding.conf.

      Comment

      • i1646tvk84423
        Junior Member
        • Jan 2013
        • 36

        #33
        Investigation into getting Chinese EPG in OpenPLi/enigma2

        Originally posted by spink123
        Hi, first of all, thanks for sharing on how to get Chinese EPG in Open Pli image.

        I am interested to put in the chinese channels' names in Chinese just like your snapshot. I understand that I need a chinese editor, may I know which editor are you using and which is the file to edit to see the channels to edit?

        Thank you and hope to hear from you soon.
        I edit by hand, don't follow me.

        In the thread, someone has suggested an editor that works for Chinese. Please find the post.

        Comment

        • avp3
          Newbie
          • Feb 2013
          • 6

          #34
          Whether there is new progress on this topic.

          Comment

          • tuxpower
            Newbie
            • Jul 2011
            • 13

            #35
            Well done i1646tvk84423 !!!

            Any thoughts of contributing your changes back to the OpenPLi community? This is what open source is all about.

            Originally posted by flye
            your files works on DM800 too, my box is not the SE



            i have shared my image for here for everyone to enjoy your great work, hope you don't mind my friend.

            Digital Kaos - Downloads - Openpli SG edition 2013 for DM800HD *UPDATED*
            Well done on your part too, Flye!!!

            I have a DM 800C HD PVR and it's currently running Newnigma 2 (SIM 2.01, SSL 82). I am thinking of putting your image on a USB thumbdrive (OpenPLi Wiki: How To Boot Your DM800 From A USB Stick).

            Any chance that this image can work with SSL82? Or do I need to upgrade it to the latest SSL (eg SSL 84b)?

            Thanks.
            Last edited by tuxpower; 22 March, 2013, 03:24.

            Comment

            • tuxpower
              Newbie
              • Jul 2011
              • 13

              #36
              Answering my own post

              Nevermind. I have already upgraded my box to SSL84b. I have also upgraded it to the image posted by Flye.

              Comment

              • sneezereer
                Newbie
                • Feb 2013
                • 11

                #37
                Originally posted by i1646tvk84423
                I edit by hand, don't follow me.

                In the thread, someone has suggested an editor that works for Chinese. Please find the post.
                How did you do it by hand? Using MSWord to input Chinese characters into lamedb via ftp ?

                Comment

                • howpeter
                  Member
                  • Jun 2011
                  • 63

                  #38
                  Hi i1646tvk84423
                  Congratulation! I am very happy to hear you are able make Dm800 with OpenPLi v2.1 image to be able to display Chinese font in EPG.
                  Very seldom I would see live show, usually I will view them in EPG and record whatever I wanted to watch and view whenever I am free. It would really be very helpful to me if it could display Chinese font in EPG so that I do not need to check newspaper for the show?s title. Can you make it work for Dm7020Hd V2 (enigma2) with Newnigma2 v4.0.9 please? OpenPLi does not have Enigma2 image of version2. I understand there will be lots of hard work, so it would only be fair that I pay for your hard work!

                  Originally posted by i1646tvk84423
                  Names of channels, specified in lamedb, can also be in Chinese UTF8. They will show when you're using a Unicode font.

                  Latest update: Microsoft's "Arial Unicode" looks the nicest, but it is more than 23MB big, way bigger than the ~ 17MB free space left after gjstroom's .nfi image. The next best looking font is "LiHei Pro", taken from my Mac OSX, which is what I've settled on. It is only 10MB, holds less glyphs than "Arial Unicode" but good enough for SH's Chinese so far..

                  Comment

                  • howpeter
                    Member
                    • Jun 2011
                    • 63

                    #39
                    Hi i1646tvk84423
                    Recently I realized that my Dm500c and Dm800Hd are displaying (or converting) the Chinese titles of the entire Chinese program (Channels 800 and above) to English wordings in EPG. But my Dm7020Hd V2 is displaying those wording in rubbish format. Wonder why is it so? Is it because my Dm7020Hd V2 has got no Chinese selection in the Language setting?
                    I made a comparison between Dm7020Hd and Dm800Hd, and found the followings,
                    1.0 /usr/lib/enigma2/python/Components/Converter/
                    1.1 Delite****ogic.py - Dm7020 do not have this file
                    1.2 Delite****ogic.pyo ? Dm7020 do not have this file
                    2.0 /usr/lib/enigma2/python/Delite/ - Dm7020 do not have this folder and the following files
                    2.1 DeliteEpgPanel.pyo
                    2.2 DeliteEpgSearch.pyo
                    3.0 /usr/lib/enigma2/Components/Converter/ - Dm7020 have this folder
                    4.0 /usr/lib/enigma2/python/Screens
                    4.1 DeliteAnologic.py - Dm7020 do not have these files
                    4.2 DeliteAnologic.pyo
                    5.0 /usr/lib/python2.6/encodings - Dm7020 have the followings files too,
                    5.1 big5.py
                    5.2 big5.pyo
                    5.3 big5hkscs.py
                    5.4 big5hkscs.pyo
                    6.0 /usr/share/fonts/ - Dm7020 has this folder too,
                    7.0 /usr/share/zoneinfo/
                    7.1 Hong_Kong - Dm7020 has this file in Asia folder
                    8.0 /usr/share/dict/ - Dm7020 do not have this the followings files, totally empty.
                    8.1 channels.au
                    8.2 channels.it
                    8.3 dictionary.it
                    8.4 dictionary.uk
                    8.5 & other files

                    Please tell me what I should do to make it able to convert the Chinese titles to English words in EPG? Or could it be the downloading?s website of EPG in Dm800/500 are different from my Dm7020?
                    Please Help!
                    Thanks very much!

                    Comment

                    • avp3
                      Newbie
                      • Feb 2013
                      • 6

                      #40
                      Could you make your image supporting Chinese GBK font (DM800C)? Thank you for your great work! I test this one Digital Kaos - Downloads - Openpli SG edition 2013 for DM800HD *UPDATED*
                      It does not support Chinese GBK character (fileencoding=gb18030).
                      ppp.jpg
                      Last edited by avp3; 14 May, 2014, 01:35.

                      Comment

                      Working...