Re: DBus interface





2008/8/8 Alexandre <airmind gmail com>
Hi,

As I was developing the iPod interface that I sent earlier, I got into a problem with the DBus interface. I use it to get a list of Dataproviders supporting each kind of file ("file/video" for video, "notes" for notes, etc...), but I noticed something was missing, which are files and folder, because they're converted into audio, video, notes, etc, so they dont output the required format, but a conversion is availiable that does.
I was thinking about getting a list of Conversions available, and adding every dataprovider that supports a type that can be converted into a supported type.
However, the DBus interface doesnt expose Converters.
Could it be added to the DBus interface? Or do you think there is a better alternative?

I think something like that sounds sensible. Extending the dbus interface is fine.

For inspiration, have a look at Knowledge.py, and the function in module manager that returns sensible sync pairs (list_preconfigured_conduits). This could be extended to also check if the necessary conversion is available, or a similar implementation could be added that just checks compatible synchronizations by looking at availalbe conversions.

John
 


Thanks,
Alexandre

_______________________________________________
Conduit-list mailing list
Conduit-list gnome org
http://mail.gnome.org/mailman/listinfo/conduit-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]