Project

General

Profile

Actions

Bug #164

closed

xbmcaddon improvements

Added by t0mm0 almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
arnova
Category:
Python Code and/or Scripts
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed
Affected Version:

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

xbmcaddon-improvements.diff (8.55 KB) xbmcaddon-improvements.diff t0mm0, 19/05/2011 10:49 PM
Actions #1

Updated by arnova almost 13 years ago

  • Status changed from New to In Progress
Actions #2

Updated by arnova almost 13 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed

r30856. Thanks a lot!

cheers!

Actions

Also available in: Atom PDF