Git Product home page Git Product logo

Comments (13)

ziahamza avatar ziahamza commented on July 28, 2024

awesome suggestion, never though of that! The latest commit adds basic support for this.

from webui-aria2.

robbielj avatar robbielj commented on July 28, 2024

doesn't work here.
only the first link is added.

and a small bug: pressing the plus icon will trigger a refresh of whole page at times. I think this happens when the plus icon is pressed for the first time during a session.

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

Fixed the refresh bug, before I was splitting the uris string by newline , now I have changed it to split by space or new line so it should work in both cases.

from webui-aria2.

robbielj avatar robbielj commented on July 28, 2024

still only the first link is added.

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

its adding multiple uris just fine on my machine, just for debugging open chrome or firefox, open the console (for chome F12 then console or Control+k on firefox) and run following:
console.log(d_files.active[0].files[0].uris)
do you still get only one uri?

from webui-aria2.

robbielj avatar robbielj commented on July 28, 2024

I can see more than one objects in the log. The screenshot from chrome console:

http://i.imgur.com/zYfrw.jpg

I tried to add 3 links

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

I know exactly what the confusion was, in the add uri dialog, you can add more than one uri for the SAME file, then aria2 will use those uri to increase the speed of that ONE download. Currently webui does not expose batch download uris for multiple files, I have updated the help message for this. Correct me if I am wrong.

from webui-aria2.

robbielj avatar robbielj commented on July 28, 2024

how about using a loop function to perform "addUri" behavior for every items in an uris array we input in the multi-line textfield?

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

That could indeed be done, but how would we add multiple uris for a single file, which is also very handy and can increase download speed by a major factor. I am thinking of having a big text box, clicking on + will batch add those uris for a single file and then fill in the text area again for the 2nd file and so on

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

what do you think

from webui-aria2.

robbielj avatar robbielj commented on July 28, 2024

maybe add another button for this feature? expand the text field as well but associate with different function.

a potential problem is that it is hard to distinguish.

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

This definately needs a revamp. coming as part of the next release

from webui-aria2.

ziahamza avatar ziahamza commented on July 28, 2024

add uri revamped as part of the new angular release, should be a lot better

from webui-aria2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.