[maemo-developers] Launching mediaplayer from command line in N900
From: praveen koduru prawin1111 at gmail.comDate: Fri Apr 9 11:43:39 EEST 2010
- Previous message: Launching mediaplayer from command line in N900
- Next message: Launching mediaplayer from command line in N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This also not working. whereas I am able ot open browser and other applications except mediaplayer. Any suggestions or way to debug. -Praveen Koduru On Fri, Apr 9, 2010 at 12:10 PM, Timo Härkönen <timop.harkonen at gmail.com>wrote: > Hi > > 2010/4/9 praveen koduru <prawin1111 at gmail.com> > >> 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 <timop.harkonen at gmail.com >> > wrote: >> >>> Hi >>> >>> 2010/4/9 praveen koduru <prawin1111 at gmail.com> >>> >>> 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 >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100409/05afec94/attachment.htm>
- Previous message: Launching mediaplayer from command line in N900
- Next message: Launching mediaplayer from command line in N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]