Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 9 of 12 FirstFirst ... 7891011 ... LastLast
Results 121 to 135 of 180

Thread: EPG Translator (Discussion thread)

  1. #121

    Title
    Member
    Join Date
    Dec 2011
    Posts
    89
    Thanks
    34
    Thanked 22 Times in 20 Posts
    Quote Originally Posted by birdman View Post
    That makes no sense to me.
    Not clear whether you are referring to begin_props or end_props, but both were changed to allow [ or ( to start a grouping.

    So:
    Code:
     (?:\[                      # Start a group
    became
    Code:
     (?:                        # Start a group
      (?:\[|\()                 # Opening [ or (
    You are starting a group a second time, which should fail.

    Could you send the text (or a screen picture) of a description that suffered? My tests (admittedly in Perl, but these are Perl regxes and it's so much easier to debug with) all work fine.
    I simple use notepad+ use compare and looked at what changed between rc7 and rc8

    I changed back

    begin_props = """
    ( # Start all [] groups saving
    (?: # Start a group

    to

    begin_props = """
    ( # Start all [] groups saving
    (?:\[ # Start a group

    that is the only change i made and works.

    Hope that make sense

  2. #122
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by ja5 View Post
    I changed back

    begin_props = """
    ( # Start all [] groups saving
    (?: # Start a group

    to

    begin_props = """
    ( # Start all [] groups saving
    (?:\[ # Start a group

    that is the only change i made and works.

    Hope that make sense
    Well, no it doesn't.
    Except that it might prevent the property groups being removed from the description (since nothing is going to match), which might explain it as then everything would be passed on to be translated (which can be a problem).
    So it's possible that your programme descriptions are such that too much is being pulled of into the property groups.
    So I really need to see one of those descriptions that fail.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #123

    Title
    Member
    Join Date
    Dec 2011
    Posts
    89
    Thanks
    34
    Thanked 22 Times in 20 Posts

    EPG Translator (Discussion thread)

    Quote Originally Posted by birdman View Post
    Well, no it doesn't.
    Except that it might prevent the property groups being removed from the description (since nothing is going to match), which might explain it as then everything would be passed on to be translated (which can be a problem).
    So it's possible that your programme descriptions are such that too much is being pulled of into the property groups.
    So I really need to see one of those descriptions that fail.
    I hoped it made sense that i copied from rc7 to rc8 I cant help you other then to report what i find.

    Just try any channels on 13e or o.8w and the problem is easy to see.
    Last edited by Andy_Hazza; 23-01-21 at 10:30.

  4. #124
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by ja5 View Post
    Just try any channels on 13e or o.8w and the problem is easy to see.
    Not when I only have UK Freeview, and so am not seeing any problems at all.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. #125

    Title
    Member
    Join Date
    Feb 2020
    Posts
    52
    Thanks
    19
    Thanked 9 Times in 6 Posts
    Can’t see any problems with translations my end after rigorously testing on 19.2E..

  6. #126
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by carpcat View Post
    Can’t see any problems with translations my end after rigorously testing on 19.2E..
    Thanks.

    That's why I need an example of something which fails from someone who sees it failing.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  7. #127

    Title
    Member
    Join Date
    Dec 2011
    Posts
    89
    Thanks
    34
    Thanked 22 Times in 20 Posts

    EPG Translator (Discussion thread)

    Quote Originally Posted by birdman View Post
    Thanks.

    That's why I need an example of something which fails from someone who sees it failing.
    Thanking someone that doesnt find a problem but i already said 13e


    Hows this for a example
    1_0_1_290F_1EDC_71_820000_0_0_0_20210123074551.jpg
    Last edited by Andy_Hazza; 23-01-21 at 10:28.

  8. The Following User Says Thank You to ja5 For This Useful Post:

    birdman (23-01-21)

  9. #128
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Hmmm...looks like it's taken everything up to the last () group (the one with Dennis Quaid in) as "properties" so stripped them off from what will be translated. I was actually looking at fixing that as the potential issue last night. So already have a fix.
    I'll have an rc9 along soon-ish (with another fix related to changing the destination language I ran into last night).

    Hmm...it seems that there are some "minimum match" specifiers missing from the regex I have even now. Rethinking....
    Last edited by birdman; 23-01-21 at 14:23.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  10. #129
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,338
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    Is it possible to use flags from /usr/share/enigma2/skin_default/countries instead of /usr/lib/enigma2/python/Plugins/Extensions/EPGTranslator/pic/flag/

  11. #130
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by abu baniaz View Post
    Is it possible to use flags from /usr/share/enigma2/skin_default/countries instead of /usr/lib/enigma2/python/Plugins/Extensions/EPGTranslator/pic/flag/
    Possibly. Although that is a (quite) different set of country flags.
    I'll look into it after 2.01-release is out.

    EDIT:
    I could extend it to use all 149 languages offered by Google translate, using the system flags where they exist, or plugin ones when they don't.
    What does the "Bork, bork, bork!" flag look like, I wonder...?
    Last edited by birdman; 23-01-21 at 21:03.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  12. #131
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by birdman View Post
    Hmm...it seems that there are some "minimum match" specifiers missing from the regex I have even now. Rethinking....
    2.01-rc9 is now in the download thread.

    • The regexes for pulling out () and [] groups have been changed (and should now be much better).
    • A bug after changing the destination language (the previous one could still be used) has been corrected.
    Last edited by birdman; 23-01-21 at 21:04.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  13. #132
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,338
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    @birdman, do you want the version on 3rd party feeds updated?

  14. #133
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,770
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by abu baniaz View Post
    @birdman, do you want the version on 3rd party feeds updated?
    Yes, please.
    To the one attached here

    There may be another one along in a few days (but not sooner than that).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  15. #134

  16. #135
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,338
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    Just for reference, this is not translating on OpenPLI for me.

    Code:
    [ActionMap] Keymap 'InfobarExtensions' -> Action = 'extensions'.
    [Skin] Processing screen 'ExtensionsList' from list 'ExtensionsList, ChoiceBox', position=(0, 0), size=(1920 x 1080) for module 'ChoiceBox'.
    [Screen] Warning: Skin is missing element 'description' in <class 'Screens.ChoiceBox.ChoiceBox'>.
    [Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.ChoiceBox.ChoiceBox'>.
    [Skin] Processing screen 'ChoiceBox_summary' from list 'ExtensionsList_summary, ChoiceBox_summary, SimpleSummary', position=(0, 0), size=(220 x 176) for module 'SimpleSummary'.
    [Screen] Showing screen '['ExtensionsList_summary', 'ChoiceBox_summary', 'SimpleSummary']'.
    [Screen] Showing screen '['ExtensionsList', 'ChoiceBox']'.
    [ActionMap] Keymap 'WizardActions' -> Action = 'down'.
    [ActionMap] Keymap 'DirectionActions' -> Unknown action 'downUp'! (Typo in keymap?)
    [ActionMap] Keymap 'WizardActions' -> Action = 'ok'.
    [Screen] Showing screen 'InfoBarSummary'.
    [ActionMap] Keymap(s) 'OkCancelActions, DirectionActions, ChannelSelectBaseActions, ColorActions, MovieSelectionActions, HelpActions' -> Undefined action(s) 'bluelong'.
    [Skin] Parsing embedded skin '<embedded-in-translatorMain>'.
    [Skin] Processing screen '<embedded-in-translatorMain>', position=(210, 120), size=(1500 x 915) for module 'translatorMain'.
    [Skin] Error: Font 'Bold' (in 'Bold;36') is not defined!  Using 'Body' font ('Regular') instead.
    libpng warning: iCCP: known incorrect sRGB profile
    [EPGTranslator-Plugin] translateEPG error: unsupported operand type(s) for +: 'long' and 'str'
    [Skin] Processing screen 'SimpleSummary' from list 'translatorMain_summary, SimpleSummary', position=(0, 0), size=(220 x 176) for module 'SimpleSummary'.
    [Screen] Showing screen '['translatorMain_summary', 'SimpleSummary']'.
    [Screen] Showing screen 'translatorMain'.
    Attached Images Attached Images

Page 9 of 12 FirstFirst ... 7891011 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.