CzDC forum

CzDC English Forum => Features => Topic started by: Babylonrocker on 25 January, 2004, 02:00:40

Title: more audio formats, what about ape?
Post by: Babylonrocker on 25 January, 2004, 02:00:40
Hi and thanks for this lovely client :)

One small wish i got:

Could  u add the ape audio format to the audio search plz?
(www.monkeysaudio.com in case u don
Title: more audio formats, what about ape?
Post by: Jep on 25 January, 2004, 10:12:17
The thing is.. you cannot just add new formats to search, because every client have to support this new format. But it would work between modified clients. (maybe DC++ creator could add these.. dunno)
Title: more audio formats, what about ape?
Post by: norti on 25 January, 2004, 15:26:41
// These ones we can look up as ints (4 bytes...)...

static const char* typeAudio[] = { ".mp3", ".mp2", ".mid", ".wav", ".ogg", ".wma", ".669", ".aac", ".aif", ".amf", ".ams", ".ape", ".dbm", ".dmf", ".dsm", ".far", ".mdl", ".med", ".mod", ".mol", ".mp1", ".mp4", ".mpa", ".mpc", ".mpp", ".mtm", ".nst", ".okt", ".psm", ".ptm", ".rmi", ".s3m", ".stm", ".ult", ".umx", ".wow" };
static const char* typeCompressed[] = { ".zip", ".ace", ".rar", ".arj", ".hqx", ".lha", ".sea", ".tar", ".tgz", ".uc2" };
static const char* typeIso[] = { ".bin", ".bwa", ".bwi", ".bws", ".bwt", ".ccd", ".cue", ".dmg", ".dmz", ".img", ".iso", ".mdf", ".mds", ".nrg", ".sub" };
static const char* typeDocument[] = { ".htm", ".doc", ".txt", ".nfo", ".pdf", ".chm" };
static const char* typeExecutable[] = { ".exe", ".com" };
static const char* typePicture[] = { ".jpg", ".gif", ".png", ".eps", ".img", ".pct", ".psp", ".pic", ".tif", ".rle", ".bmp", ".pcx", ".jpe", ".dcx", ".emf", ".ico", ".psd", ".tga", ".wmf", ".xif" };
static const char* typeVideo[] = { ".mpg", ".mov", ".asf", ".avi", ".pxp", ".wmv", ".ogm", ".m1v", ".m2v", ".mpe", ".mps", ".mpv", ".ram", ".vob" };

static const string type2Audio[] = { ".au", ".it", ".ra", ".xm", ".aiff", ".flac", ".midi", };
static const string type2Compressed[] = { ".gz" };
static const string type2Iso[] = { ".toast" };
static const string type2Picture[] = { ".ai", ".ps", ".pict", ".jpeg", ".tiff" };
static const string type2Video[] = { ".rm", ".divx", ".mpeg", ".mp1v", ".mp2v", ".mpv1", ".mpv2", ".qt", ".rv", ".vivo" };


I did some "research" on this :) and collected some useful types from other p2p clients (like eMule) and will make this feature-modification patch to the dc++ development forum. I hope arnie will put thisw in the client :)
Title: more audio formats, what about ape?
Post by: PPK on 25 January, 2004, 20:42:16
QuoteI did some "research" on this :) and collected some useful types from other p2p clients (like eMule) and will make this feature-modification patch to the dc++ development forum. I hope arnie will put thisw in the client :)
Great work. I add it all to new version  ;)