Hi 2010/4/9 praveen koduru <[email protected]>
> This also not working. whereas I am able ot open browser and other > applications except mediaplayer. > Any suggestions or way to debug. > You could try using dbus-monitor to see what's going on. Put it in the background and forward it's output to some file. dbus-monitor > debugfile.txt & When you're done bring it back up and terminate it fg [ctrl+c] Notice that the dbus-monitor produces quite alot of output. Otherwise if you're executing the command as user it should work. At least I'm out of ideas. -Timo > > -Praveen Koduru > > On Fri, Apr 9, 2010 at 12:10 PM, Timo Härkönen > <[email protected]>wrote: > >> 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
