Posts: 25
Joined: Oct 2013
Reputation:
0
2013-10-28, 18:23
(This post was last modified: 2013-10-28, 18:30 by nickthemagicman.)
Hi all.
I'm a newb XMBC developer but have a good amount of programming experience.
I have a class project to create an addon linking LEAP motion with the XMBC.
Am I going to have to restart the application every time I make a change to the code?
Any hints, tips, or tricks, for setting up my Dev environment?
Thanks in advance!
Posts: 25
Joined: Oct 2013
Reputation:
0
How do I view my errors when developing an addon?
Posts: 15,281
Joined: Jan 2009
Reputation:
738
ronie
Team-Kodi Member
Posts: 15,281
python errors will be logged to the xbmc.log file.
Posts: 25
Joined: Oct 2013
Reputation:
0
Hi all,
I copied the leap motion module into my addon directory and imported it into my main addon script.
When I try running the addon the entire xmbc application kills.
Is there anything else I could try?
Other place to import from or anything?
Thanks.
NIck
Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
just start by searching what have already been done on the subject.
Posts: 15,281
Joined: Jan 2009
Reputation:
738
ronie
Team-Kodi Member
Posts: 15,281
i've merged all your posts into a single thread.
might be easier to keep things centralized.
in case your addon will run on linux,
i'd be more than willing to do some testing when you're finished :-)
Posts: 1,088
Joined: Nov 2012
Reputation:
51
My two cents:
I'm using Windows 7.
1. SublimeText 2 as a text editor. Its nice and simple.
2. Baretail for tracking the errors in the xbmc.log (you can set highlighting rules to highlight script errors)
3. For editing the code of a service I found the easiest thing was to create a little .bat file that closes XBMC, waits a second or three, then reloads it.
4. Set XBMC to launch into the window you need. With this, the gap between a code change and testing was only about 10 seconds.
5. Github
Posts: 25
Joined: Oct 2013
Reputation:
0
2013-11-29, 12:26
(This post was last modified: 2013-11-29, 12:27 by nickthemagicman.)
Hey yall,
I posted a few months ago and got busy with other projects and haven't thought about my leap project in a while.
I just wanted to say thanks for helpin a noob out.
The log file helped a massive amount.
I'll most more about our project in the days to come but we should be nearing a complete leap motion add-on!
Ronie I would be honored to shoot it your way for testing!
I'll post Git Info this weekend as it gets more tangible.