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 4 of 6 FirstFirst ... 23456 LastLast
Results 46 to 60 of 89

Thread: My YouViX Blue modification

  1. #46
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    Quote Originally Posted by Orlandox View Post
    I got it now ! It was my mistake, because I had this <widget name="icon" position="0,0" size="0,0"/> #To remove debug warning. Aaaargh !
    Thank you for your help again !
    Yes but the warning is due to no images being listed in the "pixmaps" attribute.
    Help keep OpenViX servers online.Please donate!

  2. #47

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Hello,

    next question about TMDb skin: size of star.png has been increased from 100x100 to 150x150 and it doesn't fit anymore to the screen. How I can scale it smaller to fit size 100x100 ?

    EDIT : I fixed it by using scale="1"

    <ePixmap position="e-400,165" size="100,100" zPosition="0" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/tmdb/pic/star.png" transparent="1" alphatest="blend" scale="1"/>
    Last edited by Orlandox; 20-08-23 at 16:56.

  3. The Following User Says Thank You to Orlandox For This Useful Post:

    Huevos (20-08-23)

  4. #48

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Hello,

    how to this can be shown on 'SoftwareUpdateChoices' ? Now I can only see "Perform a settings backup," and on a second line just the top of "making a backup before updating"

    https://github.com/OpenViX/enigma2/b...Update.py#L284

    choices.append((_("Perform a settings backup,") + '\n\t' + _("making a backup before updating") + '\n\t' + _("is strongly advised."), "backup"))

  5. #49
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    Get a screengrab of the page.

    But anyway if there is only room for one line it is not going to show.

    And anyway it is crap breaking up a sentence like that. It should be one translatable unit with %s or line feeds inside the gettext.
    Help keep OpenViX servers online.Please donate!

  6. #50

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Quote Originally Posted by Huevos View Post
    Get a screengrab of the page.

    But anyway if there is only room for one line it is not going to show.

    And anyway it is crap breaking up a sentence like that. It should be one translatable unit with %s or line feeds inside the gettext.
    From which page you want to have a screengrab ?
    I can see all those 3 lines when changing font size -> <alias name="ChoiceList" font="Regular" size="10", but then the text is so small that I barely can read it.

  7. #51
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    It does not make sense having three lines of text in a list item. I've moved the the warning message to the end of self["text"]. You well need to tweak the translations.

    https://github.com/OpenViX/enigma2/c...1033041804f454
    Help keep OpenViX servers online.Please donate!

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

    Orlandox (07-09-23)

  9. #52

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Thank you. Done that and it looks good now !

  10. #53

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    I was happy too soon. When you select '3', after that we have odd situation again: starting from line 350.

    https://github.com/OpenViX/enigma2/b...Update.py#L350

  11. #54

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Can it be fixed like this ?

    Code:
    		if answer[1] == "menu":
    			if config.softwareupdate.updateisunstable.value == 1:
    				message = _("The current update may be unstable.") + "\n" + _("Are you sure you want to update your %s %s?") % (getMachineBrand(), getMachineName()) + "\n(%s " % self.total_packages + _("Packages") + ")"
    			elif config.softwareupdate.updateisunstable.value == 0:
    				message = _("Do you want to update your %s %s?") % (getMachineBrand(), getMachineName()) + "\n(%s " % self.total_packages + _("Packages") + ")"
    			choices = [(_("View the changes"), "changes"),
    				(_("Upgrade and reboot system"), "cold")]
    			if not self.SettingsBackupDone and not config.softwareupdate.autosettingsbackup.value and config.backupmanager.backuplocation.value:
    				choices.append((_("Perform a settings backup"), "backup"))
    			if isPluginInstalled("ViX") and not config.softwareupdate.autosettingsbackup.value and config.backupmanager.backuplocation.value:
    						message += "\n" + _("Making a settings backup before updating is highly recommended.")

  12. #55
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    What exactly is the problem?
    Help keep OpenViX servers online.Please donate!

  13. #56

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Same texts, but little differencies:

    for example:

    https://github.com/OpenViX/enigma2/b...wareUpdate.py#L354 -> message = _("Do you want to update your %s %s ?") % (getMachineBrand(), getMachineName()) + "\n(%s " % self.total_packages + _("Packages") + ")"

    https://github.com/OpenViX/enigma2/b...wareUpdate.py#L269 -> message = _("Do you want to update your %s %s?") % (getMachineBrand(), getMachineName()) + packagesMsg

    Then this is too long to fit : https://github.com/OpenViX/enigma2/b...wareUpdate.py#L358 -> choices.append((_("Perform a settings backup, making a backup before updating is strongly advised."), "backup"))

    Now it needs double translations, because small differencies (i.e. space missing).

  14. #57
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    Try this version.

    The whole thing is horrible though from a translation point of view. It is all split into small units so the translator has no control over the order.
    Attached Files Attached Files
    Help keep OpenViX servers online.Please donate!

  15. The Following User Says Thank You to Huevos For This Useful Post:

    deltec (07-11-23)

  16. #58

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Now everything looks good, thank you.

  17. The Following User Says Thank You to Orlandox For This Useful Post:

    deltec (07-11-23)

  18. #59

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    689
    Thanks
    237
    Thanked 79 Times in 66 Posts
    Hello,

    I tried ColorButtonsSequence and ButtonSequence. Can I define more buttons on ButtonSequence ? And some screens are missing buttons. For example "PluginBrowser" is missing key_left, key_0 and key_right. Also "EPGSearch" is missing key_info and key_menu. So they must be added manually and ButtonSequence looses its meaning.

    So is it possible to add those buttons to python code ?

  19. #60
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,777
    Thanks
    2,028
    Thanked 5,046 Times in 3,322 Posts
    Quote Originally Posted by Orlandox View Post
    Hello,

    I tried ColorButtonsSequence and ButtonSequence. Can I define more buttons on ButtonSequence ? And some screens are missing buttons. For example "PluginBrowser" is missing key_left, key_0 and key_right. Also "EPGSearch" is missing key_info and key_menu. So they must be added manually and ButtonSequence looses its meaning.

    So is it possible to add those buttons to python code ?
    The buttons in ButtonSequence (e.g. TEXT, MENU, HELP, INFO) lead to other screens. In contrast, the buttons you are talking about in PluginBrowser are just a list sorting function. And also the key_0 is an exception being displayed there (no other screen uses that), so personally I don't think those hooks should be added to the python code. Where they are buttons that open other screens they have already been added everywhere in enigma python code (as far as I know).

    As for EPGSearch that should be fixed, but unfortunately we don't have write access for every plugin.
    Help keep OpenViX servers online.Please donate!

  20. The Following 2 Users Say Thank You to Huevos For This Useful Post:

    deltec (07-11-23),Orlandox (06-11-23)

Page 4 of 6 FirstFirst ... 23456 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.