2009-10-23, 02:47
I am using the multiimage control for a slide show on a window with some other stuff (the weather, rss scrolling feed). It basically looks like the home screen PM3 without the header and menu options.
I am now trying to duplicate this same behaviour but have a playlist with mixed content (avi, flv and image files). The playlist will be coming from a webservice under my control so I can deal with whatever I need there. The videos would not be shown full screen - they'd stay in the smaller viewport, similar to the one that continues to play after exiting out of full screen view.
I'm thinking about looping through the playlist, and add the appropriate control, then fill it with the correct image or video. I haven't quite made it to the video part, but toying around with the idea today. I thought I'd ask here just in case I'm going down the complete wrong path.
The other part that I was thinking is probably possible is to link a skin file to a xbmcgui.Window class. Right now I am almost rebuilding the images with multiple
self.addControl(xbmcgui.ControlImage ...
type calls to mimic what I had already done in an xml file. I'm sure I'm missing something fundamental there, but haven't read or come across how to do that in reading through a few of the downloadable scripts - they all seem to start off with a blank canvas.
I am now trying to duplicate this same behaviour but have a playlist with mixed content (avi, flv and image files). The playlist will be coming from a webservice under my control so I can deal with whatever I need there. The videos would not be shown full screen - they'd stay in the smaller viewport, similar to the one that continues to play after exiting out of full screen view.
I'm thinking about looping through the playlist, and add the appropriate control, then fill it with the correct image or video. I haven't quite made it to the video part, but toying around with the idea today. I thought I'd ask here just in case I'm going down the complete wrong path.
The other part that I was thinking is probably possible is to link a skin file to a xbmcgui.Window class. Right now I am almost rebuilding the images with multiple
self.addControl(xbmcgui.ControlImage ...
type calls to mimic what I had already done in an xml file. I'm sure I'm missing something fundamental there, but haven't read or come across how to do that in reading through a few of the downloadable scripts - they all seem to start off with a blank canvas.