CrossEPG for OE2.0

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • CrossEPG for OE2.0

      Hi,

      for those who are still interested, I followed gutemine's advise and rolled up those sleeves. I have crossepg 0.8.5 from github.com/oe-alliance/e2openplugin-CrossEPG running on weekly oe2.0 newnigma2 image on dm7020hd.

      This is kind of a hack, but for those interested, here is what I did:

      Removed crossepg 0.6.2 from the newnigma feed on the local box:

      opkg remove enigma2-plugin-systemplugins-crossepg

      Grabbed a few packages with 'wget' from the current OpenATV feed at feeds2.mynonpublic.com/6.1/dm7020hd/ :


      You'll find those packages under one of these paths:

      feeds2.mynonpublic.com/6.1/dm7020hd/mips32el/
      feeds2.mynonpublic.com/6.1/dm7020hd/dm7020hd/

      libc6_2.25-r0_mips32el.ipk
      liblzma5_5.2.3-r0_mips32el.ipk
      python-lzma_0.0.8-r0_mips32el.ipk
      libcrypto1.0.0_1.0.2k-r0.6_dm7020hd.ipk
      libssl1.0.0_1.0.2k-r0.6_dm7020hd.ipk
      libz1_1.2.11-r0_mips32el.ipk
      libxml2_2.9.4-r0_mips32el.ipk
      xz_5.2.3-r0_mips32el.ipk
      libcurl4_7.53.1-r0_mips32el.ipk
      enigma2-plugin-systemplugins-crossepg_0.8.5+gitr472+805da7b-r0_dm7020hd.ipk

      These packages will have to be copied to the local box and installed manually using "opkg install". The sequence should be about right, but watch for potential errors because of dependencies missing, you might have to adjust the installation sequence.

      Fixed a few problems:

      1. The OpenATV version relies on a python module called "boxbranding". This does not exist in the newnigma image. But only one function "getImageDistro()" is used from that module in CrossEPG. So just create your own python module 'boxbranding.py' under /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG. The code included is just a two linedef

      def getImageDistro():
      return 'dm7020hd'

      2. The python module crossepg_downloader.pyo in the same directory needs to be modified. Therefore download the source code crossepg_downloader.py from github.com/oe-alliance/e2openp…ossEPG/src/enigma/python/ and comment out lines 73 to 80 like this

      # for slot in nimmanager.nim_slots
      # if slot.canBeCompatible("DVB-S"):
      # try:
      # slot.config.dvbs
      # self.legacy = False
      # except:
      # self.legacy = True
      # break

      and copy the new version to /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/ on the local box.


      3. Get three files from the old 0.6.2 version of crossepg under https://github.com/E2OpenPlugins/e2openplugin-CrossEPG/tree/master/src/enigma2/python:
      • crossepg_locale.py
      • skins/downloader-hd.xml
      • skins/downloader-sd.xml
      and copy those to /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/ on the local box.

      4. This should do it and you should be able to use the new CorssEPG with XMLTV import and the new Rytec providers.
      To test, it is best to start enigma2 manually (init 4, enigma.sh) and watch the debug info. In addition, you can watch the crossepg.log, by default under /hdd/crossepg/crossepg.log.

      Maybe somebody more skilled can use this info to get this into the newenigma2 oe 2.0 feed sometime in the future...

      Have fun hacking....

      sathitcher

      Dieser Beitrag wurde bereits 6 mal editiert, zuletzt von sathitcher ()

    • I tried it on my DM500HD, which I expanded the flash on USB using flodder.

      When finally opening the Plugins, I get the message:

      Quellcode

      1. Some plugins are not available:
      2. SystemPlugins/CrossEPG (expected an intended block
      3. (boxbranding.py, line 2))
      Even though the file is there.
      I tried with:

      Quellcode

      1. def getImageDistro():
      2. return 'dm7020hd'
      and with

      Quellcode

      1. def getImageDistro():
      2. return 'dm500hd'

      Anyway, I think, using CrossEPG on a box which doesn't have a HDD, doesn't work. Right?
      OScam Wiki | OScam Documentation | Build your own OScam with simplebuild
      Better a 'found' without entitlements than a 'not found' with valid entitlements.
    • I tried it. Get the error message anyway.
      I thought it wouldn't work on a box without a hdd, because of the mentioned :
      "...In addition, you can watch the crossepg.log, by default under /hdd/crossepg/crossepg.log...."
      OScam Wiki | OScam Documentation | Build your own OScam with simplebuild
      Better a 'found' without entitlements than a 'not found' with valid entitlements.
    • Bit schrieb:

      I tried it on my DM500HD, which I expanded the flash on USB using flodder.

      When finally opening the Plugins, I get the message:

      Quellcode

      1. Some plugins are not available:
      2. SystemPlugins/CrossEPG (expected an intended block
      3. (boxbranding.py, line 2))

      Even though the file is there.
      I tried with:

      Quellcode

      1. def getImageDistro():
      2. return 'dm7020hd'
      and with

      Quellcode

      1. def getImageDistro():
      2. return 'dm500hd'
      Anyway, I think, using CrossEPG on a box which doesn't have a HDD, doesn't work. Right?
      Hello

      I have installed it on a DM800HDsev2.
      In boxbranding, you need a tabulation in the second line (expected an intended block) like this :

      Quellcode

      1. def getImageDistro():
      2. return 'dm500hd'

      Everything is working fine on my side except the converter (0.8.5) which convert nothing from the db files to ext.epg.dat....
      To make it works, I had to created a script which copy db files to another Dreambox (with an old CrossEpg version) and run the converter (0.6.1) on this box to generate an updated ext.epg.dat and retrieve the correct ext.epg.dat locally.
      Any ideas why converter is not working as excpeted.


      Ross

      Ross

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Ross ()

    • Was soll man bei 2 Zeilen falsch beim Einrücken machen? :)
      Is ja jetzt auch Wurscht. Meine kaputte 900er habe ich ersetzt bekommen und das kurze Aufleben der 500 ist nun vorbei!
      Ab in die Kiste in den Keller. Husch husch.
      War ein kurzes Vergnügen, und ich wollte auch nur rumspielen und sehen, ob es geht.
      Danke trotzdem.

      Vielleicht erklärt mir jemand, wie man's richtig einrückt. Bei den 2 Zeilen wird die Erklärung wohl ähnlich kurz. :)
      OScam Wiki | OScam Documentation | Build your own OScam with simplebuild
      Better a 'found' without entitlements than a 'not found' with valid entitlements.
    • Ross schrieb:

      Bit schrieb:

      Danke, ich habe die Antwort von Ross übersehen.
      Villeicht sagt gutemine noch was zu seinem Kommentar unten drunter.
      Wäre interessant.
      I am sorry but I don't speak German and Uncle Google didn't translate well....
      Ross
      Sorry Ross,
      I said, I've overseen your answer how to intend the codeline.
      And maybe gutemine will comment what you said:
      "Everything is working fine on my side except the converter (0.8.5) which convert nothing from the db files to ext.epg.dat....
      To make it works, I had to created a script which copy db files to another Dreambox (with an old CrossEpg version) and run the converter (0.6.1) on this box to generate an updated ext.epg.dat and retrieve the correct ext.epg.dat locally.
      Any ideas why converter is not working as excpeted."
      OScam Wiki | OScam Documentation | Build your own OScam with simplebuild
      Better a 'found' without entitlements than a 'not found' with valid entitlements.