Log in

View Full Version : ListItem_SetSize not working


rjanja
May 26th, 2010, 12:25 PM
Boxee 64bit 0.9.21.11487M

I'm populating a ListItem and trying to set its size, but _mc.ListItem_SetSize() throws a TypeError exception because I'm not passing an 'int64_t' -- however, as far as I can tell and from what I read there are no fixed-width integers in Python.


item = mc.ListItem( mc.ListItem.MEDIA_VIDEO_CLIP )
item.SetSize(500000)



10:20:35 T:139851265448208 M:6604001280 NOTICE: item.SetSize(500000)
10:20:35 T:139851265448208 M:6604001280 NOTICE: File "/opt/boxee/system/python/local/mc.py", line 877, in SetSize
10:20:35 T:139851265448208 M:6604001280 NOTICE: return _mc.ListItem_SetSize(*args)
10:20:35 T:139851265448208 M:6604001280 NOTICE: TypeError
10:20:35 T:139851265448208 M:6604001280 NOTICE: :
10:20:35 T:139851265448208 M:6604001280 NOTICE: in method 'ListItem_SetSize', argument 2 of type 'int64_t'

riegersn
May 26th, 2010, 03:40 PM
this was resolved and will be in the next version. http://jira.boxee.tv/browse/BOXEE-4074

rjanja
May 26th, 2010, 08:20 PM
Fixed for 3 weeks now? What's with the slow build process? I'd like to know I'm using the latest API instead of, you know, wasting time reporting bugs (in 2 places now) that've already been fixed internally.

Seriously I like boxee but at every step the documentation has been poor, the api a hack, and the testing painstaking. Not one to comment without a purpose; my (mostly) constructive feedback is in the google spreadsheet.

It makes me wonder how many others get halfway through the development of an app before hitting walls such as this one.