Opened 2 years ago

Closed 4 months ago

#2120 closed enhancement (fixed)

Allow I2PSnark to save and recall state between sessions

Reported by: Reportage Owned by: zzz
Priority: minor Milestone: 0.9.42
Component: apps/i2psnark Version: 0.9.32
Keywords: i2psnark, sessions, resume-on-startup Cc:
Parent Tickets: Sensitive: no

Description

Currently I2PSnark offers the option to autostart torrents at the beginning of the session. Offering the option to save and resume a session in the state it was prior to shutdown would offer much more fine-grained control.

A user may have a number of torrents loaded, some stopped, some seeding, some downloading, and wish to have that state preserved when the router/I2PSnark is shutdown. Allowing the option to save the torrent session state on shutdown and to resume on startup would therefore be helpful.

Subtickets

#1635: i2psnark: autostart sometimes "forgets" to start some torrentscloseddg
#1686: i2psnark: Autostart starts all torrentscloseddg

Change History (5)

comment:1 Changed 2 years ago by zzz

Status: newopen

See #1635 and #1686 result of incomplete/buggy fix for autostart #766 by dg. He gave up and so did I trying to understand what he did. Not looked at in 2 years.

comment:2 Changed 5 months ago by zzz

Milestone: undecided0.9.42
Sensitive: unset

comment:3 Changed 4 months ago by zzz

Add a subticket #1635 (i2psnark: autostart sometimes "forgets" to start some torrents).

comment:4 Changed 4 months ago by zzz

Add a subticket #1686 (i2psnark: Autostart starts all torrents).

comment:5 Changed 4 months ago by zzz

Resolution: fixed
Status: openclosed

Fixed to restore original intent of autostart as described in the child tickets - that autostart will start only the torrents running when the router was last shut down. Individual torrent config files will now be updated if autostart is enabled. Removed dup call to startTorrent()
In 769d369611e0e17d7ec860f626241eaa51975ab7 to be 0.9.41-7

Note: See TracTickets for help on using tickets.