Active Topics

 


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#71
Try this instead:
/usr/bin/dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"file://<again, file name with trailing slash>
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#72
What does "with trailing slash" mean? Put an extra "/" after the file name?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#73
Oops, I mean it as in /media/mmc2/File etc so there should really be three slashes, one being included as the path to your file.

As for trailing, time for me to get an dictionary >.<...
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#74
Originally Posted by qwerty12 View Post
Try this instead:
It worked!! Great.

Now the second part: how do I play all the songs in a directory from the command line? What I need is the same you get when you "select all" in the filemanager and then open them. It creates a list, and plays it in sequence.

Thanks a lot for your help!!

Best,
L.

EDIT: I did it the hard way, looking for all files in directory, and call like this: "...dbus.......string:<directory>/{file1,file2,file3...}"

Notice that "file://" is not necessary.

Thanks!

Last edited by luis; 2009-04-28 at 03:33.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#75
Originally Posted by luis View Post
Notice that "file://" is not necessary.
Lots of the included apps with Maemo force you to run dbus-send twice if you do not include file:// so it's a good habit to get into.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#76
Originally Posted by qwerty12 View Post
Lots of the included apps with Maemo force you to run dbus-send twice if you do not include file:// so it's a good habit to get into.
Mmm... I see... Thanks!!!!
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:30.