expose more of torrent_status in python binding
This commit is contained in:
parent
cf15453388
commit
372385bcb8
|
@ -106,6 +106,12 @@ void bind_torrent_status()
|
|||
.def_readonly("queue_position", &torrent_status::queue_position)
|
||||
.def_readonly("need_save_resume", &torrent_status::need_save_resume)
|
||||
.def_readonly("ip_filter_applies", &torrent_status::ip_filter_applies)
|
||||
.def_readonly("moving_storage", &torrent_status::moving_storage)
|
||||
.def_readonly("is_loaded", &torrent_status::is_loaded)
|
||||
.def_readonly("announcing_to_trackers", &torrent_status::announcing_to_trackers)
|
||||
.def_readonly("announcing_to_lsd", &torrent_status::announcing_to_lsd)
|
||||
.def_readonly("announcing_to_dht", &torrent_status::announcing_to_dht)
|
||||
.def_readonly("info_hash", &torrent_status::info_hash)
|
||||
;
|
||||
|
||||
enum_<torrent_status::state_t>("states")
|
||||
|
|
Loading…
Reference in New Issue