xmcnuggetx
May 14th, 2009, 08:55 AM
doesn't appear to be working
http://developer.boxee.tv/python-api-reference/#List
ameno
May 14th, 2009, 12:39 PM
Check your mc.py in your Boxee python library. Some versions (including the latest windows version), do not have that function. Instead they have GetFocused, which returns the actual list item. The jacked up part is, you either have one or the other, but not both, so, in order to make it work for both, you need to do a try/catch situation. It looks like this:
list = mc.GetWindow(14000).GetList(111)
listitems = list.GetItems()
try:
n = list.GetFocusedItem()
listitem = listitems[n]
except Exception, e:
listitem = list.GetFocused()
This is a massively critical bug, and you should always, for now, use this try catch statement if you want to use the mc library and GetFocused in your app. Otherwise, you can be assured that your app will absolutely not work on all machines and will only work on some.
riegersn
June 20th, 2009, 11:41 AM
doesn't appear to be working
http://developer.boxee.tv/python-api-reference/#List
If you still having an issue with this please let us know and paste some code.
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.