Beiträge von _marv_

    Also irgendwie will das bei mir nicht.


    2 Boxen (DM8000, DM7020)
    Auf beiden ist
    enigma2-plugin-extensions-partnerbox - 3.999+git4561+9d78bda-r0
    (vom DM feed)


    Ich habe aber im Kanallisten-Menü nicht den Eintrag "Partner Bouqet importieren", sondern nur "Partnerbox Sender hinzufügen". Das wiederum funktioniert dann gut, aber eben nur einzeln, also Sender für Sender.


    Das enigma2 ist bei beiden:
    enigma2 - 3.999git20121210-r8.0


    Was muss ich denn tun, damit es funzt? Danke für eure Hilfe!


    [Nachtrag] 23:43
    Hab es von beiden Boxen aus zur jeweils anderen probiert, ist wie oben beschrieben. Wo kriege ich das *aktuelle* Plugin her?

    Also d.h. der djmount läuft und "sieht" auch die freigegebenen Ordner des PMS.


    Mach mal bitte erst ein "/etc/init.d/djmount stop" und danach "ps -aux|grep djmount". Sollten danach noch djmount Prozesse auftauchen, kille diese mit "killall djmount"


    Danach "/etc/init.d/djmount start" und das Ganze nochmal prüfen.
    falls es dann immer noch nicht geht, habe ich auch keine Tips mehr.


    Ich benutze auf der Dream das "Dreambox Mediacenter" und das funzt ganz gut.


    > Hast du die Ordner nur in PSM oder auch unter Windows freigegeben? Bei mir beides.
    Verstehe ich nicht. Der PMS läuft bei mir auf einem NAS, also kein Windows.


    Ggf. musst Du bei PMS im Ordner "renderers" mal etwas Spezielles für die Dream einstellen? Dort liegen die spezifischen Settings für die Endgeräte (also UPnP Clients). Hier musst Du wohl im PMS Forum nachfragen.
    Was sagt denn das Log des PMS?


    Gruß,
    Marv

    Hast Du auch die fuse-Files installiert?
    Ist das fuse Modul geladen ("lsmod|grep fuse")


    lsmod|grep fuse
    fuse 50096 3 - Live 0xc0427000


    und auch mal "mount", das sollte eine Zeile wie
    fuse on /media/upnp type fuse (ro,nosuid,nodev,user_id=0,group_id=0)
    ausgeben.


    Mach mal bitte "find /media/upnp/ -type d" (nur, wenn nicht soviel auf dem UPnP Server drauf ist, sonst wird die Liste LAAAAANG)


    Hast Du ein File "/etc/init.d/djmount"?
    wenn nicht, angehängtes file verwenden.
    Dann prüfen, ob die Links in den RunLeveln existieren.
    "ls -l /etc/rc3.d/*djmount*"
    "ls -l /etc/rc4.d/*djmount*"


    Falls nein:
    "ln -s /etc/init.d/djmount /etc/rc3.d/S30djmount"
    "ln -s /etc/init.d/djmount /etc/rc4.d/K30djmount"


    danach "/etc/init.d/djmount restart" und nochmal prüfen...


    Gruß,
    Marv

    Poste mal das Ergebnis von "ipkg files djmount" als auch "ps aux|grep djmount"


    Sieh bei mir so aus:


    ps aux|grep djmount
    8605 root 4368 S /usr/bin/djmount /media/upnp
    8606 root 4368 S /usr/bin/djmount /media/upnp
    8610 root 4368 S /usr/bin/djmount /media/upnp
    8613 root 4368 S /usr/bin/djmount /media/upnp
    8620 root 4368 S /usr/bin/djmount /media/upnp
    8621 root 4368 S /usr/bin/djmount /media/upnp
    8624 root 4368 S /usr/bin/djmount /media/upnp
    8625 root 4368 S /usr/bin/djmount /media/upnp
    9204 root 4368 S /usr/bin/djmount /media/upnp
    9227 root 4368 S /usr/bin/djmount /media/upnp
    9228 root 4368 S /usr/bin/djmount /media/upnp
    9239 root 556 S grep djmount


    D.h. es laufen ein Sack voll djmount-Prozesse, die die UPnP Server nach /media/upnp mounten. Weiter geht es dann in meinem Beitrag weiter oben, also "ls -l /media/upnp/"


    Gruß,
    Marv

    Den UPnP Server des GP kannst Du deaktivieren, falls Du ihn sonst nicht mehr brauchst, und evtl. kommt auch das djmount durcheinander, wenn es "auf sich selbst" verbinden will.


    Das djmount selbst ist kein Plugin, sondern ein Systemdienst. Du findest es daher auch nicht im BP oder sonstwo im E2, sondern nur im Filesystem der Dreambox


    root@dm8000:/media/hdd/_/root# ipkg files djmount
    Package djmount (0.71-r4) is installed on root and has the following files:
    /etc/rc3.d/S30djmount
    /usr/bin/djmount
    /etc/rc4.d/K30djmount
    /etc/init.d/djmount


    Wenn es läuft, sieht das so aus:


    root@dm8000:/media/upnp# ls -l
    dr-xr-xr-x 7 root root 512 Jan 1 2000 MediaTomb (styx) _ nobody
    dr-xr-xr-x 14 root root 512 Jan 1 2000 PS3 Media Server [store.b1.dom]
    -r--r--r-- 1 root root 73 Jan 1 2000 devices
    dr-xr-xr-x 4 root root 512 Jan 1 2000 twonky @ store


    bzw. so:


    root@dm8000:/media/upnp# l PS3\ Media\ Server\ \[store.b1.dom\]/
    dr-xr-xr-x 6 root root 512 Jan 1 2000 #- Media Library -#
    dr-xr-xr-x 4 root root 512 Jan 1 2000 #- Video Settings -#
    dr-xr-xr-x 14 root root 512 Jan 1 2000 .
    dr-xr-xr-x 6 root root 512 Jan 1 2000 ..
    dr-xr-xr-x 2 root root 512 Jan 1 2000 .metadata
    lr--r--r-- 1 root root 48 Jan 1 2000 .status -> ../.debug/PS3 Media Server [store.b1.dom]/status
    dr-xr-xr-x 4 root root 512 Jan 1 2000 BUJU
    dr-xr-xr-x 5 root root 512 Jan 1 2000 Images
    dr-xr-xr-x 9 root root 512 Jan 1 2000 Video
    dr-xr-xr-x 10 root root 512 Jan 1 2000 Web
    dr-xr-xr-x 245 root root 512 Jan 1 2000 mp3


    Wo läuft denn der PMS? Auf einem Unix-System? Dann würde ich Dir eher einen NFS-Mount vorschlagen, denn das ganze UPnP Geraffel ist alles in allem eher instabil, gern mal unzuverlässig und vor allem langsam beim Browsen.


    Eine Alternative (für Linux) wäre noch http://www.mediatomb.cc


    Gruß,
    Marv

    Hi fendodendo,
    ich hab das am Laufen, allerdings mit dem djmount package. Ich weiß nicht, welchen UPnP-Client GP benutzt.


    Interessant an meiner Konfig ist, dass der PS3-Mediaserver (PMS) auf einem Thecus-NAS läuft. Dort habe ich manuell Java nachinstalliert (PMS ist ja eine Java App). Meine PMS.conf kann ich dir ggf. mal mailen.


    Ich denke aber, das Problem liegt evtl. am UPnP-Client des GP-Images. Ich benutze das ganze mit einem original DMM Image.


    Also könntest du mal djmount probieren und dafür jenes im BP deaktivieren.


    Gruß,
    Marv

    Tokamak:
    Danke für die Antwort, ich hatte Ähnliches bereits gelesen und bestürzt die Srin gerunzelt ;-))


    Bleibt die Frage, wie die Jungs vom Linux-VDR das Ganze bei RTL2 hinbekommen haben, denn da war die Aufnahme ja korrekt...


    Anyone?


    LG, marv

    Hallo zusammen,
    aus aktuellem Anlass (die Deppen von RTL2 haben letzten Freitag mal eben "Full Metal Jacket" eingeschoben, sodass sich die letzten zwei Folgen der letzten Staffel von "Californication" dann um zwei Stunden nach hinten verschoben haben ... grrrrr ... so ein toller Film ist FMJ doch gar nicht).


    Auch mein T-Home Dingens hats nicht mitbekommen - allerdings mein Linux-VDR in meiner Intelbüchse im Büro hats trotz Sendezeitverschiebung brav sauber und komplett aufgezeichnet.


    Langer Text, kurze Frage:
    hat das Autotimer-Plugin überhaupt eine Möglichkeit, dies mitzubekommen und wie aufwändig wäre es, dies einzubauen?


    Danke für Eure Meinungen dazu!
    Gruß,
    _marv_


    Danke erst einmal. jetzt wäre es natürlich noch toll, mal eine
    /etc/myEvents
    zu Gesicht zu bekommen, um das Dateiformat nicht aus dem Sourcecode herausklauben zu müssen...
    Ginge das?


    Danke!
    Gruß,
    _marv_

    Zitat

    Original von Homey[GER]
    In meinem "geheimen" non public AppleTrailer Plugin (was man hier nicht findet) updated der aber noch ...


    Ähm...ja, da hab ich es auch nicht gefunden und ich finde es auch überhaupt nicht gut...


    Nene, also das Ding rockt ganz feste und deswegen Dir ein großes Dankeschön!
    (läuft hier auf Orig-DMM 1.5 Image)


    LG,
    _marv_

    Glad I could be of assistance.


    The hostname/user/pass values are meant for basic authentication.
    That is if a website requires authentication of users, they need to be specified there.
    But the vars can be used also as proxy authentication params as well - in case your proxy requires authentication.
    You'll find examples in the mentioned links.

    Well, that explains it a bit.


    I tried following code:


    #######################
    import urllib2
    proxy_handler = urllib2.ProxyHandler({'http': 'http://www.hidden.org:80/'})


    #commented out since this is a proxy without authentication
    #proxy_auth_handler = urllib2.HTTPBasicAuthHandler()
    #proxy_auth_handler.add_password('realm', 'host', 'username', 'password')
    #opener = build_opener(proxy_handler, proxy_auth_handler)


    opener = urllib2.build_opener(proxy_handler)


    # This time, rather than install the OpenerDirector, we use it directly:
    content = opener.open('http://www.google.com/')
    print content.read()
    #########################
    and it works on my DM8000 with opendreambox-1.5 (DMM image)


    Just try it on a ssh/telnet window...



    EDIT:
    there is a well commented man page for urllib2:
    http://www.voidspace.org.uk/python/articles/urllib2.shtml


    EDIT2:
    It seems that if urllib2 is used, it utilizes the http_proxy variable automatically. So our iranian friend would need to set these environment variables either within the plugin or even outside of enigma2, directly after system boot. In that case enigma2 would use this environ vars and so do the scripts started from within enigma2.

    Sharkadder:
    First I like to thank you for your answers and also that you keep an open mind. When I start "criticising" something, I try to be positive and make suggestions. I'm happy you are willing to listen. Thanks for that.


    For the proxy stuff:
    In Python's urllib2 is proxy support already built in.
    http://docs.python.org/library…html#urllib2.ProxyHandler
    A quick check gave that it seems to be available on dreambox too, at least on 1.5 images original by DMM.
    That means if you use python's urllib, you would need to use urllib2 instead and just use the class urllib2.ProxyHandler.
    Pls. see:
    http://docs.python.org/release…lib/urllib2-examples.html


    In that case, all content fetching (including images) would occur on dreambox side and sent over configured proxy.
    Of course, the proxy needs to be configurable in your plugin thus it requires you to write additional user code.


    Another thing is to separate the real "remote http connect" in a try/catch/exception block - with or without proxies. Therefore you can implement an exception handler, which jumps out of application in a coordinated way rather then just crashing. I guess you are already using exceptions (have not seen your code yet).


    So before starting to fetch remote URLs, you could just test the connection - this is advisable for every networking connection anyway.
    Would help in temporary internet outage also :)


    For your user announcements and README infos: you could implement that on a per-demand basis, just map it on HELP oder YELLOW button :winking_face: So if somebody wants to know the latest NEWS about the plugin, he hits the $MAGIG$ button ...


    Oh and no, I'm no dreambox programmer but did a lot of coding for the old XBOX and the XBMC project which is also python based (wrote an email imap/imaps mail client with print functions, attachment views and the like for xbmc).


    Hope I could help.
    _marv_

    Sharkadder:
    Well, although it seems to be reasonable for you being the developer and wanting to know who and from where someone is using your plugin, this seems to be the classic failure condition of "home phoning applications".


    This is in no way meant to be offensive - instead I really respect your work and the time you spent developing it.


    But on the other hand, for correct functionality of your plugin I doubt that it's really necessary to contact your server for READMEs or images.


    There might be other code on your webserver side for doing the parsing stuff et al, but all what can be done in PHP can also be done in Python.


    Pls. keep in mind that in theory you are able to track all user's behaviour - who, when, where and how log someone reads remote web sites.


    Maybe you do some rethinking of the concept behind and try some re-implementation which occurs completely on client (that is: dreambox) side.


    Just my 0,02$
    _marv_