Thread
:
STARDICT Dictionary
View Single Post
daperezg
2011-03-17 , 14:21
Posts: 131 | Thanked: 36 times | Joined on Dec 2009 @ Spain
#
2
I have trying with
dbus-send
, and different music files and I found the following things:
-I can play music mp3 songs.
-I can't play .mp3 (from WyabdcRealPeopleTTS)
-I can't play .wav (from WyabdcRealPeopleTTS)
I did the test using the command:
dbus-send --dest=com.nokia.osso_media_server --print-reply /com/nokia/osso_media_server
com.nokia.osso_media_server.music.play_media
string:file://media/mmc1/musicfile.mp3
The WyabdcRealPeopleTTS files are very small and short duration, for example:
abandonment.mp3 (2,14 KB) 0:00:01 16kbps, 11KHz
sterilization.wav (12,7 KB) 0:00:01 88kbps, 8bit, 11KHz
Download
WyabdcRealPeopleTTS/2.1.0/
If you have knowledge about
dbus-send
and say which parameter could be proper for these files, I will check and I will my results here.
If anyone is interested in see the code inside
/usr/bin/stardict-wav-play.sh
:
>>>
#!/bin/sh
if [ $# != 1 ]; then
exit 1
fi
run-standalone.sh dbus-send --dest=com.nokia.osso_media_server --print-reply \
/com/nokia/osso_media_server \
com.nokia.osso_media_server.music.play_media \
string:file://$1
Quote & Reply
|
daperezg
View Public Profile
Send a private message to daperezg
Find all posts by daperezg