Actually, i am not entirely sure. I think it was because the plugin reads the tracker status, time stamps from the log, isn't that why it's importing the log?mhertz wrote:Nice
For me it did remember resizing and placement of columns, but only tested it one time and with limited adjustments done - I added two new columns and changed placement of some and resized one of the columns much bigger, and after a restart, the changes where persistent.
Btw, I saw you posted in the addtorrentcheck plugin thread, and i'm sorry for giving you badly worded directions possibly before, but just for others not f***'ing there deluge2 up, because of me, then the file to replace is:
"C:\Program Files\Deluge2\Lib\site-packages\deluge\core\torrentmanager.py"
(I just meant the file to replace where in core folder, but not to overwrite the core folder. Also, it's ending in .py and not .pyc in deluge2).
Lastly, are you sure you need to enable logging for getting the plugin to work? I mean of course it's nice to see progress and how it goes, but for the functionality to work then i'm doubting it's needed, but could be wrong of course
Code: Select all
import time
import logging
from deluge.log import LOG as loglog.info("[AddTrackerCheck](%s)(%s) : %s", torrent_id, time.time() - tid_status['time_added'], tid_status['tracker_status'])