let user define what audio, compressed, document, video are

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Napro
Posts: 10
Joined: 2003-02-25 17:50

let user define what audio, compressed, document, video are

Post by Napro » 2003-02-25 17:54

ok this shouldnt be too hard. i want to c an option to let the user define what the audio, compressed, document, video, etc are.

also an option to add new ones (such as a cd image, etc)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Re: let user define what audio, compressed, document, video

Post by GargoyleMT » 2003-02-26 01:01

Napro wrote:ok this shouldnt be too hard. i want to c an option to let the user define what the audio, compressed, document, video, etc are.

also an option to add new ones (such as a cd image, etc)


Sarf answered this request (or another identical one not too long back). Yes, the extension mapping can be done per client. It's not easy to add another category, though. The type is transmitted as a byte (8 bit, #s 0-255) value, not a string. So someone else's addition category might be um, "VCards" (ie .vcf), but yours might be "Batch Files" (.bat). There's no way for clients to figure out what extensions you're trying to search for, or, in the case of additional categories, what that category means to your client.

Who is online

Users browsing this forum: Google [Bot] and 0 guests