Is not a valid addon
#1
Question 
I'm getting:
Package script.lastfmplaylistgenerator.zip is not a valid addon

when trying to install my script from a ZIP file.

the addon.xml looks like this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.lastfmplaylistgenerator"
       name="Last.FM Playlist Generator"
       version="1.0.0"
       provider-name="ErlendSB">
  <requires>
    <import addon="xbmc.python" version="1.0"/>
    <import addon="script.module.pysqlite" version="2.5.6"/>
    <import addon="script.module.pil" version="1.1.7"/>
  </requires>
  <extension point="xbmc.python.script"
             library="default.py">
          <provides>executable</provides>
  </extension>
  <extension point="xbmc.addon.metadata">
    <platform>all</platform>
    <minversion>1</minversion>
    <summary>Last.FM Playlist Generator</summary>
    <description>Create smart playlists with the help of Last.FM</description>
  </extension>
</addon>

Can anyone spot what's wrong?
The zip file is here: http://lastfmplaylistgenerator.googlecod...erator.zip
Reply
#2
zips need to have the basedir, i.e. it should be

script.lastfmplaylistgenerator/addon.xml

etc inside there. also you want to filter out the .svn dirs.
Reply
#3
Great! Thanks!

Now it works!
Reply

Logout Mark Read Team Forum Stats Members Help
Is not a valid addon0