Ergebnis 1 bis 1 von 1
  1. #1
    Avatar von Fischreiher
    Registriert seit
    22.12.2013
    Ort
    an der Havel
    Beiträge
    1.349
    Thanks (gegeben)
    436
    Thanks (bekommen)
    787
    Total Downloaded
    40,84 MB
    Total Downloaded
    40,84 MB
    ReceiverDanke
    Box 1:
    Gigablue Quad
     
     
    Box 2:
    Gigablue Quad
     
     
    Box 3:
    Xtrend ET8000
     
     

    Improvements to OpenOpera HBBTV plugin

    Having selected OSD transparency, I find it difficult to read web pages in OpenOpera's web browser with the TV programme shining through.

    with OSD transparency:
    Improvements to OpenOpera HBBTV plugin-openopera_transp1.jpg

    without transparency:
    Improvements to OpenOpera HBBTV plugin-openopera_transp2.png

    I have therefore added the possibility to configure the transparency for OpenOpera's web browser separately (default: 255 = non transparent) in the "OSD position" menu.

    This requres changes in openATV and in OpenOpera (see below for the commit and the patch).

    I'm now wondering how this patch will make it into OpenOpera, hoping that some of the authors will read this. Would it be possible to set up a git repository for the OpenOpera plugin (or parts of it)? I know there are more people working on improvements, e.g. key handling fixing a Gigablue problem, so it would be great to have a git repository. Thanks.

    https://github.com/openatv/enigma2/c...ae057e154ddf11

    OpenOpera.patch.txt

    Code:
    --- OpenOpera/browser.py    2014-09-18 22:06:49.000000000 +0200
    +++ OpenOpera_with_transparency/browser.py    2015-01-09 19:21:42.090002200 +0100
    @@ -3,6 +3,8 @@
     from enigma import getDesktop, eRCInput, eConsoleAppContainer, fbClass
     import peerInterface
     import time
    +from Components.SystemInfo import SystemInfo
    +from Components.config import config
     
     class Browser:
         path = '/usr/local/OpenOpera/'
    @@ -58,14 +60,29 @@
                     size_w = getDesktop(0).size().width()
                     size_h = getDesktop(0).size().height()
                     os.system('export OPERA_FB_SIZE=' + str(size_w) + 'x' + str(size_h))
    +                try: # new config.osd.alpha_webbrowser may not be available everywhere
    +                    self.setOSDAlpha(config.osd.alpha_webbrowser)
    +                except:
    +                    pass
                     try:
                         eConsoleAppContainer().execute(self.path + 'launcher start')
                     except:
    -                    pass
    +                    try: # config.osd.alpha may not be available everywhere
    +                        self.setOSDAlpha(config.osd.alpha)
    +                    except:
    +                        pass
     
             else:
                 self.hideSendUrl()
     
    +    def setOSDAlpha(self,configElement):
    +        if SystemInfo["CanChangeOsdAlpha"]:
    +            print 'webbrowser setting OSD alpha:', str(configElement.value)
    +            config.av.osd_alpha.setValue(configElement.value)
    +            f = open("/proc/stb/video/alpha", "w")
    +            f.write(str(configElement.value))
    +            f.close()
    +
         def setPosition(self, osd_width, osd_height, dst_left, dst_width, dst_top, dst_height):
             if osd_width == dst_width and osd_height == dst_height:
                 self.isFullScreenBrowser = True
    @@ -347,6 +364,10 @@
                 fbClass.getInstance().unlock()
                 self.sendCommand(5, None, 0)
                 self.browser_state = self.BROWSER_STATE_HIDE
    +            try: # config.osd.alpha may not be available everywhere
    +                self.setOSDAlpha(config.osd.alpha)
    +            except:
    +                pass
     
         def showBrowser(self):
             if self.browser_state == self.BROWSER_STATE_HIDE:
    Geändert von Fischreiher (10.01.2015 um 11:24 Uhr)
    SpecialJump: Plugin zum schnellen manuellen Überspringen von Werbung (und mehr)
    http://www.opena.tv/plugins/6240-spe...-und-mehr.html
    Feature der Woche:
    * Fast Zap Mode (beschleunigte Umschaltzeiten durch vorausschauendes Vorladen des nächsten Senders auf einem weiteren Tuner)

  2. Thanks Jule_666, Thomas4711 bedankten sich
    •   Alt Advertising

       


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:31 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,26%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com