Win I am a first time dev and need to know how to create a menu
#1
I have been toying around with the hello world but I want to know how to create a menu for my add on I have looked and looked but don't know where to look. Also in which folders do they have to be at in order for the addon to go to the menu, I am only looking for examples that way I'll figure out the rest of it. Thanks. Big Grin
Reply
#2
Are you making a Python plugin addon for XBMC or a Python script addon for XBMC?

http://wiki.xbmc.org/index.php?title=Pyt...us_scripts

If you're making a plugin addon then you don't need your own GUI

but if you are instead making a script addon then checkout the PyXBMCt framework

http://forum.xbmc.org/showthread.php?tid=174859
Reply
#3
No not a plugin. I want to make a video app, but before anyone starts to grill me about piracy which it isn't the case, I'm simply taking a different approach, mostly self made content. Also can I edit this within xbmc for pyxbmct? Or what software do I need to edit all this in?
Reply
#4
http://wiki.xbmc.org/index.php?title=Aud...n_tutorial
sounds like you want to make a video addon.
Reply
#5
(2014-04-10, 20:13)DoubleT Wrote: http://wiki.xbmc.org/index.php?title=Aud...n_tutorial
sounds like you want to make a video addon.
Yeah I got that, but first what I need is to create categories with icons before the videos come up I did find an example but I cannot find how to change the image on the icon and yes I need each icon to be different. I also need to know which paths do certain files have to go.
Reply
#6
I'm new to coding so I can't help directly but I can pass on some advice I was given.
Download other addons and learn from them.
Post your code and show where you've got, people are more likely to help when you show you've put the leg work in, and there are some talented coders here.

Also Google is your best friend
Reply
#7
Makes alot of sense never thought about that. I will do that. How do you post code on this forum by the way? I don't want to get it wrong.
Reply
#8
[ code ]
blah
[ / code ]

without space creates

Code:
CODE
CODE CODE
CODE
Reply
#9
Thumbs Up 
(2014-04-11, 13:37)DoubleT Wrote: [ code ]
blah
[ / code ]

without space creates

Code:
CODE
CODE CODE
CODE
Thanks.

So I spent the last few days looking and searching but I couldn't find anything that can work on xbmc 13 should I look into making an addon for frodo 12.3?
Reply
#10
There isnt a massive difference.

What exact problem are you stuck on, and how far have you got?
Reply
#11
Ok this is what's happening i manged to get this to work.
PHP Code:
import xbmc
import xbmcaddon
 
__addon__       
xbmcaddon.Addon()
__addonname__   __addon__.getAddonInfo('name')
__icon__        __addon__.getAddonInfo('icon')
 
line1 "This is a simple example of notifications"
time 5000  #in miliseconds
 
xbmc.executebuiltin('Notification(%s, %s, %d, %s)'%(__addonname__,line1time__icon__)) 

Now how do I get the next part which is to open the application to get to the GUI.
Reply

Logout Mark Read Team Forum Stats Members Help
I am a first time dev and need to know how to create a menu0