Beiträge von 3c5x9

    Google Maps Enigma2 Client FAQ



    How to get own Placemarks into the List at Plugin Start?


    You can put your own KML-File in the Root Dir of the Plugin. This is in most
    cases /usr/lib/enigma2/python/Plugins/Extensions/GoogleMaps/



    How the Plugin will find my custom KML-File?


    The Plugin looks at Startup in his own Dir and will try to read and to display
    all Files that are ending with the Extension .kml .



    How to get a KML-File?


    The Plugin uses the same KML-Files as Google Earth does it. So, if you have
    your Collection of custom Placemarks in Google Earth for Example, export them
    into a File in the Format KMZ. Rename this exported KMZ file to xxzzyy.kmz.zip
    and extract it. You will find a KML-File that will contain your Placemarks.



    Why are there so much more Tags in the original KML-File from Google Earth than
    in the standart KML-Files of the Plugin are?


    This is because parsing unneeded Stuff costs Time we dont have :smiling_face: To Speeding
    up the Start of the Plugin, we have kicked of all unneeded Stuff from the
    standart KML-Files. But a original KML from Google Earth has to work too, but
    slower.



    Which Tags are important for this Plugin?


    This is an example of a KML-Docoment :
    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://earth.google.com/kml/2.2">
    <Document>
    <Folder>
    <name>This is the Entry which will be shown in the Plugin Root List</name>
    <Placemark>
    <name>This is the Name of a Placemark</name>
    <LookAt>
    <longitude>13.3501</longitude>
    <latitude>52.514553</latitude>
    </LookAt>
    </Placemark>
    </Folder>
    </Document>
    </kml>



    What I am doing, if i want some Placemarks be added to the standart Plugin
    KML-Files?


    Just send me a email to 3c5x9%at%gmx.net .

    intern in E2 wurde was geändert, daher der Fehler.


    Es ist aber derzeit nen kompletter Umbau in der Mache, daher kann ich immo nichts neueres als im CVS anbieten.

    Zitat

    Original von FeRgY
    3c5x9
    Great idea and great embedd :smiling_face_with_sunglasses:
    Why You don't port this as program for win'n lin?
    It's not a big deal to build it with visual basic or kdevelop!
    I wish You a great develop :winking_face:


    because in this way of distibuting a 'app' i can maintain a new version or a update or a bugfix to all users at once. And no one has to install something on a local maschine.


    On the other hand it is fancy to do this in a browser and when javascript this makes it possible, i cant see any reason to do it another programming language. funktion matters,not the system under it.

    Moin E2´ler und Leute die mit Skins unter E2 zu tun haben,


    Ich war es heute morgen, leid mir die Skin-Daten für Enigma2 Screens immer vonhand zu machen. Etwas ändern, E2 neu starten und dann gucken obs passt vom Layout her. Nur um dann festzustellen das doch nochnen Pixel hier oder da noch fehlt.


    Daher habe ich mich heute mal hingesetzt und das Problem (glaube ich) recht elegant gelöst:
    Ich habe eine kleine Browseranwendung geschrieben, in die ihr eure halb fertigen Skins hochladen könnt und mit nen paar Mausklicks anpassen könnt.
    Wenn alles soweit passt und ihr zu frieden seid, einfach Köpfchen drücken und schon bekommt ihr ein Layout bzw. die XML-Daten davon zurück.Diese braucht ihr dann nurnoch mit den entsprechenden Farben erweitern und fertig ist euer Screen.


    Derzeit können noch keine Elemente/Widget´s hinzugefügt werden, das könnte aber auch mal kommen :grinning_squinting_face:


    Das ganze läuft wohl nur mit Firefox bzw. anders rum gesagt hab ich nirgends anderes getestet.


    Zu finden ist das gute Stück unter http://remotehost.re.funpic.de/e2-screen-designer/


    viel Erfolg und gebt Feedbackk wenn das schön ist.


    Grüße
    3c5x9


    ######
    Hi E2 Folks,


    I just have write a small Tool. You can edit your E2-Skin Data just with the mouse. Upload your existing Skin to the Tool and edit it with the mouse with a visual Thing :smiling_face:


    At the End just press 'generate' and just will get a wellformed layouted Skin for your Screen.


    The URL is http://remotehost.re.funpic.de/e2-screen-designer/ , but i guess it will only run with Firefox.


    Have much Fun with it and please give some Feedback if you like it.


    regards
    3c5x9

    Zitat

    Original von lupomeo
    Is there someone who agree with me?
    [...]to C++ pure code in future E develop to have better performances.[...]


    No, i am in oposite of you.


    Im doing very much with Python ... parsing WebSites etc., Running a Python Webserver (aka twisted aka the Webif-Server-Thing) and have no performance problems. (this what makes the webif slow ist the client part which is in JavaScript)

    Zitat

    Original von LazyT... deshalb zum wiederholten Mal meine Frage wo denn nun genau das Problem liegen soll... :winking_face_with_tongue:


    Ohne es wirklich sicher zu Wissen ... das Framebufferhandling ist zwischen den 'alten und neuen' Boxen anders. Ich meine zB. die Farbtiefe und so. Daher ist es mit nem einfachen DurchDenCompilerJagen nicht getan.

    Wie ich schrieb musst du deine Funktion anders ansprechen!


    session.nav.record_event.append(Plugins.events.gotRecordEvent)


    Oder ähnlich. Hab die Syntax grade auch nicht wirklich im Kopf. Aber nach dem Prinzip sollte das funktionieren.


    Mal abgesehen davon, das er Standby.inStandby.onShow schon nicht kennt.

    Du mist deine Funktion komplett mit dem Pluginnamen als Callback eintragen. Weil so wie du es oben stehen hast ist das eine undefinierte Variable, deswegen None Type Object.


    Und Ppatchen braucht manb dafür definitiv NICHT.



    Standby.inStandby.onClose.append(MeinPlugin.meineFunktion)

    the twisted mainloop is startet twice. but why this happend,i dont know. I guess you have to install a fresh image if you install fresh Plugins.


    So go and get a new image build today and have a look again. You cant not mix old images (the official releases are all 'old') and new Plugins.This never will work well. Maybe this is the reason for your Problem with the Skins too.

    Kann sein , ja. Da scheint im OE das BB für zu fehlen.


    ABER, das wundert mich doch sehr... da im Emailclient von mir (auch im CVS) das gleiche Paket als Dependencie drin ist und da hatte noch nie jemand Probleme mit berichtet.Daher verstehe ichnicht warum das aufeinmal hier das Problem ist.


    Nix desto trotz... das Problem muss ich an die 'Labor-Leute' weitergeben. Denn A hab ich vom OE nicht so die Ahnung und B) haben die eh die Rechte sowas zu commiten ins OE bzw.mir fehlen diese.


    Als Notbehelf häng ich das Paket hier an ...

    Moin zusammen,
    Ich habe gestern Support für die verschlüsselte Übertragung via SSL in das WebInterface eingebaut.
    Es ist nur möglich, auf Port einzelnt die Verschlüsselung einzuschalten und damit die Verbindung über das Internet zu sichern. Passwörter, sensible Dokumente oder Daten werden damit nicht mehr in Klartext durch das internet bertragen.


    Benutzt wird dazu OpenSSL und selbsignierte SSL Zertifikate. Dieses Zertifikat kann durchaus so benutzt werden, es ist aber empfohlen dieses durch ein selbst Erstelltes zu ersetzen. Die Benutzung eines öffendlichen Private Key (öffentlich, weil es im CVS liegt) ermöglicht es potenziellen Angreifern das nachbauen der Verschlüsselung und somit das mitlesen der Daten.
    Um ein eigenes Zertifikat zu erstellen, hab ich ein kleines Script angehängt. Dies funktioniert unter Linux, in dem OpenSSL installiert sein muss. Es erstellt die Dateien server.pem und cacert.pem . Die server.pem enthält dabei den sog. Privatekey und sollte unter Verschluss gehalten werden und nicht weiter gegeben werden. Die Dateien müssen dann beide nach /etc/enigma2/ kopiert werden und die dort vorhandenen ersetzten.


    Da es ein selbst signiertes Zertifikat ist, meckern die Browser über ein nicht vertrauenwürdes Zertifikat.Das liegt dadran, das das Zertifikat nicht von einer sicheren Stelle überprüft wurde. Um sich mit der Box verbinden zu können, müsst ihr das Zertifikat im Browser manuell hinzufügen. Firefox bietet dies in der entsprechenden Fehlermeldung von sich aus an... IE oder Opera Nutzer müssten gucken wie das bei Ihnen funktioniert.

    Code
    Update of /cvsroot/enigma2-plugins/enigma2-plugins/webcamviewer/src
    In directory schwerkraft:/tmp/cvs-serv373/webcamviewer/src
    
    
    Modified Files:
    	webcam.xml 
    Log Message:
    removing outdated weather pictures, thx to AliAbdul1978


    erledigt. Wenn wer Neue hat, bitte melden.