k.a.
eventuell im standard "download ordner" runtergelade?
k.a.
eventuell im standard "download ordner" runtergelade?
Nein, da ist nix. Ist aber nicht schlimm, dann benutze ich zum backup eben den IE.
Danke und Gruß,
else
Des Rätsels Lösung heisst "pop up Blocker". Den hab ich jetzt wieder im Firefox für meine Dreambox Adresse ausgeschaltet und schon kann ich wieder meine Backups vom AutoTimer und BouquetEditor machen.
Gruß,
else
Kleiner verbesserungs Vorschlag:
Vielleicht könnte man mal beim Fenster wo man die Sender/Provider/Bouquets auswählen kann das ganze unterteilen in zwei Fenster. Dann müsste man nicht immer rauf scrollen wenn man zur Liste der Bouquets/Provider möche.
Grüße
Kleine Frage zur API:
Wenn ich mir die Services z.B. mit
getservices?sRef=1:7:0:0:0:0:0:0:0:0:(provider == "ZDFvision") && (type == 1) || (type == 17) || (type == 195) || (type == 25) ORDER BY name:ZDFvision
hole, sollten dann die Radiosender (type == 2) eigentlich NICHT mit zurückgeliefert werden?
Ich bekommen aber auch
<e2service>
<e2servicereference>1:0:2:6D6C:437:1:C00000:0:0:0:</e2servicereference>
<e2servicename>DKULTUR</e2servicename>
</e2service>
<e2service>
<e2servicereference>1:0:2:6D6D:437:1:C00000:0:0:0:</e2servicereference>
<e2servicename>DLF</e2servicename>
</e2service>
<e2service>
<e2servicereference>1:0:2:6D6F:437:1:C00000:0:0:0:</e2servicereference>
<e2servicename>DRadio DokDeb</e2servicename>
</e2service>
<e2service>
<e2servicereference>1:0:2:6D71:437:1:C00000:0:0:0:</e2servicereference>
<e2servicename>DRadio Wissen</e2servicename>
</e2service>
Alles anzeigen
als Antwort mit zurück.
Bug oder Verständnisproblem?
Ohne die Abfrage zu kennen: Logisch, fehlt da ne Klammer um die ganzen Verknüpfungen.
Ändert nix, selbst wenn man nur einen type nimmt bekommt man alles zurück.
Hallo,
kann man das WebInterface auf der DM7025+ updaten?
Ich habe noch Webinterface Version: 1.6.8, enigma2-plugin-extensions-webinterface_experimental-git20110707-r0a_dm7025.ipk
und webradioFS ist nicht vorhanden: http://<ip meiner box>:80/webradiofs/
Danke
Reichi
please help with new method how to detect incoming IP
works with oe2.0, but returns empty on dm7080 oe2.2
story is about implementing `Trusted Hosts` option to Web-IF
http://www.dream-multimedia-tv…entIP%28%29%29#post117427
Try: request.client.host
I think when IPV6 is in play getclientip delivers nothing. I have already looked for.
for dm7080 had to add .replace("::ffff:", "")
`Trusted Hosts` diff:
root@dm7080:~#
root@dm7080:~#
root@dm7080:~# diff /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py_orig_160704 /usr/lib/enigma2/python/Plugins/Ex
tensions/WebInterface/plugin.py
--- /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py_orig_160704
+++ /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py
@@ -17,7 +17,11 @@
from twisted.web import server, http, util, static, resource
from zope.interface import Interface, implements
-from socket import gethostname as socket_gethostname
+# -from socket import gethostname as socket_gethostname
+# +
+from socket import gethostname as socket_gethostname, gethostbyname
+import re
+# + END
from OpenSSL import SSL, crypto
from time import gmtime
from os.path import isfile as os_isfile, exists as os_exists
@@ -45,7 +49,10 @@
config.plugins.Webinterface.http = ConfigSubsection()
config.plugins.Webinterface.http.enabled = ConfigYesNo(default=True)
config.plugins.Webinterface.http.port = ConfigInteger(default = 80, limits=(1, 65535) )
-config.plugins.Webinterface.http.auth = ConfigYesNo(default=False)
+# -config.plugins.Webinterface.http.auth = ConfigYesNo(default=False)
+# +
+config.plugins.Webinterface.http.auth = ConfigYesNo(default=True)
+# + END
config.plugins.Webinterface.https = ConfigSubsection()
config.plugins.Webinterface.https.enabled = ConfigYesNo(default=True)
@@ -53,6 +60,9 @@
config.plugins.Webinterface.https.auth = ConfigYesNo(default=True)
config.plugins.Webinterface.streamauth = ConfigYesNo(default=False)
+# +
+config.plugins.Webinterface.trustedhosts = ConfigText(default="localhost;192.168.;10.0.0.;10.0.10.")
+# + END
config.plugins.Webinterface.anti_hijack = ConfigOnOff(default=False)
config.plugins.Webinterface.extended_security = ConfigOnOff(default=False)
@@ -443,6 +453,32 @@
return self.unauthorizedResource
def isAuthenticated(self, request):
+# +
+ if config.plugins.Webinterface.trustedhosts.value != "":
+ inIP = request.client.host.replace("::ffff:", "")
+ print "[WebInterface.plugin.isAuthenticated] incomming IP '%s'" %inIP
+ strReport = "[WebInterface.plugin.isAuthenticated] bypassing authcheck, IP '%s' defined as trusted" %inIP
+ th_list = config.plugins.Webinterface.trustedhosts.value.split(';')
+ if inIP in th_list:
+ print strReport
+ return True
+ elif not inIP:
+ print "[WebInterface.plugin.isAuthenticated] skiping, missing info about incomming IP"
+ else:
+ th_textual = []
+ for th in th_list:
+ if th == "":
+ skip_empty = ""
+ elif inIP.find(th) == 0:
+ print strReport
+ return True
+ elif re.sub('[0-9.]', '', th) != "":
+ th_textual.append(th)
+ for th in th_textual:
+ if inIP == gethostbyname(th):
+ print strReport
+ return True
+# + END
host = request.getHost().host
#If streamauth is disabled allow all acces from localhost
if not config.plugins.Webinterface.streamauth.value:
root@dm7080:~#
root@dm7080:~#
Alles anzeigen
i have question: do you can adding "yytrailer" to webinterface ? as it is as, for expample " to imdb?