On this class we implement the method CreateSettingsView , that returns all settings that will be displayed on Options dialog.
This creates an array of Controls that are the visualization of the extension settings. The Options dialog uses this array to populate the TreeView of options and display the setting on the right panel. Below we can see a screenshot of Web Spider:. When an download of an file is complete download state is changed to DownloaderState.
Ended , the spider checks if it's an HTML document comparing the mime type and then lookup for all references such hyperlinks, images, frames and iframes. The following code is executed to add all page references to the download list:. Like many MyDownloader features, video downloads is just another extension. Setting this property, when ResourceLocation class calls GetProtocolProvider , the created protocol provider will be the type stored in ProtocolProviderType , and not the provider registed on ProtocolProviderFactory.
In this way we can replace the default protocol provider, and avoid that the HTML content be saved, and force to download the video from web site. After registering, we need to discover which video handler we need to use and also, set the correct protocol provider on the ProtocolProviderType property of ResourceLocation.
This is done at "New Video Download" window, check Below :. This process have three main steps:. All common things are on BaseVideoDownloader class. This class retrieves the HTML and starts to download the video. This tool, which is a command line tool, is called by MyDownloader with the FLV filename and conversion arguments.
This is another very cool feature of MyDownloder. The feature is based on the article Extracting files from a remote ZIP archive and the updated version by Unruled Boy see comments on the end of the article. The Auto-Downloads is activated or deactivated through the "two arrows" button in MyDownloader toolbar. When this feature is enabled, MyDownloader starts to work as a batch downloader, accomplishing each download on download queue.
The maximum number of downloads is configured in the "Options" dialog. Another nice thing is that the user is able to choose at which times the "Auto-Downloads" will work and is also possible to limit the bandwidth usage at specific times.
This is done easily by selecting the "time grid":. When some of these events were raised, the extension starts the download respecting the maximum number of simultaneous downloads:. Browser integration is a critical feature for any download manager.
Below we can see the IE displaying an empty page and perceive that the download button is disabled, the second image shows IE displaying a YouTube video and the download button became enabled:. Depending on the network condition, this may increase the download speed. First steps: If more than 6 threads are needed, open about:config, and increase the values of "network. Make sure there is enough disk space. The files need to be first downloaded to Firefox's internal storage.
This extension does not collect or upload your data. The required permissions are explained in Privacy and Permissions. How are you enjoying Multithreaded Download Manager?
0コメント