![]() |
Command line MediaPlayer launch without opening any file.
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 |
Re: Command line MediaPlayer launch without opening any file.
button wear and tear and battery consumption is a fact of life with the n900. krrk krrrk krrk arrrhhh! :P
|
Re: Command line MediaPlayer launch without opening any file.
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 :) |
Re: Command line MediaPlayer launch without opening any file.
hoarh! :D
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. |
Re: Command line MediaPlayer launch without opening any file.
Quote:
Is there a way to open a video and are there any special options that can be done with Mediaplayer using the command line? |
Re: Command line MediaPlayer launch without opening any file.
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. |
All times are GMT. The time now is 04:07. |
vBulletin® Version 3.8.8