Skip to content

[py] [force_reannounce] how to pass flags from python? #7334

Answered by arvidn
laur89 asked this question in Q&A
Discussion options

You must be logged in to vote

you can see the binding definition here: https://github.com/arvidn/libtorrent/blob/RC_2_0/bindings/python/src/torrent_handle.cpp#L536
the parameters are named, so I believe you should be able to get away with just specifying flags=

The flag value is defined here: https://github.com/arvidn/libtorrent/blob/RC_2_0/bindings/python/src/torrent_handle.cpp#L651

and should be accessible to python as lt.reannounce_flags_t.ignore_min_interval

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@laur89
Comment options

@arvidn
Comment options

Answer selected by laur89
Comment options

You must be logged in to vote
2 replies
@arvidn
Comment options

@laur89
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants