fsantini / futubox_xmltv

Downloading EPG for Futubox streaming service
GNU General Public License v3.0
0 stars 1 forks source link

python futubox_xmltv.py error #1

Open lordslash opened 10 years ago

lordslash commented 10 years ago

I've been trying to use this program it in order to get a list of all the EPG of my futubox channels. Unfortunately the program is giving me some errors on my raspberry pi (where i'm running a RaspBMC). I will post you here what I've done, in order to identify better where my mistake could be:

I downloaded a futubox playlist (in m3u format, rtmp links, parental control disabled). I run the script futubox_convert_playlist.py in order to convert my playlist. It gave me an error, but i found out the syntax was python futubox_convert_playlist.py FutuboxPlaylistRTMP.m3u Output_FutuboxPlaylistRTMP.m3u

in this way i created a converted playlist (I guess...)

Then i got stuck in the second part: I should run the command python futubox_xmltv.py but I get the following error:

futubox_xmltv.py:40: Warning: 'with' will become a reserved keyword in Python 2.6 File "futubox_xmltv.py", line 40 with open(chanlistFile, 'rb') as csvfile: ^ SyntaxError: invalid syntax I tried to run it with python 2.7 and i got this error:

Traceback (most recent call last): File "futubox_xmltv.py", line 18, in from lxml import etree as ET ImportError: No module named lxml

The problem is that I can't program in python and I do not know exactly what to edit (or the correct syntax).

fsantini commented 10 years ago

Hi, thanks for the feedback! You should be using some sort of debian-based Linux distro, so you should be able to install lxml with sudo apt-get install python-lxml Please note that the futubox_chan_map.csv might be outdated, please let me know if this is the case (a program is assigned to the wrong channel) and I will try to update it ASAP.