2013-01-20, 16:06
Hi,
How do you bring up the video information dialog with arbitrary metadata?
Currently I have a directory with ListItems. Each list item represents a video that does not contain any metadata.
The user has the ability through a context-menu-item to retrieve the metadata.
On selecting the context menu item the code in the below function is executed.
Based on the url the metadata is retrieved from the internet.
I am stuck on the next step which is either to attached the metadata to the ListItem which I dont think I can do or to bring up the video dialog with the metadata which I hope I can do?
*Edit The perfect solution would be if in list object passed to listItem.setInfo(...) I could set the metadata refresh callback function. Though from looking at the api I dont think this is an option.
How do you bring up the video information dialog with arbitrary metadata?
Currently I have a directory with ListItems. Each list item represents a video that does not contain any metadata.
The user has the ability through a context-menu-item to retrieve the metadata.
On selecting the context menu item the code in the below function is executed.
Based on the url the metadata is retrieved from the internet.
I am stuck on the next step which is either to attached the metadata to the ListItem which I dont think I can do or to bring up the video dialog with the metadata which I hope I can do?
PHP Code:
def ShowInformation(video_type, title, year, img):
meta = create_meta(video_type, title, year, img,True) #Get Meta_Data
#Display video information dialog???
*Edit The perfect solution would be if in list object passed to listItem.setInfo(...) I could set the metadata refresh callback function. Though from looking at the api I dont think this is an option.