[drupal-devel] [feature] Bittorrent node type

mathiaz drupal-devel at drupal.org
Tue Aug 30 03:26:58 UTC 2005


Issue status update for 
http://drupal.org/node/29985
Post a follow up: 
http://drupal.org/project/comments/add/29985

 Project:      Drupal
 Version:      4.6.3
 Component:    other
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  mathiaz
 Updated by:   mathiaz
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/bittorrent.module (7.17 KB)

This is simple node type that handles bittorrent files.
Users can upload bittorrent files (created via btmaketorrent.py for
example). The module stores the uploaded file and the original filename
into the drupal database.
The bittorrent file can then be published and downloaded by users.


The module needs its own table to store the filename and the file (as a
blob) :
CREATE TABLE `bittorrent_metainfo` (
       `nid` int(10) unsigned NOT NULL default '0',
       `filename` varchar(255) NOT NULL,
       `metainfo_info` MEDIUMBLOB NOT NULL,
       PRIMARY KEY  (`nid`)
    )


Let me know what you think about this simple module.




mathiaz




More information about the drupal-devel mailing list