44# tm_completed = time of completion
55
66method.insert = pyro.tm_started.now, simple|private,\
7- "d.custom.set=tm_started,$cat=$system.time= ; d.save_session ="
7+ "d.custom.set=tm_started,$cat=$system.time= ; d.save_resume ="
88method.insert = pyro.tm_completed.now, simple|private,\
9- "d.custom.set=tm_completed,$cat=$system.time= ; d.save_session ="
9+ "d.custom.set=tm_completed,$cat=$system.time= ; d.save_resume ="
1010
1111method.set_key = event.download.resumed, time_stamp,\
1212 "branch=d.custom=tm_started,false=,pyro.tm_started.now="
1313method.set_key = event.download.inserted_new, time_stamp,\
14- "d.custom.set=tm_loaded,$cat=$system.time= ; d.save_session ="
14+ "d.custom.set=tm_loaded,$cat=$system.time= ; d.save_resume ="
1515method.set_key = event.download.finished, time_stamp,\
1616 "pyro.tm_completed.now="
1717method.set_key = event.download.hash_done,time_stamp,\
@@ -20,7 +20,7 @@ method.set_key = event.download.hash_done,time_stamp,\
2020
2121# EVENTS: Activation intervals
2222method.insert = pyro.activations.append, simple|private,\
23- "d.custom.set=activations,\"$cat=$d.custom=activations,$argument.0=,$system.time=\" ;d.save_full_session ="
23+ "d.custom.set=activations,\"$cat=$d.custom=activations,$argument.0=,$system.time=\" ; d.save_resume ="
2424method.set_key = event.download.paused, activations, "pyro.activations.append=P"
2525method.set_key = event.download.resumed, activations, "pyro.activations.append=R"
2626
@@ -29,15 +29,15 @@ method.set_key = event.download.resumed, activations, "pyro.activations.append=R
2929method.insert = pyro._tm_downloaded_stat, simple|private,\
3030 "execute.capture=sh,-c,\"echo -n \$(stat -c %Y \\\"$1\\\")\",getDownloadedDate,(d.tied_to_file)"
3131method.insert = pyro._tm_downloaded_init, simple|private,\
32- "d.custom.set=tm_downloaded,(cat,(pyro._tm_downloaded_stat)); d.save_full_session ="
32+ "d.custom.set=tm_downloaded,(cat,(pyro._tm_downloaded_stat)); d.save_resume ="
3333method.insert = d.timestamp.downloaded, simple, "d.custom=tm_downloaded"
3434method.set_key = event.download.inserted_new, set_downloaded_date, ((pyro._tm_downloaded_init))
3535
3636
3737# SCHEDULE: Set "last_active" custom field for items that have peers
3838method.insert = d.last_active, simple, "if=$d.peers_connected=,$cat=$system.time=,$d.custom=last_active"
3939method.insert = d.last_active.update, simple|private,\
40- "d.custom.set=last_active,$cat=$system.time= ; branch=argument.0=,d.save_session ="
40+ "d.custom.set=last_active,$cat=$system.time= ; branch=argument.0=,d.save_resume ="
4141
4242schedule2 = pyro_update_last_active, 24, 42,\
4343 "d.multicall2=started,\"branch=$d.peers_connected=,d.last_active.update=\""
0 commit comments