[gst-devel] Source and sink for (My)SQL

David Parker david at neongoat.com
Mon May 19 09:56:14 CEST 2003


On Mon, 19 May 2003 18:42:10 +0200, Magnus Bergman wrote:

> I think I've already implemented the features I need by now (only some bug
> hunting left). But I wondered if there were any features anybody else wanted
> from such an element. Perhaps search songs on a certain criteria (music
> style for example) and construct a playlist from that. I may not implement
> every suggested feature, but at least have them in mind. And I also think it
> is important it gets implemented in a consistent gstreamish kind of way.

If something like this gets usage outside of your specific application, I
would recommend writing the element to use the libdbi Database Abstraction
Layer from http://libdbi.sourceforge.net/. That way the database type could be
one of the element properties, and the same code would work for a number of
different DB servers. I think that such a "dbsrc/dbsink" plugin should be
limited to providing a data store, like filesrc/sink, rather than integrating
playlist construction stuff as well. It would probably make the plugin too 
complicated and would be better suited to the host application.

David

P.S. disclaimer: i hack on libdbi ;)

-------
David Parker <david at neongoat.com>
Neon Goat Productions
http://www.neongoat.com
0xF90FFFE5 / F362 51F7 6D51 85EB AF68 75B9 D29B 1AFC F90F FFE5
-------





More information about the gstreamer-devel mailing list