Bug #164
closedxbmcaddon improvements
0%
Description
attached is a patch to make some enhancements to xbmcaddon to help compatibility with dharma addons.
this fixes a problem where one plugin calling another plugin to resolve urls would hang xbmc4xbox. this is because xbmcaddon does not find the correct directory for the second plugin and therefore does not return the correct settings for it.
i'm not sure if this is the best way to do this, but this is what the patch does:
first i try the current working directory (as before), and compare the plugin id that is parsed from the addon.xml file in this directory with the one passed to xbmcaddon.
if these don't match i guess the correct directory from the id (eg. plugin.video.youtube => plugin://video/youtube).
if this still doesn't return the right id then go through each directory in the id's plugin type and check which one has the right id.
this patch also fixes the problem where empty <description> or <summary> tags in addon.xml would cause the addon to fail.
let me know what you think....
Files
Updated by arnova over 13 years ago
- Status changed from In Progress to Closed
- Resolution set to fixed
r30856. Thanks a lot!
cheers!