2012-09-27, 02:17
The answer to this may be very easy. I tried searching, but could not get this. Looking at other codes did not help me either.
Here is a scenario. In an addon, say we list a bunch of url using addLink procedure. Example
http://flv1.flv
http://flv2.flv
http://flv2.flv
This plays fine. I want another link at the bottom which says,
"Play All Links"
I have a procedure that can handle that using a playlist. My question is how do I add that text. addLink does not take a mode value and also does not define the item as folder.
The default click action invokes the dvd player. Rather, I want my procedure to be fired when the last item is clicked. Instead of addLink, I tried using addDir procedure to place that item.
In that case the procedure fires. But it keeps on repeating once you try to shut down the playback. I guess if can somehow tell it to move up one level in the directory, that may solve it.
I just don't know how.
Thanks.
Here is a scenario. In an addon, say we list a bunch of url using addLink procedure. Example
http://flv1.flv
http://flv2.flv
http://flv2.flv
This plays fine. I want another link at the bottom which says,
"Play All Links"
I have a procedure that can handle that using a playlist. My question is how do I add that text. addLink does not take a mode value and also does not define the item as folder.
The default click action invokes the dvd player. Rather, I want my procedure to be fired when the last item is clicked. Instead of addLink, I tried using addDir procedure to place that item.
In that case the procedure fires. But it keeps on repeating once you try to shut down the playback. I guess if can somehow tell it to move up one level in the directory, that may solve it.
I just don't know how.
Thanks.