NOOB - issue with example 1 in developer docs
#1
Hi,

Ive been following the developer R7 doc.

I can make example 1 work fine when copy the code into my addons folder. However, the example is for an audio plugin and eventually want to make a video plugin.
so... Step 1. I changed the addon id in addon.xml from " id="plugin.audio.addon-dev-ex1" " to " id="plugin.video.addon-dev-ex1" " I also changed the folder name from plugin.audio.addon-dev-ex1 to plugin.video.addon-dev-ex1.

As far as I can work out, a reload of XBMC should now show my plugin in the video menu rather than the audio menu but instead it just does not show anything anywhere.

Debug log shows it loading:
cat xbmc.log | grep -i plugin.video.addon
17:16:20 T:2696262976 DEBUG: ADDON: cpluff: 'Plug-in plugin.video.addon-dev-ex1 has been installed.'

Where has it gone? / What silly thing have I missed here?!

(Using latest XBMC 11 on OSX10.6)

Any help appreciated,

Rob
Reply
#2
you need to change the content type the plugin provides.
Reply
#3
... in the addon.xml =)
Reply
#4
Found it. Can't believe I missed that one.

<provides>audio</provides> is now... <provides>video</provides> ...and I can see it!


Thanks guys that was driving me nuts.

Now I can try to actually get it to do something useful!
Reply

Logout Mark Read Team Forum Stats Members Help
NOOB - issue with example 1 in developer docs0