In Eden, the autoexec.py file won't be needed anymore, thanks to the new extension point 'xbmc.service'.
A service is an addon started with xbmc. You'll find more informations about these on the wiki, http://wiki.xbmc.org/index.php?title=HOW...g_services
blinkseb
Team-XBMC Developer Joined: Jan 2010 Reputation: 3 Location: Lyon, France |
2011-01-31 20:11
Post: #1
AndroIRC - Best IRC client for Android! |
| find quote |
daledude
Member Joined: Oct 2009 Reputation: 0 |
2011-01-31 23:16
Post: #2
This is cool. Will an addon developer be able to add a service programatically? Having an addon entry is nice and all, but will I be able to allow control of it being enabled/disabled through my addons settings?
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2011-02-01 12:43
Post: #3
of course, it's just like any other add-on. disable it and it won't start...
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
V-Turn
Member Posts: 99 Joined: Oct 2004 Reputation: 6 |
2011-02-03 01:37
Post: #4
This says that the autoexec.py will be obsolete : does anybody know if this means it won't be used at all anymore? Probably many people are using it right now (myself at least), so it would be difficult to require every hack to be converted to addons. (Just my 0.02€
![]() V.
(This post was last modified: 2011-03-01 01:05 by V-Turn.)
|
| find quote |
solexalex
Skilled Python Coder Posts: 706 Joined: Jul 2004 Reputation: 6 |
2011-02-05 21:51
Post: #5
it is a good idea, and keeping the autoexec.py seems to me a good idea too. Too many times when a new XBMC version is released, backwrd compatilbility is not made. I think it is sad and it adds the feeling that addons are not reliable...
Anyway keep going the good job ! Maybe a kind of feature request... It has been a while we have autoexec.py to run scripts at XBMC startup, what about a special script (or extension point) to do some job at XBMC "off time" (when XBMC close). It can be helpfull to stop home made python servers properly, or send messages to listening clients, or even cleanup some temporary files that an addon may have write anywhere... |
| find quote |
blinkseb
Team-XBMC Developer Joined: Jan 2010 Reputation: 3 Location: Lyon, France |
2011-02-06 02:43
Post: #6
solexalex Wrote:it is a good idea, and keeping the autoexec.py seems to me a good idea too. Too many times when a new XBMC version is released, backwrd compatilbility is not made. I think it is sad and it adds the feeling that addons are not reliable... xbmc.abortRequested is set to true when XBMC is closed. Moreover, you can already listen for a json announcement telling you xbmc is closing. AndroIRC - Best IRC client for Android! |
| find quote |
solexalex
Skilled Python Coder Posts: 706 Joined: Jul 2004 Reputation: 6 |
2011-02-06 13:13
Post: #7
oh ! OK for xbmc.abortRequested ! I didn't noticed !
Thanks (and sorry for being a little "off topic") |
| find quote |
vikjon0
--- Posts: 2,429 Joined: Apr 2009 Reputation: 7 Location: Sweden |
2011-02-13 19:51
Post: #8
This is not available in Dharma? I am only asking because the autoexec.py wiki page have been removed already....
|
| find quote |
lophie
Junior Member Posts: 12 Joined: Feb 2011 Reputation: 0 |
2011-02-24 21:22
Post: #9
Yes is it available in dharma I'm trying to implement this yet no clue how
|
| find quote |
blinkseb
Team-XBMC Developer Joined: Jan 2010 Reputation: 3 Location: Lyon, France |
2011-02-24 22:07
Post: #10
No, it's not available on Dharma, it wasn't backported
AndroIRC - Best IRC client for Android! |
| find quote |



Search
Help