How is rtcontrol aware of fields? #66
-
Or to put it another way, can I use non-aware fields with rtcontrol? Let's say I want to cull out some torrents I've been seeing a while that have plenty of other seeders. From what I can tell, the number of seeders/leechers isn't a piece of info I normally have access to. Can I define new fields for rtcontrol awareness or am I stuck? FWIW, I know I can write a script. But the main question is of interest to me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yep, you can use custom fields to do that, this page has an example of what you're probably looking for with the All of the core fields are actually defined in a similar manner, if that helps to understand things: https://github.com/kannibalox/pyrosimple/blob/main/src/pyrosimple/torrent/engine.py#L333 |
Beta Was this translation helpful? Give feedback.
This is a simple
config.py
that would get you what you're looking for: