hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Displaying audio hooks and filenames...A question....

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary
View previous topic :: View next topic  
Author Message
gearscout



Joined: 18 Apr 2005
Posts: 22
Location: Atlanta, GA

PostPosted: Sun Jun 05, 2005 6:51 pm    Post subject: Displaying audio hooks and filenames...A question.... Reply with quote

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
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Fri Jun 10, 2005 4:10 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
gearscout



Joined: 18 Apr 2005
Posts: 22
Location: Atlanta, GA

PostPosted: Fri Jun 10, 2005 9:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Sat Jun 11, 2005 1:01 am    Post subject: Reply with quote

Goodie! Have fun!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group