This is a cross-post from TMO (sorry for the repetition). I am trying to find a way to play a playlist through Harmattan's built-in/stock music player (music-suite) via commandline or dbus or Qt. I have a playlist named "Test" in the music suite. I have tried using Harmattan's MeeGo Touch Framework API (MusicSuiteService). But I couldn't find what is a valid input for the playPlaylist method from harmattan documentation or anywhere else.
I tried these commands.
Result: No Dbus error. Launches a blank page with an error prompt "Can't connect to server"Code:dbus-send --type=method_call --print-reply --dest=com.nokia.maemo.meegotouch.MusicSuiteService / com.nokia.maemo.meegotouch.MusicSuiteInterface.playPlaylist array:string:'Test'
Result: No Dbus error. Launches a blank page with an error prompt "You can't play these types of files on this device"Code:dbus-send --type=method_call --print-reply --dest=com.nokia.maemo.meegotouch.MusicSuiteService / com.nokia.maemo.meegotouch.MusicSuiteInterface.playPlaylist array:string:'urn:uuid:3abfeac6-c314-4aa4-9d8e-bd573b0bc1d1'
Can anyone let me know what is the correct format for playPlaylist method? Is there any other way of launching the music suite and playing a playlist (custom or "Recently Added" or "Most Played" or "All Songs") from command-line/Dbus/another-application?

Reply With Quote


