This isn't really an app question per se, but I'm not really sure where else to get help with it.
I'm trying to customize my Boxee installation by adding an extra button to the media action dialog - the one that pops up when you click on a media file and has buttons to play, mark watched, etc. The XML file for the dialog is boxee_media_action.xml.
I can add the button to the XML just fine, and I can get it to run a Python script, but I haven't been able to get it to reference the selected list item correctly.
In the skin XML, the data is pulled out by referencing
so I thought I would be able to access the list item in Python withCode:container(5000).ListItem
but this only gives me a script error. The error is at the GetList stage. I can use GetControl(5000) without error, but that doesn't help me get at the list item.Code:mc.GetActiveWindow().GetList(5000).GetFocusedItem()
What am I missing?


Reply With Quote
Bookmarks