View Single Post
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#73
Originally Posted by R4z8r View Post
Now is my problem that I also want to start the mediaplayer and play a song automatically as well. When I try to start the media player via xterminal/script it just never comes up( only comes up when I press on "Mediaplayer" on my desktop or inside my menu for some reason ). Does anyone have experience with this?
This is because mediaplayer is already loaded I think. Instead of calling mediaplayer with a file, you might want to try a dbus call (from the wiki):

Code:
dbus-send --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file:///$1"
 

The Following User Says Thank You to paulkoan For This Useful Post: