ardar / flowlib

Automatically exported from code.google.com/p/flowlib
1 stars 0 forks source link

Unable to start seach by tth #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Join hub
2. Start search by tth

What is the expected output? 
Search should start. 
What do you see instead?
Nothing happens.

What version of the product are you using? 
FlowLib SVN r478

On what operating system?
Windows 7 7022

Call Stack? 
no any exceptions

Please provide any additional information below.
I dont know how to properly create SearchInfo to seach by tth.

following code works:
SearchInfo si= new SearchInfo();
si.Set(SearchInfo.SEARCH, "TTH:" + di.ContentInfo[ContentInfo.TTH]);
si.Set(SearchInfo.EXTENTION, "$1");

next code do not work:
SearchInfo si= new SearchInfo();
si.Set(SearchInfo.TYPE,"2");
si.Set(SearchInfo.SEARCH,downloadItem.ContentInfo[ContentInfo.TTH]);

Original issue reported on code.google.com by hackw...@gmail.com on 2 Mar 2009 at 4:05

GoogleCodeExporter commented 8 years ago
SVN updated.
Last code part should work.
Please download and comment :)

Original comment by blomman84 on 14 Mar 2009 at 8:35

GoogleCodeExporter commented 8 years ago
Now last code part works. Thank you.

Original comment by hackw...@gmail.com on 16 Mar 2009 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by blomman84 on 16 Mar 2009 at 6:21