Hi 2010/4/9 praveen koduru <[email protected]>
> Hi Timo, > > thanks for the quick reply. > > But I am not able to open the mediaplayer on N900. > dbus-send --dest=com.nokia.mediaplayer /com/nokia/mediaplayer > com.nokia.mediaplayer.mime_open string:file:///$1 > > dbus-send --dest=com.nokia.mediaplayer /com/nokia/mediaplayer > com.nokia.mediaplayer.mime_open string:" > file:///home/user/MyDocs/.sounds/Total Fantasy.mp3" > Try dbus-send --session --print-reply ----type=method_call --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayler.mime.open string:"file:///path/to/your/file.mp3" BR -Timo > > doesnt gave errror,, but media player is not launched. > > -Praveen > > > > On Fri, Apr 9, 2010 at 11:08 AM, Timo Härkönen > <[email protected]>wrote: > >> Hi >> >> 2010/4/9 praveen koduru <[email protected]> >> >> Hi >>> >>> Can anybody suggest me how to launch media player from command line? >>> I want to play an mp3/mp4 file through N900 media player. How can I do >>> that thorugh command line? >>> Do I need to send any dbus command to the /usr/bin/mediaplayer?? >>> >> >> Have a look at >> http://wiki.maemo.org/Phone_control#Open_file_in_media_player >> >> BR >> >> -Timo >> >> >> >
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
