gtorrent / gtorrent-core

Core library of gTorrent which handles everything but UI/UX
GNU General Public License v3.0
39 stars 12 forks source link

Save session state #22

Closed fuyukaidesu closed 10 years ago

fuyukaidesu commented 10 years ago

Issue by nyanpasu Thursday Jul 17, 2014 at 14:38 GMT Originally opened as https://github.com/gtorrent/gTorrent-legacy/issues/69


Similar to #59, but not exactly the same.

This feature offers the ability to store the current list of torrents and their statuses/properties preferably in gTorrent's own home directory and load them again the next time gTorrent is run.

This feature should still work if gTorrent is closed due to unexpected crashes, else an angry mob will lynch us.

fuyukaidesu commented 10 years ago

Comment by benwaffle Thursday Jul 17, 2014 at 15:09 GMT


Libtorrent::session::{load_state(), save_state()}

Then read/write to file On Jul 17, 2014 10:38 AM, "nyanpasu" notifications@github.com wrote:

Similar to #59 https://github.com/gtorrent/gTorrent/issues/59, but not exactly the same.

This feature offers the ability to store the current list of torrents and their statuses/properties preferably in gTorrent's own home directory and load them again the next time gTorrent is run.

This feature should still work if gTorrent is closed due to unexpected crashes, else an angry mob will lynch us.

— Reply to this email directly or view it on GitHub https://github.com/gtorrent/gTorrent/issues/69.

fuyukaidesu commented 10 years ago

Comment by truNEET Thursday Jul 17, 2014 at 19:01 GMT


Working on this one.

fuyukaidesu commented 10 years ago

Comment by truNEET Friday Jul 18, 2014 at 19:05 GMT


It works, wip/session