2006-10-09, 01:14 AM
Remco Wrote:My idea for making it "extensible" is working with plugins for the viewer-plugin: We define an interface-class. Each extension (e.g. a CNN-parser) is a seperate dll that implements that class. The viewer-plugin looks in a directory for plugin-plugin-dll's and shows a name per dll to the user. When the user selects this name, the viewer, gets the URL's by getting data from the class. At that moment, that plugin-plugin gets the data from the website (e.g. CNN) and parses it to URL's that are returned to the viewer-plugin.So, what you describe is a completely new plugin. It's not clear to me (from your description) how this would interoperate, integrate or share resources with the UbuStream plugin. You don't mention the issues I raised in my previous post.
I hope my explanation is clear. I made a little prototype in GB-PVR and i'm sure this will work.
Quote:I'd like to give my idea a try. Ubu, is it possible you share the source-code for your plugin with me. Then i'll try to extend it with a plugin-structure.Unfortunately, much of the code for UbuStream is shared with another (non GB-PVR related) proprietary product, UbuRemote, so I am unable to publish the source. If there are specific techniques you are interested in, I might be able to help. But, if you are using the approach you outline, I'm not sure how the UbuStream code would be relevant. As I said in my previous post, I'd be willing to create a "custom" version of the UbuStreamCmd.exe component so you could provide support for alternate media players (and open up the possibility of support for MVP users).
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
).
). I've got this working with a pls format stream which is triggered by making a request to an url. I save the stream to a temp file and then import it. It would be fairly easy to add the option of calling an .exe to create the temp file instead. The CNN plugin (or "mini-plugins" in general) would be responsible for storing any user filtering preferences for the data placed in the file ("Only pick streams from these sections", "only pick streams newer than this time", or whatever).
). You will notice a few minor changes to file format and naming standards (sorry :o). Thanks, btw, for all your help in turning this from a vague notion to a concrete reality in such a short time.