2014-10-21, 22:49
When having an addon with both xbmc.python.pluginsource and xbmc.addon.repository endpoints, depending on the order, XBMC crashes, or the addon never updates.
Tested on 13.2, 14.0 Helix Alpha 4 on Windows, Mac and Linux ARM.
First case, XBMC sees the update, but doesn't download it:
Second case, XBMC sees and downloads the update, but when going in the addon, XBMC crashes:
Tested on 13.2, 14.0 Helix Alpha 4 on Windows, Mac and Linux ARM.
First case, XBMC sees the update, but doesn't download it:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.myaddon" name="MyAddon" version="0.1.0" provider-name="steeve">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>
<extension point="xbmc.python.pluginsource" library="default.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.repository" name="Pulsar Repository">
<info compressed="false">ADDONS_XML_URL</info>
<checksum>ADDONS_XML_URL_HASH</checksum>
<datadir zip="true">FILES_URL</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<language>en</language>
</extension>
</addon>
Second case, XBMC sees and downloads the update, but when going in the addon, XBMC crashes:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.myaddon" name="MyAddon" version="0.1.0" provider-name="steeve">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>
<extension point="xbmc.addon.repository" name="Pulsar Repository">
<info compressed="false">ADDONS_XML_URL</info>
<checksum>ADDONS_XML_URL_HASH</checksum>
<datadir zip="true">FILES_URL</datadir>
</extension>
<extension point="xbmc.python.pluginsource" library="default.py">
<provides>video</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<language>en</language>
</extension>
</addon>