diff --git a/docs/manual.html b/docs/manual.html index b06321690..72a6d564a 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -92,202 +92,204 @@
+++void remap_files(file_storage const& f); ++
Remaps the file storage to a new file layout. This can be used to, for instance, +download all data in a torrent to a single file, or to a number of fixed size +sector aligned files, regardless of the number and sizes of the files in the torrent.
+The new specified file_storage must have the exact same size as the current one.
+@@ -2027,6 +2043,7 @@ struct torrent_handle enum deadline_flags { alert_when_available = 1 }; void set_piece_deadline(int index, time_duration deadline, int flags = 0) const; + void piece_availability(std::vector<int>& avail) const; void piece_priority(int index, int priority) const; int piece_priority(int index) const; void prioritize_pieces(std::vector<int> const& pieces) const; @@ -2099,6 +2116,21 @@ as calling read_piece() forIn the python binding for this function, the deadline is the number of milliseconds as an integer.
+++void piece_availability(std::vector<int>& avail) const; ++
Fills the specified std::vector<int> with the availability for each +piece in this torrent. libtorrent does not keep track of availability for +seeds, so if the torrent is seeding the availability for all pieces is +reported as 0.
+The piece availability is the number of peers that we are connected that has +advertized having a particular piece. This is the information that libtorrent +uses in order to prefer picking rare pieces.
+@@ -2160,6 +2192,9 @@ sets the priorities of all the pieces in the torrent based on the vector.Whenever a file priority is changed, all other piece priorities are reset to match the file priorities. In order to maintain sepcial priorities for particular pieces, piece_priority has to be called again for those pieces.
+You cannot set the file priorities on a torrent that does not yet +have metadata or a torrent that is a seed. file_priority(int, int) and +prioritize_files() are both no-ops for such torrents.
num_uploads is the number of unchoked peers in this torrent.
num_connections is the number of peer connections this torrent has, including half-open connections that hasn't completed the bittorrent handshake yet. This is -always <= num_peers.
+always >= num_peers.uploads_limit is the set limit of upload slots (unchoked peers) for this torrent.
connections_limit is the set limit of number of connections for this torrent.
storage_mode is one of storage_mode_allocate, storage_mode_sparse or @@ -3541,7 +3576,7 @@ struct session_settings int inactivity_timeout; int unchoke_interval; int optimistic_unchoke_interval; - address announce_ip; + std::string announce_ip; int num_want; int initial_picker_threshold; int allowed_fast_set_size; @@ -3723,7 +3758,7 @@ longer than what it takes for TCP to ramp up to it's max rate.
each optimistic unchoke. On this timer, the currently optimistically unchoked peer will change.announce_ip is the ip address passed along to trackers as the &ip= parameter. -If left as the default (default constructed), that parameter is ommited.
+If left as the default (an empty string), that parameter is omitted.num_want is the number of peers we want from each tracker request. It defines what is sent as the &num_want= parameter to the tracker.
initial_picker_threshold specifies the number of pieces we need before we diff --git a/docs/projects.html b/docs/projects.html index e72e2fee1..c58341f2f 100644 --- a/docs/projects.html +++ b/docs/projects.html @@ -40,6 +40,13 @@ project listed here, let + +
tonidoplug
+Tonidoplug is a tiny, low-power, low-cost home server and +NAS device powered by Tonido software that allows you to access +your apps, files, music and media from anywhere.
+qBittorrent
qBittorrent is a QT bittorrent diff --git a/docs/projects.rst b/docs/projects.rst index 90a88d2c1..975613c43 100644 --- a/docs/projects.rst +++ b/docs/projects.rst @@ -21,6 +21,21 @@ project listed here, let me_ know. .. _firetorrent: http://www.fireaddons.com/ +.. container:: entry + + .. image:: tonidoplug.png + :align: right + :target: Tonidoplug_ + + **tonidoplug** + + Tonidoplug_ is a tiny, low-power, low-cost home server and + NAS device powered by Tonido software that allows you to access + your apps, files, music and media from anywhere. + + .. _Tonidoplug: http://www.tonidoplug.com/ + + .. container:: entry .. image:: qbittorrent_thumb.jpg diff --git a/docs/tonidoplug.png b/docs/tonidoplug.png new file mode 100644 index 000000000..1e30d7c81 Binary files /dev/null and b/docs/tonidoplug.png differ