View previous topic :: View next topic |
Author |
Message |
gearscout
Joined: 18 Apr 2005 Posts: 22 Location: Atlanta, GA
|
Posted: Sun Jun 05, 2005 6:51 pm Post subject: Displaying audio hooks and filenames...A question.... |
|
|
When my VX7000 phone uploads to the directory, the photos and videos are correctly identified...and sorted as such.
But I'm having a problem with the audio, QCP files.
When I send a midi file with extension .mid -- all's well.
But when a Qualcomm Pure Voice style with extension .qcp is sent -- it always comes out as .bin
MMS_Diary may recognize the audio Part_1.mid -- but it always names a QCP file Part_1.bin
How do I get it to recognize the .qcp file and preserve the extension?
CONFIG.PHP already has entered...
/* Displaying audio */
".wav" => "display_audio_hook",
".mp3" => "display_audio_hook",
".mid" => "display_audio_hook",
".qcp" => "display_audio_hook",
...and yes, the icon is displayed. But the file's still named .bin in the case of .qcp
Yes, I'm confused!
Thanks! |
|
Back to top |
|
|
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Fri Jun 10, 2005 4:10 am Post subject: |
|
|
Well, there is a mapping from content type to extension too. Add any new content type you want to the array called typeToExtension in send.php |
|
Back to top |
|
|
gearscout
Joined: 18 Apr 2005 Posts: 22 Location: Atlanta, GA
|
Posted: Fri Jun 10, 2005 9:43 pm Post subject: |
|
|
That was it. I had forgotten about send.php
Once that was set and .qcp was added to the audio hooks in config.php, all is working fine!
Thanks, again!!!! |
|
Back to top |
|
|
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Sat Jun 11, 2005 1:01 am Post subject: |
|
|
Goodie! Have fun! |
|
Back to top |
|
|
|