Beiträge von SpanAdri

    I have found a way to do it... I guess I should have tried this before posting, sorry.


    Anyway, just in case anyone else needs to do it is way simple by doing this:

    Code
    newservice = self.session.nav.getCurrentlyPlayingServiceReference()
    newserviceString=newservice.toString()
    print "getCurrentlyPlayingServiceReference returns the following: ", newservice,newserviceString


    And the printing result is:


    Zitat

    getCurrentlyPlayingServiceReference returns the following: <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x2e564b40> > 1:0:1:138C:32:22D4:EEEE0000:0:0:0:

    Thank you, it has been very helpful! Specially telling me to take a look at InfoBar code.


    But I have another question, now I know how to turn a Hexadecimal service chain into a eServiceRefernce like this: esref1 = eServiceReference("1:0:1:138C:32:22D4:EEEE0000:0:0:0:")


    But, what if I want to get the currently service and get the original hexadecimal chain?


    I do:


    Code
    newservice = self.session.nav.getCurrentlyPlayingServiceReference()
    print "getCurrentlyPlayingServiceReference returns the following: ", newservice


    And I get at the Console Terminal:


    getCurrentlyPlayingServiceReference returns the following: <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x2e561b60> >


    It's an object that I can't manipulate... it's not a list or a string...


    Any clue?


    Danke!

    And what do the parameters REFTYPE, FLAGS, ONID, NS, PARENT_SID, PARENT_TSID, mean?


    I guess SID must be stream identifier, and TSID transport stream identifier, but I don't know the rest.


    You don't know anything about how the Video Window object works?... :question_mark: :question_mark:

    I'm doing some zapping by using the following code:



    pretty easy, right? It just makes a zapp to the (static) service defined. If I am using two video windows the zapping only happens to the one called with the parameter "decoder=0".


    Of course, nothing happens if that service was previosly selected.


    I'd like to make a zapping happen in the other video window too.


    By the way, the video window with decoder=1 doesn't show anything unless you have previously activated Picture in Picture using the blue button.


    I don't find a way of calling a Picture in Picture object... don't know which parameters to be called... any help?

    I've been waiting ages for an answer... please, this is important... I'm starting to go crazy.


    I've continued surfing the codes of enigma2, I've been able to program my own plugins and make them work in the tv by doing a prospection of other plugins' codes, but finally I always face the same problem: with my DM7025 I have a version of Python which is not complete (I can dig the documentation of python, but not all the information is usefull in the end), and I have Enigma2 on top, with lots of its own modules which are the really important ones because the actual working of the plugins (how to play videos or audio or how to take information from the MPEG2-TS and show it on the TV) rely on them. But, how can I know how to make them work?? There aren't any in depth documentation of enigma2! :wacko: :wacko: :wacko: :wacko:


    I'm not that interested in making my own NFI file, being able to do my own skin (now I know how to do it) and use the modules which now Enigma2 include in my own way would be enough...

    Hallo zusammen!


    Ich hoffe Sie könnnen mir helfen.


    Ich muss für meine DM 7025 irgend-aplication programmieren und habe ich viele problemen gefunden. Ich weiss nicht wie könnte ich informationen finden, diesen aplicationen zu machen. Gibt es keine "API guide" über python plugins?


    Ich habe viele python guides konsultieren, aber dass hilf nichts...


    Ich öfnete auch ein thread für das VideoWindow, aber es ist nicht mein eigene problem (ich habe viele anderen).


    Als Sie können seen, mein Deutsch ist nicht das beste (entschuldigung). Ich komme aus Spanien und ich kann gut English, aber die English Forums haben nicht genugen informationen.


    (Wenn móglich, würde ich auf English schreiben...)


    Ich brauche doch Advanced-information... ich weiss wie kann ich ein plugin beginnen (wo sind die files plugin.py und __init__.py, etc.) aber ich weiss nicht wie kann ich die objetcs dass sind in /usr/lib/enigma2/python controlieren.


    Vielen Dank. :smiling_face:

    Thanks for replying!


    I've checked out the code of the WebInterface (plugin.py file) and it says:


    Version = '$Header: /cvsroot/enigma2-plugins/enigma2-plugins/webinterface/src/plugin.py,v 1.66 2007-11-26 13:49:05 ghost Exp $';
    __version__ = "Beta 0.98.5"


    For the Enigma version and Image, I checked it out directly using the receiver (going to the "about" section at the menu display):


    Enigma: Tenigma2_rel24-Sep 24 2008
    Image: dev-2007-10-25


    I've also tried deleting the cache, but the truth is it has never worked out (I've tried two different computers).


    I've tried using a explorer version on Wine, but It worked even worse...


    I've tried to change the webinterface version by directly installing the IPK package downloaded from sources.dreamboxupdate but It prompts an error...


    Thanks for helping. :smiling_face:

    hallo zusammen!


    I want to make use of the video window for a plugin, so I made the following code:




    This just makes two video windows and I give them as parameter the decoder (0 or 1). Decoder=0 is what I'm currently watching on the TV, and decoder=1 is nothing unless I have previously activated the Picture in Picture, in which case it shows up the "secondary" channel of the PIP.


    I'd like to know if there's a way to choose exactly what it's shown on those video windows, I mean choose by PID or maybe take the video stream from my computer via ethernet.


    Could anyone help me about it? Is there any plugin code where I can take some information?


    Best regards! :smiling_face:

    Hallo zusammen!


    Ich kann ein bischen Deutsch, aber Ich werde auf english schreiben (entschuldigung).


    I have a problem using the Webinterface of my DM7025 (Enigma 2). I've seen that when I use the option of "Remote Controll" the square in the middle shows up the message "loading image" as if it was trying to load what is shown on the TV screen, but it never gets to do it.


    I'm using a Linux Kde O.S. and I have the same problem using both Icewasel and Konkeror. I'm afraid is a matter of the navigator...


    what could I do about it? It would be great to me being able to get some captures of the screen.


    Vielen Dank für ihre hilfe!