How to add feature request for ED2K Link support

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

Moderator: Moderators

megalodon_67
Posts: 1
Joined: 2003-02-12 09:55

How to add feature request for ED2K Link support

Post by megalodon_67 » 2003-02-12 10:11

Hey folks,

if DC++ would accept and support ED2K links just as emule or overnet it would be the optimal filesharing tool!! :lol:

Therefore just tried to insert an feature request but was not able to. I can see and browse the features but cannot insert one!

thanks for your feedback
mega

sarf
Posts: 382
Joined: 2003-01-24 10:43
Location: Sweden

Re: How to add feature request for ED2K Link support

Post by sarf » 2003-02-12 20:53

megalodon_67 wrote:If DC++ would accept and support ED2K links just as eMule or overnet it would be the optimal filesharing tool!

Perhaps. What is an ED2K link? How does one use it, both as a programmer and a user? Give links - don't expect people to either know what you are talking about or care enough to go digging out the information themselves. <bzzzt> <Search Complete>

Alright, an ED2K link is a URI, with certain data in it, mainly the type, name, size and checksum of some sort. Here's a http link (due to phpBB not recognizing URLs for URLs) to such a file snatched from ShareReactor :
http://www.sharereactor.com/download.php?id=70317

Enough information from me. Next time you have to provide for yourself, Mr. Prehistoric Creature.

megalodon_67 wrote:Therefore just tried to insert an feature request but was not able to. I can see and browse the features but cannot insert one!

I guess only certain people are able to insert feature requests - probably persons that are authenticated somehow. Contact arnetheduck about this if you care deeply enough.

Anyone feeling up to fiddling away with a piece of code to insert an ED2K link into DC++? It just requires some adaptation of my earlier code to add a specific file or a specific directory as well as adding ed2k URL handling to arnetheduck's fine code... If no one else does feel up to it, I'll probably add this myself. Beware, the code will be large, bloated and ugly. It'll probably stink, too, or just maybe decide to spit you in the face.

Sarf
---
Beware of a tall dark man with a spoon up his nose.

sandos
Posts: 186
Joined: 2003-01-05 15:16

Re: How to add feature request for ED2K Link support

Post by sandos » 2003-02-13 05:11

sarf wrote:
megalodon_67 wrote:If DC++ would accept and support ED2K links just as eMule or overnet it would be the optimal filesharing tool!

Perhaps. What is an ED2K link? How does one use it, both as a programmer and a user? Give links - don't expect people to either know what you are talking about or care enough to go digging out the information themselves. <bzzzt> <Search Complete>

Alright, an ED2K link is a URI, with certain data in it, mainly the type, name, size and checksum of some sort. Here's a http link (due to phpBB not recognizing URLs for URLs) to such a file snatched from ShareReactor :
http://www.sharereactor.com/download.php?id=70317

Enough information from me. Next time you have to provide for yourself, Mr. Prehistoric Creature.

megalodon_67 wrote:Therefore just tried to insert an feature request but was not able to. I can see and browse the features but cannot insert one!

I guess only certain people are able to insert feature requests - probably persons that are authenticated somehow. Contact arnetheduck about this if you care deeply enough.

Anyone feeling up to fiddling away with a piece of code to insert an ED2K link into DC++? It just requires some adaptation of my earlier code to add a specific file or a specific directory as well as adding ed2k URL handling to arnetheduck's fine code... If no one else does feel up to it, I'll probably add this myself. Beware, the code will be large, bloated and ugly. It'll probably stink, too, or just maybe decide to spit you in the face.

Sarf
---
Beware of a tall dark man with a spoon up his nose.


Uh, so you would just ignore the hash-part? I thought that was like the meaning with ED2K links. =)

cologic
Programmer
Posts: 337
Joined: 2003-01-06 18:32

Post by cologic » 2003-02-13 05:23

ED2k links would more or less seem to suggest hash support, being that most of an eDonkey URL consists of the "checksum" sarf pointed out. (It's an MD4 hash, of a list of MD4 hashes of 9MB segments, a sort of two-level hash tree.) I suppose one could search with just filename and size, though. *shrug*

sarf
Posts: 382
Joined: 2003-01-24 10:43
Location: Sweden

Re: How to add feature request for ED2K Link support

Post by sarf » 2003-02-13 15:21

sandos wrote:Uh, so you would just ignore the hash-part? I thought that was like the meaning with ED2K links. =)

Of course it is. It is just that there are nothing wrong with immediately supporting ED2K links, and adding hashing support later on.
An add-on need not be complete, it only needs to lead further towards the goal.

Sarf
---
We are sorry, you have reached an imaginary number. Please rotate your phone ninety degrees and try again.

phazer
Posts: 2
Joined: 2003-02-25 15:53

Post by phazer » 2003-02-25 15:56

While you are talking about hashes, why not add support for sig2dat at the same time ? (the hashes used by kazaa etc). Full source etc can be found at sig2dat

sarf
Posts: 382
Joined: 2003-01-24 10:43
Location: Sweden

Post by sarf » 2003-02-28 15:44

phazer wrote:While you are talking about hashes, why not add support for sig2dat at the same time ? (the hashes used by kazaa etc).
[snip]

Because adding immediate support for ED2K links would be useful in and of itself. The code for supporting hashes and such could be put in later on, but the ability to click a link and have DC++ add it to its download list would be good, too.

Let's do it one step of a time.

Sarf
---
Art is dangerous

phazer
Posts: 2
Joined: 2003-02-25 15:53

Post by phazer » 2003-02-28 17:16

sarf wrote:Because adding immediate
.
.
.
Let's do it one step of a time.


Well, they are eccentially the same thing, only they way they hash differs. I meant while you're at it you might as well go with support for the kazaa quick links as well, not go stright away and implement the hashes.

A kazaa quick link looks like this:

<a href="sig2dat:///|File:yaddayadda|Length:208668672 Bytes,203778KB|UUHash:=TJ2IgIPKyJFpgQsoa2ZpkC2RQAw=|">yaddayadda</a>

while a ed2k of the same file looks like this:
<a href="ed2k://|file|yaddayadda|208668672|d58ff5f222ff779f4190ee68656318a3|/">yaddayadda</a>

sarf
Posts: 382
Joined: 2003-01-24 10:43
Location: Sweden

Post by sarf » 2003-03-03 16:39

phazer wrote:[snip]
I meant while you're at it you might as well go with support for the kazaa quick links as well, not go straight away and implement the hashes.

Oh. Ah... I see what you mean. Yeah, there's no reason not to add them too.

Sarf
---
He who marries the Spirit of his Age, soon becomes a widower.

ender
Posts: 224
Joined: 2003-01-03 22:47

Post by ender » 2003-03-03 17:17

The filename part is not important at all in ed2k: links - you can copy a link from the Sharereactor, change the filename and put that in eDonkey, and it will download the same file (actually that's what I often do, since newest linux version of eDonkey doesn't like spaces in the filenames).

sarf
Posts: 382
Joined: 2003-01-24 10:43
Location: Sweden

Post by sarf » 2003-03-04 09:18

But the filename/size part can still be used by DC++ as it is and it will be useful since most people who download stuff use the same name.
I just meant that we can use the links as things stand, and if people get used to using DC++ to download their ShareReactor files, so much the better.

Sarf
---
Thou shalt not misspell thine neurotransmitters.

Who is online

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