Notices


Reply
Thread Tools
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#1
Hi,

Anyone knows how I can launch MP (media player) using command line?
I saw a dbus command that requires a file to open (not what I want).
Tried simply doing /usr/bin/mediaplayer as root & user but both won't work.

I have another MP widget holding on to MP's current playlist. Love it lots coz it still holds the playlist across reboots. Am scripting some stuff to auto bring up MP on certain events.

So, if possible, I'd love to just do /usr/bin/mediaplayer.
Searched around but could not find the answer...

Any ideas please?

Best regards,

bozoid
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#2
button wear and tear and battery consumption is a fact of life with the n900. krrk krrrk krrk arrrhhh! :P
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#3
dbus-send --print-reply --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"mediaplayer"

for the benefit of those looking for an answer, here is a generic solution that'll work for any application that hildon recognizes. you don't even need to know the path of the binary
 

The Following 2 Users Say Thank You to droll For This Useful Post:
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#4
hoarh!

dbus-send --session --type=method_call --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.open_mp_now_playing

that's another one i found from open media player thread.
 

The Following User Says Thank You to bozoid For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#5
Originally Posted by bozoid View Post
hoarh!

dbus-send --session --type=method_call --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.open_mp_now_playing

that's another one i found from open media player thread.
Thanks. This works on Maemo 4 as well.

Is there a way to open a video and are there any special options that can be done with Mediaplayer using the command line?
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#6
I'm asking because I would like to try and open a video file and reduce the fps and lower the audio quality while it's streaming if possible.

Cheers.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:41.