GSOC status

Downloads other than bittorrent can have multiple files now, metalink uses this, I did a file-model for that.

So now you can

  • rename files of a download while you download
  • change the download location while you download
  • add/remove mirrors and change the number of connections to the mirrors while you download (bittorrent not supported yet)
  • automatic search for supported checksums (e.g. md5, sha1 etc.) –> that is an own plugin
  • manually adding checksums to a file
  • automatic verification of the downloads (no gui yet)
  • I guess most work went into datasourcefactory to make all of the things mentioned above possible. Also much I added so far is only used by some plugins or is not shown in the gui, but I’ll change that in the future.

    The following screenshots (is there something more interesting? O_o) show some gui-parts I did, feedback on them is welcome and appreciated!

    transfersettings

    The transfersettings showing all files of the download. NOTE: The checkboxes do nothing at the moment

    I used a metalink I manually created in the example above (the greyed out parts were there before) – most metalinks are for large files and I got sick of downloading a cd-image every time I test something 😀 – the metalink-plugin uses some of the xml-tags of the metalink-specification, though many are still missing.

    Btw. I renamed “Current Destination” to “Download Destination” to make it more clear. There you can move downloads to different place. The folder structure (if there was one created) is not removed though as the user might have added files to these folders. Maybe I’ll make make that more clever in the future (most likely after GSOC), like a check if there are any non-download files in these directories.

    mirrors

    You can manually add/remove mirrors or change the number of simultanous connections to mirror

    rename

    Rename files whenever you want

    after rename

    Choose a useful ending 😉

    verification

    Manually add verification information or verify the file if you want

    In fact I did also lots of testing and found many errors in my code, depending on the changes some testing was useless a few commits later – but I like if everything is compileable and works mor or less. So I probably downloaded more than 20 GB just for testing. That does not mean that there are no bugs or problems though e.g. downloading is slow atm.

    PS.: git rules
    PPS.: git rebase -i rules even more
    PPPS.: Thanks for the help you gave me on the irc channels!

    Advertisements

    Tags: , ,

    4 Responses to “GSOC status”

    1. Heller Says:

      Hi, and thank you for your work 🙂

      one thing I miss from the “open torrent” dialog box from KTorrent is a filter bar at the top of the file list (usefull when looking for a particular file in a huge torrent). A column with the size and the ability to sort by size would be usefull too, and some buttons to “check all/uncheck all”…

      Maybe it would be nice to hide this extra features by default and to have a small “show…” at the right ?

      • mat69 Says:

        As mentioned the checkboxes do nothing atm – just to make sure that no one is disappointed if that feature does not make it in till the end of GSOC.

        But when I implement the feature to choose files for download I’ll probably make an own dialog that would only consist a TreeView with the files and the things you mention that would pop up at the beginning of the download.

        I want to make that sortable as well and also want to add the filesizes. What I’m not sure though is if a directory should always show 0 as filesize or the sum of the sizes of the files inside the directory – this is only a displaying issue it would be no problem to implement showing percentage of download (though I fear this would take too many resources for many files) with both ways.

        Btw. do you know a legal torrent that contains many files? I’d need that for testing purposes and lost the torrent I found once (contained ~1000 files).

    2. Urs Wolfer Says:

      Thanks for the nice blog post! Really good work.

    3. vojacik Says:

      If you want, take a look at FatRat download manager possibilities. Maybe you’ll find some useful inspiration.

      http://fatrat.dolezel.info/

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s


    %d bloggers like this: