2009-01-17, 21:42
I'm working on a xbmc plugin for http://watch.ctv.ca. I've gotten things functional, I'm just trying to work out some convenience issues to improve the Wife Acceptance Factor. There are two issues I'm trying to resolve:
1) I want to add a list item that when selected will play a series of streams. I have the list of streams, and I'm writing them into a temporary STRM file, but when I set a list item to point to that temporary STRM, it just shows me the contents as a list, and lets me pick one to play. I want it to play the playlist, not show its contents. How can I do this? I don't know if you can assign a builtin command to a listitem.
2) I want to set the default view mode for a folder. eg: when I get to the directory level that lists all the episodes of a show, I want it to default to 'Media Info 2' mode. What is the python command to do this?
1) I want to add a list item that when selected will play a series of streams. I have the list of streams, and I'm writing them into a temporary STRM file, but when I set a list item to point to that temporary STRM, it just shows me the contents as a list, and lets me pick one to play. I want it to play the playlist, not show its contents. How can I do this? I don't know if you can assign a builtin command to a listitem.
2) I want to set the default view mode for a folder. eg: when I get to the directory level that lists all the episodes of a show, I want it to default to 'Media Info 2' mode. What is the python command to do this?