Scripting Changes between Dharm and Eden affect Plugins?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jfcarroll Offline
Team-XBMC Developer
Posts: 393
Joined: Dec 2006
Reputation: 2
Location: Philadelphia area, US
Post: #11
This was fixed yesterday. addControls and removeControls were added to address exactly what you're talking about here.

I understand the use of the guilock but ideally it shouldn't exist at all, let alone the ability to manipulate it from Python. The single biggest source of deadlocks in the codebase has been contention between the python GIL and the graphics lock (which is one of the reasons we moved to the new codegenerated engine - it completely isolates the python and C-locking sides so that they don't overlap at all).

The stubs are still there so scripts that used it wouldn't break with a compilation/runtime failure. That's not to say they will work exactly the same way between Dharma and Eden.

I'm not sure who wrote the PseudoTV script but personally it's one of my favorites also. It's also a great debug tool because it's so brittle (it actually has callback order dependencies, which are not guaranteed, that the author probably doesn't even know about - so if PseudoTV still works after a major overhaul, the python API is probably still backward compatible).
find quote
Post Reply