Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
[+] Separate announce.php and scrape.php to (announce.php and announce_core.php) and (scrape.php and scrape_core.php)
[*] Upload torrents as a CCK field (BitTorrent widget)
[Code (without DB struct change)]
Bug: Ability to override/append our announce url using "announce-list"
Fature: Patch (override with our announce url) torrent-file at the moment of its download (but not at moment of its upload)
Bug: when a new tracker added to active torrent in the client (uTorrent 1.8.2). Client doesn't send 'started' event...
Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: "SELECT DISTINCT COUNT(btau.ip) FROM ..." -> "SELECT COUNT(DISTINCT btau.ip) FROM ..."
Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: do not set passkey status (bt_message exits from script) - swap "db_query(...);" and "bt_message(..., BITTORRENT_MESSAGE_ERROR);"
Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: to many bugs - rewritten
Bug: unknown user_load() in announce.php ( see http://drupal.org/node/413464 )
Port: Validation of uploading torrent-file ( see "bt_torrent_widget_upload_validators" )
[database structure changes]
set "bt_tracker_users.passkey" type to "char(40)"
== Code (without DB struct change) ==
[DONE]Bug: Ability to override/append our announce url using "announce-list"
[DONE]Fature: Patch (override with our announce url) torrent-file at the moment of its download (but not at moment of its upload)
[DONE]Bug: when a new tracker added to active torrent in the client (uTorrent 1.8.2). Client doesn't send 'started' event...
[DONE]Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: "SELECT DISTINCT COUNT(btau.ip) FROM ..." -> "SELECT COUNT(DISTINCT btau.ip) FROM ..."
[DONE]Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: do not set passkey status (bt_message exits from script) - swap "db_query(...);" and "bt_message(..., BITTORRENT_MESSAGE_ERROR);"
[DONE]Bug: announce.php - Check if there are two peers (distinct IP) downloading with the same passkey: to many bugs - rewritten
[DONE]Bug: unknown user_load() in announce.php ( see http://drupal.org/node/413464 )
[DONE]Port: Validation of uploading torrent-file ( see "bt_torrent_widget_upload_validators" )
== database structure changes ==
[DONE]set "bt_tracker_users.passkey" type to "char(40)"
[DONE]set "bt_torrents.info_hash", "bt_tracker_active_users.info_hash" type to "char(40)" (from "varchar(255)")
[DONE]set "bt_tracker_active_users.peer_id" type to "char(40)"
This is the latest beta release of the BitTorrent module. This release has a number of new features, major bug fixes, and performance enhancements. Editing a torrent node no longer causes issues (it also doesn't delete the metadata from the database anymore). For performance scrape requests (and statistics on the site) can be served from a cache of statistics causing little load on the server when requesting them or the data can be pulled directly from the active users table where the information (should be) up to date.
This is the beta for my Summer of Code project. It includes web-seeding, torrent tracking, and views integration. Please feel free to file any bugs you may find.