Remote Control: Support links in a file
|Target version:||040 - FarfarAway|
1) Please also add a command to read all of the text in a file into LinkGrabber (and do the normal LG processing)
This could be "/action/add/file/%X%", where X is the path to the file (absolute or relative to the JD directory). This would also do the normal search for passwords.
If no package name has been specified, the file name would be the package name. All files read from the text file would be in the same package.
2) Please add a command to read all of the (Newline separated lines) in a text file into LG with no filtering for known hosts and decrypters or LinkGrabber filtering.
This could be "/action/add/linksfile/%X%", where X is the path to the file (absolute or relative to the JD directory).
If no package name has been specified, the file name would be the package name.
All files read from the text file would be in the same package.
3) Please add a command to read all of the data in an XML file (the same format as generated by "/get/grabber/list").
3a) Eventually, this format should include the package name, package download directory, package extraction directory, package password list, Link Host code, Link filename, Link URLs (encoded as in CNL2 for protected links), List of downloaded Chunks (ranges downloaded for this link), Checksum, Length, Status (does not include current action), and Comment.
We should be able to save all downloads to an XML file and reconstitute the Links List part of the Database from the file.
The same format as a Package, but contained in a Package). An assembly represents an archive (to extract or merge). An Assembly may contain Links and Mirrors.
3c) Mirrors (collections of links). Each Mirror may have an entry indicating that all of the links are known to be identical (no differences in the binary format of the file - Same Length and Checksum). Mirrors may contain Links and Mirrors (the outer mirror will not have the "identical" entry.
4) Reading and Writing an XML file for all settings. This would allow backup and restore of user settings independent of the Links List. Sample entities include:
<JDSettings> ... </JDSettings> (may contain Section's or Set's, no entries)
<Section "name"="the name"> ... </Section>
</Set "name"="the name", "type"=[int, string, hex], "value"="the value>