aMule Forum
English => Feature requests => Topic started by: theCAS on January 30, 2006, 01:08:51 PM
-
Hello everybody, since I installed it on my monitorless server I find myself using amulecmd for controlling it.
I think amulecmd can use some features to bring it at the same level of emuleweb.
1) current file list
As it is now it displays little info on a single line, using a multiline approach allows you to display more info without making it messy.
Eg
> 1. filename [43,3%] *
> 2/95 + 7
> Hash: A653483484625274736237465473733
> Progress: D11335d200344D6746374D34767777D
> Last seen complete: 12/12/2005 23:10:54
1.: Download number. (easier than writing the hash ;) )
*: comments for this file have been found.
+7: sources found but asked for another file
Progress: Progress, current download and water level:
D: Chunk downloaded
d: chunk in download
0-9: number of source for the chunk found 0: none 9: 100 sources
Some new commands:
showcomments : shows comments for the file
showqr : shows queue rating for the file
Eg.
> place 0-100: 32 [23%] sources...
> place 100-250: 47 [40%] sources...
2) search and download (interactive mode)
Text in italic is what you type.
Search for something:
> search
> Search mode ([Kad],ED2k,Global): Kad
> Keywords: debian sarge
> Extension [Any]: iso rar
> Min sources [Any]:
> Search started...
Display search status
> show search
> 1. debian sarge, 220 results, in progress...
> show search
> 1. debian sarge, 240 results, done.
Display search results
> displayresults 1
> 1. debian_sarge_r1.iso, 230 sources, size: 640MB
> 2. debian_sarge_r0a.iso, 10 sources, size: 636MB
Download from search results
> download 1,1 (first result from search 1)
> Downloading debian_sarge_r1.iso...
Second search
> search
> Search mode ([Kad],ED2k,Global):
> Keywords: amule
> Extension [Any]:
> Min sources [Any]:
> Search started...
> show search
> 1. debian sarge, 240 results, done.
> 2. amule, 20 sources, in progress...
Removing search results
> removesearch 1
> show search
> 1. amule, 20 sources, done.
-
See my response about amulecmd in
http://forum.amule.org/thread.php?threadid=9032&sid=
-
I find the ideas interesting, however I'm against 2 things:
a) multiline: too much space asted
2) search with interactive prompt: I don't like it. better to define a syntax on the command itself.
-
@lfroen
I read the thread, in fact I tried to reduce every command to a single parameter.
Now I understand that the problem must be structural but if amuleweb can manage multiple parameters, can amulecmd be modified to do the same?
Right now the only way to initiate a download in amulecmd is using an ed2k link, don't you think that that is a limitation?
@kry
With the new data a single line for each file won't probably be enough, isn't better to insert proper line breaks?
About the interactive mode, can't both method be implemented?
Eg.
> show ul
> (upload list)
> show
> Display ([DL],UL,Servers): UL
> (upload list)
The best of both worlds, it can be even faster if you need defaults.
-
I don't see where the interactive mode is any improvement over the single line commands.
-
Well, may I add my tiny vote for this request too )
One of two things needed for normal remote control of amule is:
1. Complete amulecmd, with all the features (to use in scripts by calling it).
2. Complete specifications on current remote control protocol (to make third-party implementations without having need to read all the code).
Well, either one would be quite benefical )))
-
Uh... the protocol is documented on docs/
-
And what about TAG list and request/response subformats? (Sorry if I didn't find them) (using ECCodes.h and ExternalConn.cpp is not a good way to go)...
-
That's more like some work for whoever wants to do it :)
*points at userbase*