Author Topic: How to install and configure xmltv-import on Enigma2 Pli-images  (Read 1466 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
XMLTV Import
Howto install and configure

How to install and configure xmltv-import on Enigma2 Pli-images :

When you have installed OpenPli on your box, you can go to Applications, press the green button. Then you'll see a menu, go to extensions and look for xmltv-importer.
Press OK to start the installation. Return to the applications list and you will notice the new "EPGImport" entry.

Now go into this program, and press the blue button to go to the sources. Here you can select which EPG data you like to download, by highlighting your selection and pressing OK, which will put a checkmark in front of each active source.
Press the green button to save this selection. Now we are back into the first menu where we can change the time when the plugin should start. Do not set this time before 04:00am because I create the EPG data just before 04:00am.
If your box is in deep-standby you could wake it up to start the automatic download. The plugin will not put the system back into sleep state though.
You can set the amount of days for full descriptions, which is helpful if you have selected a lot of epg sources and your box has limited memory (like the dm7025). If you se the number of days to 2, the epg data is loaded for 2 days with descriptions and 5 days without full descriptions.

Remember to save this config by pressing the green button, which returns you to the applications menu.
If you can't wait untill the automatic import, which I can imagine, you can go into the EPGImport panel and press the yellow button for a manual download, you will be asked if you agree by pressing OK. While the import is running, you can follow the amount of events it is processing. Otherwise, it will display the date/time and number of events of the last import.
The import runs in background, so you don't have to wait until it is finished. You can close the panel at any time, and return if you want to track its progress. You will even see events appear into the EPG views while the data is being imported, and you can query the EPG even before the import is completely done.



How to install the plugin on NON-PLI images :

After the installation of another Enigma2 image (Gemini, Ozoon, Newnigma, LT) you have to install a few more files in this image. Download the file python_ipks.zip above and unzip it on your computer.
Also download the above files enigma2-plugin-extensions-xmltvimport_x.x-rxx_mipsel.ipk and enigma2-plugin-extensions-xmltvimport-rytec_xxxxxxxx-rx_all.ipk to your computer.
Use for example DCC to connect to your dreambox. Then copy the following files to the folder /tmp on your dreambox :
python-zlib_2.5.1-ml4_mipsel.ipk
python-compression_2.5.1-ml4_mipsel.ipk
python-shell_2.5.1-ml4_mipsel.ipk
enigma2-plugin-extensions-xmltvimport_1.0-rxx_mipsel.ipk
enigma2-plugin-extensions-xmltvimport-rytec_xxxxxxxx-rx_all.ipk


Depending on the image's features, the plugin may need to restart Enigma2 in order to load the EPG data. Also, you may not see the new events until the import is completely done. Your system may occasionally 'stutter' a bit while the import is running, and react a bit sluggish at times. This does not interfere with the box's normal operations such as recording and watching TV.

For Gemini users :

go to blue panel in Gemini and select filemanager, browse to the folder /tmp and select first the python-zlib file and press the green button to install this package.
Next we select the python-compression for installation, then python-shell, then we select the xmltv-import plugin and at last the xmltv-import-rytec and install it too.
Now restart Enigma2 and you should be able to activate the EPGimport through the applications panel.
For other users who do not have a filemanager in their image, they can make a Telnet session to the box and install the ipk's by using the command "ipkg install /tmp/python-zlib_2.5.1-ml4_mipsel.ipk"

There are incompatibility problems if you use Gemini 4.5 or higher, keep this in mind !! Reason : Gemini is implementing epg.dat functions.


Reporting Issues

If you experience problems with the plugin, the "log" may help. You can display and save it by pressing the "info" button on the remote while in the EPGImport main configuration panel.