Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
other
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2005 at 03:26 UTC
Updated:
30 Aug 2005 at 13:44 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| bittorrent.module | 7.17 KB | mathiaz |
Comments
Comment #1
gordon commentedThis is really a new contribution.
I would recommend reading Contributing to Drupal and putting this into the contribution list.
Comment #2
adrian commentedWhy not use the files table ?
And wouldn't a tracker be cool. =)
Comment #3
pbull commentedI've written a BitTorrent tracker module for Drupal and we're currently testing it internally. Although it needs work in some areas (the file upload code is a bit rough) it's pretty functionally complete and performs well. I'd like to get it out for review in the next couple of days (although I'm out of the office tomorrow and so might have to wait until tomorrow night because I'd like to clean up some of the code.)
Would be great to combine efforts on this.
-pete.
Comment #4
chx commentedDo not put this into core. I do not want Drupal be entangled in the P2P legal stuff. It's not that I believe that P2P is illegal -- what I believe in this is absolutely irrevelant.
Comment #5
Bèr Kessels commentedPut this in as a contributed module, please.
Comment #6
mathiaz commentedI'm sorry for filling that issue under the wrong component. I wasn't able to find where contributed modules should go.
I just wanted to know if someone else was working on a bittorrent module.
To digibike : I'm interested to see your bittorrent code. I'm planning to work on a tracker too. We should combine our effort in this area.