2013-02-22, 13:10
I followed this guide http://wiki.xbmc.org/index.php?title=HOW...our_Add-on to create my own repo that i can use in XBMC but for some reason the attached script doesn't work as expected.
What i did was creating a folder named repo, placed 2 test addons (unzipped) there and created a file named addons_xml_generator.py with content from wiki.
Made addons_xml_generator.py executable and ran it but it only returns errors on my Ubuntu VDI
It also creates 2 unknown files named os and sys but not the files i need.
Any help on getting this to work?
What i did was creating a folder named repo, placed 2 test addons (unzipped) there and created a file named addons_xml_generator.py with content from wiki.
Made addons_xml_generator.py executable and ran it but it only returns errors on my Ubuntu VDI
Code:
12:08:53 ~/repo$ ./addons_xml_generator.py
./addons_xml_generator.py: line 23: addons.xml generator : command not found
./addons_xml_generator.py: line 31: syntax error near unexpected token `('
./addons_xml_generator.py: line 31: ` def u(x):'
12:09:05 ~/repo$ ./addons_xml_generator.py
./addons_xml_generator.py: line 31: syntax error near unexpected token `('
./addons_xml_generator.py: line 31: ` def u(x):'
12:16:01 ~/repo$
It also creates 2 unknown files named os and sys but not the files i need.
Any help on getting this to work?