[maemo-developers] [maemo-developers] libosso with python
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Tue Jun 27 17:44:15 EEST 2006
- Previous message: [maemo-developers] libosso with python
- Next message: [maemo-developers] libosso with python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2006-06-27 at 14:15, ext Tmm Laine wrote: > Hello, > > New tutorial shows very well how to use libosso remote procedure calls with > python too, thats great! Now only problem is is there anywhere list of > applications, their default rpc-methods or other rpc-methods they provide? I think all the public (meant for applications, not for the system components) DBus interfaces are wrapper to library functions and you should not need to use DBus messages directly. (Libosso and Libossomime wrap some of the DBus interfaces.) > For example how do I know with which parameters I invoke say video-players > method to play some file? Should I try to find these with xterm in device > itself or is there some list made? You should use Libossomime and not DBus directly. Look at osso-mime.h (provided by libossomime-dev). There are osso_mime_open_* functions that you could use to open the video in Video Player. > Another question related is how do I exactly use those MIME types with > python so I could invoke rpc-methods of video-player with some files as > parameters. I don't know about the Python bindings, but if you use libossomime, you should only need to pass the file name. BR; Kimmo > > Thanks for help in advance. > > -Toni Laine > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] libosso with python
- Next message: [maemo-developers] libosso with python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]