Another quick question (I know again
) about jmarshall explanation on setResolvedUrl():
jmarshall Wrote:Nope. It's this scenario:
1. You give us a list of videos, but the URLs of those videos need to be resolved directly before playback, not on listing (eg they use a URL which times out after a while, or some cookie, or require quite a lot of processing to determine the real URL).
2. Thus, you instead provide the URL of the video as a link back to your plugin (with isFolder set to false).
3. When the user clicks on a file XBMC calls your plugin.
4. Your plugin then figures out the real URL of the video and calls setResolvedUrl().
5. XBMC plays the real URL.
In your example we are talking about video, it would be very similar with music or picture, we would have XBMC player player the media.
But in case of a program what would happen?
Does it makes sense to use setResolvedUrl()?
It makes sense to set the isFolder to false and call the plugin in order to process what we want, but in which case (for a program plugin) it would make sens to use setResolvedUrl()?
I am asking since I am currently working on a program plugin anf I have this type of scenario.