![]() It is also valid to pass no commands at all to d.multicall2, but all you get from thatĭ.state = ‹hash› ≫ bool (0 or 1) d.state_changed = ‹hash› ≫ value ‹timestamp› d.state_counter = ‹hash› ≫ value ‹count› d.is_open = ‹hash› ≫ bool (0 or 1) d.is_active = ‹hash› ≫ bool (0 or 1) To hold all the returned data serialized to XML. Make sure you set a big enough value for _limit If you request a lot of attribute values on all items, Only calling the commands for items that match it. ![]() d.name).ĭ.multicall.filtered is only available in rTorrent-PS,Īnd evaluates the predicate condition as a filter for each item, Typically, the given commands either just have a side effect (e.g. ![]() Or default when the view is omitted or empty.ĭownload_list always just returns a list of the contained infohashes.ĭ.multicall2 iterates over all items in view and calls the given commands on each,Īssembling the results of those calls in a row per item. These commands iterate over the content of a given view, ![]() ‘d.multicall.filtered’ is rTorrent-PS 1.1+ onlyĭ.multicall2 = ‹view›, ] ≫ list of lists of results ‹rows of results› d.multicall.filtered = ‹view›, ‹predicate›, ] ≫ same as 'multicall2' download_list = ‹view› ≫ list of strings ‹info hashes› d.multicall2 d.multicall.filtered download_list See the hint at the start of this chapter regarding the (sometimes implicit) target argument. The following are similar, but incomplete resources:ĭownload Items and Attributes ¶ d.* commands ¶
0 Comments
Leave a Reply. |