pawamoy / aria2p

Command-line tool and library to interact with an aria2c daemon process with JSON-RPC.
https://pawamoy.github.io/aria2p
ISC License
490 stars 93 forks source link

support resuming in progress downloads between daemon restarts #107

Closed netllama closed 2 years ago

netllama commented 2 years ago

Is your feature request related to a problem? Please describe. Any time the aria2 daemon restarts (reboot, etc) any downloads in progress are lost. There doesn't seem to be any way to resume from what was running prior to the restart, which is frustrating

Describe the solution you'd like aria2p could keep track of what was running, and automatically restart it

pawamoy commented 2 years ago

You might want to take a look at aria2 sessions: https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-save-session Please reopen if this does not solve your issue.

netllama commented 2 years ago

Thanks, but that doesn't solve my issue unless I'm missing how aria2p integrates with session files?

netllama commented 2 years ago

@pawamoy also, i don't think I have the ability to reopen this ticket once its been closed.

pawamoy commented 2 years ago

Well, aria2p is really just an interface showing what aria2c is doing. If you configure your aria2c daemon to save sessions and restore them on restart, then aria2p should show your previously saved downloads. Does it make more sense?

netllama commented 2 years ago

Ok, I understand now. thanks for the help!