Zeile 84 bis 98 bei mir im Notepad++
Alles anzeigen
self.hostaddr = "192.168.123.105" das war die Änderung bei mir.
Mit enigma2-plugin-extensions-cocy_0.4.1.ipk hats bei mir nicht geklappt. Habe das aber nicht weiter verfolgt, da es ja einen anderen Weg gibt und ich das Plugin nicht brauche.
Mein Weg nochmal in Kurzfassung VTi13/14:
Spoiler anzeigen
Python-Quellcode
- # Setup the common entries in the dictionary that will be usd to
- # fill the UPnP templates.
- self._message_env['BOOTID'] = self._boot_id
- self._message_env['SERVER'] = SERVER_HELLO
- try:
- self.hostaddr = "192.168.123.105"
- if self.hostaddr.startswith("127.") and not "." in gethostname():
- try:
- self.hostaddr = gethostbyname(gethostname() + ".")
- except:
- pass
- except Exception as e:
- self.fire(log(logging.ERROR, "Failed to get host address: %s(%s)" \
- % (type(e), str(e))),
- "logger")
Mit enigma2-plugin-extensions-cocy_0.4.1.ipk hats bei mir nicht geklappt. Habe das aber nicht weiter verfolgt, da es ja einen anderen Weg gibt und ich das Plugin nicht brauche.
Mein Weg nochmal in Kurzfassung VTi13/14:
VTi 14 flashen und aktualisieren
Folgendes nach /tmp kopieren:
python-dev_2.7.11-r1.2_armv7ahf-vfp-neon.ipk
enigma2-plugin-cocy_0.2.1_pathmod.ipk
Entpackte setuptools-12.0
Danach auf der Console eingeben:
cd /tmp
opkg install python-dev_2.7.11-r1.2_armv7ahf-vfp-neon.ipk
opkg install python-pkgutil
opkg install python-unittest
opkg install python-compile
cd setuptools-12.0/
python setup.py install
cd ..
opkg install enigma2-plugin-cocy_0.2.1_pathmod.ipk
ssdp.py anpassen im Pfad:/usr/lib/python2.7/site-packages/cocy-0.3-py2.7.egg/cocy/upnp/
/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/ <-- Verzeichnis leeren
enigma2-plugin-extensions-cocy_0.4\data.tar\data\usr\lib\enigma2\python\Plugins\SystemPlugins\CoCy <-- mit 7Zip entpacken und nach /usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/ kopieren
Neustart
Folgendes nach /tmp kopieren:
python-dev_2.7.11-r1.2_armv7ahf-vfp-neon.ipk
enigma2-plugin-cocy_0.2.1_pathmod.ipk
Entpackte setuptools-12.0
Danach auf der Console eingeben:
cd /tmp
opkg install python-dev_2.7.11-r1.2_armv7ahf-vfp-neon.ipk
opkg install python-pkgutil
opkg install python-unittest
opkg install python-compile
cd setuptools-12.0/
python setup.py install
cd ..
opkg install enigma2-plugin-cocy_0.2.1_pathmod.ipk
ssdp.py anpassen im Pfad:/usr/lib/python2.7/site-packages/cocy-0.3-py2.7.egg/cocy/upnp/
/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/ <-- Verzeichnis leeren
enigma2-plugin-extensions-cocy_0.4\data.tar\data\usr\lib\enigma2\python\Plugins\SystemPlugins\CoCy <-- mit 7Zip entpacken und nach /usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/ kopieren
Neustart