2012-05-23, 00:37
So I have set up a repository with an addon and it does not seem to update automatically. If I uninstall and then install again then I get the updated addon. Here are the relevant files.
addon.xml -> for the addon
make_addons_xml.sh -> generates addons.xml and addons.xml.md5
the repository's addon.xml
Any apparent mistakes in here?
Thank You.
addon.xml -> for the addon
Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.canadanepal"
name="CanadaNepal"
version="0.1.4"
provider-name="humla">
<requires>
<import addon="xbmc.python" version="1.0"/>
<import addon="plugin.video.bliptv" version="0.4.0"/>
<import addon="script.module.urlresolver" version="0.0.1"/>
</requires>
<extension point="xbmc.python.pluginsource"
library="default.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary>Watch Nepali TV serials from canadanepal.info</summary>
<description>This XBMC plugin allows to watch Nepali TV serials, Live TV, Live FM and more from canadanepal.info</description>
</extension>
</addon>
make_addons_xml.sh -> generates addons.xml and addons.xml.md5
Code:
#!/bin/bash
echo '<?xml version="1.0" encoding="UTF-8"?>' > addons.xml
echo "<addons>" >> addons.xml
for plugin in `ls -d */`
do
tail --lines=+2 $plugin/addon.xml >> addons.xml
done
echo "</addons>" >> addons.xml
md5sum addons.xml > addons.xml.md5
the repository's addon.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.humla" name="humla Add-on Repository" version="1.0.0" provider-name="humla">
<extension point="xbmc.addon.repository" name="humla Add-on Repository">
<info compressed="false">http://canadanepal-xbmc-plugin.googlecode.com/git/addons.xml</info>
<checksum>http://canadanepal-xbmc-plugin.googlecode.com/git/addons.xml.md5</checksum>
<datadir zip="false">http://canadanepal-xbmc-plugin.googlecode.com/git/</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Install Add-ons from humla Add-on Repository</summary>
<description>Video plug-ins for XBMC</description>
<disclaimer></disclaimer>
<platform>all</platform>
</extension>
</addon>
Any apparent mistakes in here?
Thank You.