elupus Wrote:Yup
Thank you, superb.
Havn't tried it yet, running XBMCLive. Is there a way to upgrade the Live installation to the newest build?
dennis
Junior Member Posts: 7 Joined: Jun 2004 Reputation: 0 |
2010-05-23 20:39
Post: #21
elupus Wrote:Yup Thank you, superb. Havn't tried it yet, running XBMCLive. Is there a way to upgrade the Live installation to the newest build?
(This post was last modified: 2010-05-23 20:45 by dennis.)
|
| find quote |
dennis
Junior Member Posts: 7 Joined: Jun 2004 Reputation: 0 |
2010-05-24 19:48
Post: #22
Would this work? I looked at some examples of an asyncore server. The actual code works but I can't try the xbmc.abortRequested boolean, because I'm on the wrong XBMC version.
I'm not a programmer so bare with me. Tips on the code is welcome. PHP Code: import socket, threading, thread, sys, asyncore, xbmc, xbmcgui |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2010-05-24 20:15
Post: #23
Hmm.. Sort of doubt it. We don't actually throw an exception. We only set that variable to true.
You should probably do. PHP Code: while not xbmc.abortRequested:That way the abortRequested function is checked once every second. 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 |
dennis
Junior Member Posts: 7 Joined: Jun 2004 Reputation: 0 |
2010-05-24 20:18
Post: #24
Like this?
PHP Code: import socket, threading, thread, sys, asyncore, xbmc, xbmcguiAll I get is "'module' object has no attribute 'abortRequested'", probably because I'm not on the right version?
(This post was last modified: 2010-05-24 20:27 by dennis.)
|
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2010-05-24 22:22
Post: #25
OT: sorry
elupus since your in those files would you consider this patch http://trac.xbmc.org/ticket/9290 or a variant to fix the issue described in the ticket or http://forum.xbmc.org/showthread.php?tid=70349&highlight=python |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2010-05-24 22:25
Post: #26
dennis print xbmc.abortRequested works for me.
|
| find quote |