2017-08-07, 16:08
(2017-08-07, 00:25)edit4ever Wrote: [ -> ]Good question - maybe tvheadend on ubuntu doesn't support python based grabbers - but needs a perl based one??
If so - mine isn't going to work there - but the original zap2xml was done in perl. You can find that info here: http://zap2xml.awardspace.info/
But you'll have to configure it all through a terminal. But I'm guessing you're comfortable with that! :-)
The downloadable ZIP from following Setup Guide (which uses the Original zap2xml Perl Script), was helpful, although in my case the Automatic Script failed to identify that TVheadend had recognized tv_grab_file as an EPG Grabber, therefore I had to complete configuration "Manually".
"Feature": A separate CRON Job is required to run its EPG Grabber, unlike your Script where the EPG Grabber is run as a TVheadend CRON Job!
https://github.com/rocky4546/script.xmlt...-TVHeadEnd
I noticed TVheadend is able to recognize the above mentioned tv_grab_file (a simple BASH Script and not a Perl Script) from its "Description" Parameter.
Copying your V0.7.3 Wrapper into /usr/bin, I determined the reason your Wrapper was failing to be recognized as an Internal EPG Grabber was due to the Trailing Carriage Returns 0x0D (UNIX prefers just Line Feeds 0x0A), which is often an issue when Files have been Created under DOS/Windows.
With the Trailing Carriage Returns removed from your Wrapper, TVheadend does recognize your Script as an EPG Grabber!
NOTE: Within your Wrapper I had to Manually Code the Paths to your Tree, since your Tree is located within my own .kodi Directory (TVheadend being run by USER hts).
After allowing Write Access for your Script's Logging to your Tree within my own .kodi Directory (since TVheadend is being run by USER hts), your Python Script aborts with the following Error Message:
Traceback (most recent call last):
File "/home/houston/.kodi/addons/script.module.zap2xml/zap2xml.py", line 101,
in <module>
import mechanize
ImportError: No module named mechanize
Although the script.module.mechanize-0.2.6.zip I manually installed does not solve this issue with the missing mechanize module, no xmltv.xml is generated?
NOTE: KODI under Linux is not "Self Contained", since some Modules have to be installed manually from outside KODI...