Skip to content

Commit

Permalink
set last_active on lifecycle events, so small items don't fall throug…
Browse files Browse the repository at this point in the history
…h the cracks
  • Loading branch information
pyroscope committed May 24, 2014
1 parent aa011b8 commit e580adc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyrocore/data/config/rtorrent-0.8.6.rc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ system.method.set_key = event.download.resumed,activations,"pyro.activations.app
system.method.insert = d.last_active, simple|value, "if=$d.peers_connected=,$cat=$system.time=,$d.custom=last_active"
schedule = update_last_active,24,42,"d.multicall=started,\"branch=$d.peers_connected=,\\\"d.custom.set=last_active,$cat=$system.time=\\\"\""
system.method.insert = d.last_active.print, simple|private, "print=\"$cat={$convert.date=$d.last_active=, \\\" \\\", $convert.time=$d.last_active=}\""
system.method.set_key = event.download.resumed,last_active,"d.set_custom=last_active,$cat=$system.time= ;d.save_session="
system.method.set_key = event.download.finished,last_active,"d.set_custom=last_active,$cat=$system.time= ;d.save_session="

# UI/VIEW: Default view for filtering results (bound to '^' key in rT-PS)
view_add = rtcontrol
Expand Down

0 comments on commit e580adc

Please sign in to comment.